:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #121212;
    --primary-yellow: #ffcc00;
    --primary-yellow-hover: #e6b800;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.games-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 span, .logo span {
    color: var(--primary-yellow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--bg-color);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.2s ease-out;
}

.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Desktop Navigation Menu */
.hamburger {
    display: none;
}

.nav-menu {
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-direction: row;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-yellow);
}

.nav-register-btn {
    background-color: var(--primary-yellow);
    color: #000 !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 800 !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
    background-color: var(--primary-yellow-hover);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-secondary);
    min-width: 200px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    display: block;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: rgba(255, 204, 0, 0.1);
    color: var(--primary-yellow);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-yellow);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-yellow);
    color: #000;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 5% 50px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 204, 0, 0.1) 0%, transparent 40%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    min-height: 150px;
}

/* Typing Animation */
.typing-text {
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass Card / Placeholders */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
}

.placeholder-icon {
    font-size: 4rem;
    font-weight: 300;
    color: var(--primary-yellow);
    opacity: 0.5;
}

/* Info Section */
.info-section {
    padding: 5rem 5%;
    background-color: var(--bg-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(255, 204, 0, 0.02);
}

.info-box h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Games Section */
.games-section {
    padding: 5rem 0 0 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 5%;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.game-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--bg-color);
    border: none;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
    padding: 4rem 5%;
    transition: all 0.4s ease;
}



.game-row.reverse {
    flex-direction: row-reverse;
}

.game-row .game-image {
    flex: 1;
    min-width: 350px;
    height: 350px;
    border-radius: 12px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
}

.game-row .game-info {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.game-row h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-extra-info {
    display: none;
    width: 100%;
}

.game-extra-info.open {
    display: block;
    animation: fadeInDown 0.4s ease forwards;
    margin-top: 1.5rem;
}

.game-extra-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.btn-outline.toggle-details {
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    margin-top: 0;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    padding: 4rem 5%;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    text-align: center;
    max-width: 250px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-icon svg {
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 5%;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.reviews-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: slideReviews 40s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes slideReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 204, 0, 0.1);
    font-family: serif;
}

.stars {
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.reviewer-name {
    color: var(--primary-yellow);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.faq-section .section-title {
    padding: 0 5%;
}

.faq-container {
    max-width: 100%;
    margin: 0;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
    border-radius: 30px;
    overflow: hidden;
}

.faq-question {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #1a1a1a;
}

.faq-question h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 5%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-color);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.warning-text {
    margin-top: 1rem;
    color: #ff4444;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 5%;
    }
    .logo img {
        height: 40px !important;
    }
    /* Hamburger Menu Overlay (Mobile) */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1000;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--primary-yellow);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-menu a {
        font-size: 2rem;
        font-weight: 800;
        color: var(--text-main);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        width: 100%;
    }

    .dropdown:hover .dropdown-content,
    .dropdown:active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        font-size: 1.2rem;
        padding: 10px;
        text-transform: none;
        letter-spacing: normal;
    }
    .logo {
        font-size: 1.4rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .info-box {
        padding: 1.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 3rem;
        gap: 0.5rem;
    }
    

    
    .game-row, .game-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .game-row .game-info {
        align-items: center;
    }
    
    .game-row .game-image {
        width: 100%;
        min-width: unset;
        height: 250px;
    }
}
