:root {
    --color-bg-primary: #1a1a1a;
    --color-bg-secondary: #252525;
    --color-bg-tertiary: #2d2d2d;
    --color-bg-card: #1f1f1f;
    --color-text-primary: #f5f5f5;
    --color-text-secondary: #d0d0d0;
    --color-text-muted: #a0a0a0;
    --color-accent: #b8a082;
    --color-accent-hover: #c9b595;
    --color-accent-light: rgba(184, 160, 130, 0.1);
    --font-heading: 'Montserrat', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(184, 160, 130, 0.2);
}
@font-face {
    font-family: 'Montserrat';
    src: url('/font/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    min-height: 70px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-primary);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-link {
        padding: var(--spacing-sm) 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }
}


.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(37, 37, 37, 0.9) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-wrapper {
    padding-right: var(--spacing-md);
}

.hero-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-family: var(--font-body);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 90%;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: var(--color-bg-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-image-wrapper {
    position: relative;
}

.hero-feature-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    margin-top: -60px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discover-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-secondary);
}

.discover-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.discover-image-wrapper {
    position: relative;
}

.discover-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discover-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.discover-text {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text-wrapper {
    padding-left: var(--spacing-md);
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-family: var(--font-body);
}

.about-text {
    color: var(--color-text-secondary);
    line-height: 1.9;
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.age-notice {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: var(--spacing-md);
}


.games {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.game-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(184, 160, 130, 0.3);
    text-decoration: none;
    color: inherit;
}

.game-card-image {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.game-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 26, 0.7) 100%);
    z-index: 1;
}

.game-card-content {
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.game-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.game-card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.games-grid .game-card:nth-child(2) {
    margin-top: 20px;
}

.games-grid .game-card:nth-child(5) {
    margin-top: -20px;
}

.why-choose {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-secondary);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.why-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.why-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.why-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.why-choose-text-content {
    color: var(--color-text-secondary);
    line-height: 1.9;
}

.why-choose-text-content p {
    margin-bottom: var(--spacing-md);
}

.why-choose-image {
    position: relative;
}

.why-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-tertiary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.cta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
}

.cta-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.cta-text {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}


.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background-color: #2d3e2d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: #3a4a3a;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    background-color: #4a5a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top span {
    line-height: 1;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-text-wrapper {
        padding-right: 0;
    }
    
    .discover-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image-wrapper {
        margin-top: 0;
    }
    
    .about-text-wrapper {
        padding-left: 0;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .header-content {
        padding: var(--spacing-sm) 0;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 70px;
    }
    
    .hero-card {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .games-grid .game-card:nth-child(2),
    .games-grid .game-card:nth-child(5) {
        margin-top: 0;
    }
    
    .section-title-large {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .why-item {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

