@font-face {
    font-family: 'Poppins';
    src: url("../assets/fonts/Poppins-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url("../assets/fonts/Poppins-Bold.ttf") format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../assets/fonts/Montserrat-Regular.ttf") format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../assets/fonts/Montserrat-Bold.ttf") format('truetype');
    font-weight: 700;
}

:root {
    --color-navy: #0d1b2a;
    --color-midnight: #0a1322;
    --color-navy-light: #1a2744;
    --color-gold: #d4af37;
    --color-gold-light: #f0c14b;
    --color-amber: #f0a500;
    --color-amber-hover: #ffb347;
    --color-white: #ffffff;
    --color-light-gray: #f0f4f8;
    --color-text-dark: #1a1a1a;
    --color-text-muted: #555555;
    --shadow-soft: 0 4px 15px rgba(13, 27, 42, 0.15);
    --shadow-medium: 0 6px 25px rgba(13, 27, 42, 0.2);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.45);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-soft);
    overflow-x: hidden;
    width: 100%;
}

.header-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: var(--color-gold);
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--color-gold-light);
}

/* BURGER MENU */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

.nav-overlay {
    display: none;
}

/* MAIN CONTENT */
main {
    padding-top: 72px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    color: var(--color-white) !important;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-amber-hover), var(--color-gold-light));
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 19, 34, 0.75), rgba(10, 19, 34, 0.85)), var(--color-midnight) center/cover no-repeat;
    background-image: linear-gradient(rgba(10, 19, 34, 0.75), rgba(10, 19, 34, 0.85)), url("../assets/images/1.jpg");
    color: var(--color-white);
    padding: 2rem;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.scroll-arrow {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.scroll-arrow svg {
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* FEATURED GAME SECTION */
.featured-game-section {
    padding: 5rem 2rem;
    background: var(--color-white);
}

.section-container {
    max-width: 600px;
    margin: 0 auto;
}

.game-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.game-card.visible {
    opacity: 1;
}

.game-banner {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-navy), var(--color-gold));
}

.game-card-content {
    padding: 2rem;
}

.game-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

/* ABOUT SECTION */
.about-section {
    padding: 5rem 2rem;
    background: var(--color-light-gray);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.about-illustration img {
    max-width: 100%;
    border-radius: var(--radius-md);
}

/* REVIEWS SECTION */
.reviews-section {
    padding: 5rem 2rem;
    background: var(--color-white);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-text-dark);
}

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

.review-card {
    background: linear-gradient(145deg, var(--color-white), var(--color-light-gray));
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.15);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.3s ease;
}

.review-card.visible {
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-card p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--color-text-dark);
}

/* PARALLAX SECTION */
.parallax-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 19, 34, 0.78), rgba(10, 19, 34, 0.85)), var(--color-midnight) center/cover fixed no-repeat;
    background-image: linear-gradient(rgba(10, 19, 34, 0.78), rgba(10, 19, 34, 0.85)), url("../assets/images/2.jpg");
    color: var(--color-white);
    padding: 4rem 2rem;
}

.parallax-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.parallax-section.visible h2 {
    opacity: 1;
}

/* NEWSLETTER SECTION */
.newsletter-section {
    padding: 5rem 2rem;
    background: var(--color-light-gray);
}

.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-section h2 {
    font-size: 2rem;
    color: var(--color-text-dark);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-amber);
}

/* FAQ SECTION */
.faq-section {
    padding: 5rem 2rem;
    background: var(--color-white);
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-text-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    background: var(--color-light-gray);
    transition: var(--transition);
}

.faq-question:hover {
    background: #eee;
}

.faq-question::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-text-dark);
    border-bottom: 2px solid var(--color-text-dark);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.25rem 1.5rem;
    color: var(--color-text-muted);
}

/* CONTACT SECTION */
.contact-section {
    padding: 5rem 2rem;
    background: var(--color-light-gray);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.contact-details p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-amber);
}

/* DISCLAIMER SECTION */
.disclaimer-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    color: var(--color-white);
    overflow-x: hidden;
    max-width: 100%;
}

.disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.disclaimer-section p {
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* FOOTER */
.site-footer {
    background: var(--color-midnight);
    color: var(--color-white);
    padding: 3rem 2rem 2rem;
    overflow-x: hidden;
    max-width: 100%;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--color-white);
    opacity: 0.9;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-gold-light);
}

.footer-copyright {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* HERO CONTACT */
.hero-contact {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 19, 34, 0.75), rgba(10, 19, 34, 0.85)), var(--color-midnight) center/cover no-repeat;
    background-image: linear-gradient(rgba(10, 19, 34, 0.75), rgba(10, 19, 34, 0.85)), url("../assets/images/2.jpg");
    color: var(--color-white);
}

.hero-contact h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

/* CONTACT PAGE SECTION */
.contact-page-section {
    padding: 5rem 2rem;
    background: var(--color-light-gray);
}

.contact-page-inner {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.contact-intro {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--color-text-muted);
}

.contact-detail-item strong {
    display: block;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-amber);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.btn-contact {
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    color: var(--color-white) !important;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--color-amber-hover), var(--color-gold-light));
    box-shadow: var(--shadow-glow);
}

.contact-form-page .form-message {
    margin-bottom: 1rem;
    min-height: 1.5rem;
    font-weight: 500;
}

.contact-form-page .form-message.success {
    color: #2e7d32;
}

.nav-menu a.active,
.footer-nav a.active {
    color: var(--color-gold-light) !important;
}

/* POLICY PAGES */
.policy-page {
    padding: 4rem 2rem 5rem;
    background: var(--color-light-gray);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.policy-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    color: #444;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.policy-container h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.policy-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.policy-container h2:first-of-type {
    margin-top: 0;
}

.policy-container p {
    margin-bottom: 20px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 1.5rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

.policy-container a {
    color: var(--color-amber);
}

.policy-container a:hover {
    text-decoration: underline;
}

/* GAME PAGE */
.game-page {
    padding: 4rem 2rem 5rem;
    background: var(--color-light-gray);
}

.game-page h1 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.game-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.game-wrapper iframe {
    width: 100%;
    height: 650px;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .about-inner,
    .newsletter-inner,
    .contact-inner {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .about-inner,
    .newsletter-inner,
    .contact-inner,
    .contact-page-inner {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-page-inner {
        grid-template-columns: 1fr;
    }
    .burger-btn {
        display: flex;
    }
    .header-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    .nav-desktop {
        display: none !important;
    }
    .mobile-nav-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--color-navy);
        padding: 80px 1.5rem 2rem;
        transition: transform 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        overflow-y: auto;
        transform: translateX(100%);
    }
    .mobile-nav-panel.is-open {
        transform: translateX(0);
    }
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .nav-overlay.is-visible {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }
    .site-header {
        padding: 1rem 1.25rem;
        backdrop-filter: none;
    }
    main {
        padding-top: 72px;
    }
    body.menu-open {
        overflow: hidden;
    }
    .game-wrapper iframe {
        height: 500px;
    }
    .policy-page {
        padding: 2rem 0;
    }
    .policy-container {
        padding: 40px 1.25rem;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    .game-card-content,
    .review-card {
        padding: 1.5rem;
    }
    .btn-primary {
        padding: 0.75rem 1.5rem;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .mobile-nav-panel {
        width: 260px;
    }
    .policy-container h1 {
        font-size: 1.5rem;
    }
    .policy-container {
        padding: 30px 1rem;
    }
    .footer-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-nav a {
        font-size: 0.85rem;
    }
}
