/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B1874;
    --secondary-color: #8B1874;
    --accent-color: #8B1874;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #ffffff;
    --bg-light: #f8f8f8;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
        height: 55px;
        width: auto;
        transition: var(--transition);
    }

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation Styles (Desktop) */
.nav {
    display: none;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
}

.nav-list li a:hover {
    color: var(--text-light);
    background-color: rgba(139, 24, 116, 0.2);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

.nav-list li a:hover::after {
    width: 80%;
}

/* Auth Buttons */
.auth-buttons {
    display: none;
    gap: 15px;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 24, 116, 0.3);
}

.btn-register {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.btn-register:hover {
    background-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 24, 116, 0.3);
}

/* Burger Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu:hover span {
    background-color: var(--text-light);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 35px;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav-list li a:hover {
    background-color: rgba(139, 24, 116, 0.2);
    color: var(--text-light);
    padding-left: 25px;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-auth-buttons .btn {
    width: 100%;
    padding: 12px;
}

/* Main Content */
.main-content {
    margin-top: 35px;
    min-height: calc(100vh - 35px);
}

.hero {
    position: relative;
    background-image: url('../images/hero/main-bg.jpg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 15px 0;
    margin-top: 40px;
    overflow: hidden;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.hero-background {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.hero-text {
    flex: 1;
    text-align: left;
    order: 1;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 16px;
    color: white;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 24, 116, 0.3);
}

.cta-button:hover {
    background-color: #6d1259;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 24, 116, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-image {
    flex: 0 0 auto;
    width: 220px;
    max-width: 220px;
    order: 2;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.7);
}

/* Desktop Styles */
@media screen and (min-width: 768px) {
    .nav {
        display: flex;
    }

    .auth-buttons {
        display: flex;
    }

    .burger-menu {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }

    .hero-text {
        text-align: left;
        flex: 1;
        order: 1;
        padding-right: 40px;
    }

    .hero-text h1 {
        font-size: 78px;
        font-weight: 900;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
        letter-spacing: -1px;
    }

    .hero-text p {
        font-size: 20px;
        margin-left: 0;
        margin-right: 0;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .cta-button {
        padding: 22px 60px;
        font-size: 22px;
    }

    .hero-image {
        flex: 2;
        max-width: 1400px;
        order: 2;
    }
}

/* Tablet Styles */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .nav-list {
        gap: 20px;
    }

    .nav-list li a {
        font-size: 14px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .header-content {
        padding: 8px 0;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding: 10px 0;
        margin-top: 0;
        min-height: 30vh;
    }

    .hero-text h1 {
        font-size: 38px;
        font-weight: 900;
        margin-bottom: 10px;
        line-height: 1.1;
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
        letter-spacing: -0.5px;
    }

    .hero-text p {
        font-size: 18px;
        margin-bottom: 15px;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 16px;
    }

    .hero-image {
        width: 280px;
        max-width: 280px;
        height: 380px;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1.4);
    }
}

/* Categories Section Styles */
.categories-section {
    padding: 20px 0 10px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    height: 50px;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 24, 116, 0.2);
}

.category-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-item:hover .category-icon {
    transform: scale(1.1);
}

.category-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Play Now Button Link Styling */
.cta-button a {
    color: inherit;
    text-decoration: none;
}

/* Mobile Categories Styles */
@media screen and (max-width: 767px) {
    .categories-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .categories-grid {
        gap: 15px;
        max-width: 400px;
    }

    .category-item {
        padding: 12px 8px;
        min-width: 100px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .category-icon img {
        width: 32px;
        height: 32px;
    }

    .category-title {
        font-size: 12px;
    }
}

/* Slots Section Styles */
.slots-section {
    padding: 10px 0 60px 0;
    background-color: var(--bg-light);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.slot-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: #f8f8f8;
}

.slot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 24, 116, 0.2);
}

.slot-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 400/600;
    object-fit: cover;
}

/* Mobile Slots Styles */
@media screen and (max-width: 767px) {
    .slots-section {
        padding-bottom: 40px 0;
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Live Casino Section Styles */
.live-casino-section {
    padding: 20px 0 60px 0;
    background-color: var(--bg-light);
}

.live-casino-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.live-casino-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
}

.live-casino-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.live-casino-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.live-casino-item:hover img {
    transform: scale(1.05);
}

/* Mobile styles for live casino */
@media (max-width: 768px) {
    .live-casino-section {
        padding: 40px 0;
    }

    .live-casino-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Jackpot Section */
.jackpot-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.jackpot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.jackpot-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.jackpot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.jackpot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.jackpot-item:hover img {
    transform: scale(1.05);
}

/* Mobile styles for jackpot section */
@media (max-width: 768px) {
    .jackpot-section {
        padding: 40px 0;
    }

    .jackpot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Section Titles Styling */
.slots-section h2,
.live-casino-section h2,
.jackpot-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.promotions-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Promotions Section */
.promotions-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.promotion-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.promotion-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.promotion-icon img {
    width: 40px;
    height: 40px;
}

.promotion-card h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.promotion-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: #8b1874;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #a01d87;
    box-shadow: 0 5px 15px rgba(139, 24, 116, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promotion-card {
        padding: 25px;
    }
    
    .promotion-icon {
        width: 60px;
        height: 60px;
    }
    
    .promotion-icon img {
        width: 30px;
        height: 30px;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #fff;
}

.about-content h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), #B91C8C, #E91E63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(139, 24, 116, 0.3);
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #B91C8C);
    border-radius: 2px;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.about-intro p {
    font-size: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 50px 0 25px 0;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.about-content h3::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-align: justify;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-content p:last-child {
    text-align: center;
    font-size: 20px;
    margin-top: 60px;
    padding: 40px;
    background: rgba(139, 24, 116, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(139, 24, 116, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(139, 24, 116, 0.2);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(139, 24, 116, 0.2);
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.about-conclusion {
    text-align: center;
    background: rgba(139, 24, 116, 0.1);
    border-radius: 20px;
    padding: 50px 30px;
    border: 2px solid rgba(139, 24, 116, 0.3);
}

.about-conclusion h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-conclusion p {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Footer */
.footer {
    background: #0a0a1a;
    color: #fff;
    padding: 60px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 16px;
    color: #ccc;
    margin: 0;
}

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0;
}

.footer-nav a,
.footer-legal a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p,
.footer-responsible p {
    margin: 0;
    font-size: 14px;
    color: #999;
}

.footer-responsible a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-responsible a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .about-content h2 {
        font-size: 32px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-card {
        padding: 25px;
    }
    
    .about-conclusion {
        padding: 40px 20px;
    }
    
    .about-conclusion h3 {
        font-size: 26px;
    }
    
    .about-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
