/* ROOT CONFIGURATION & BRAND CODES */
:root {
    --color-bg-dark: #12181b;
    --color-bg-asphalt: #212c31;
    --color-bg-light-asphalt: #2e3d44;
    --color-brand-green: #2e7d32;
    --color-brand-green-glow: #4caf50;
    --color-brand-yellow: #ffd600;
    --color-brand-gold: #f1a80a;
    --color-text-light: #eceff1;
    --color-text-muted: #b0bec5;
    --font-primary: 'Montserrat', sans-serif;
    --font-accent: 'Rubik Mono One', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-premium: 16px;
    --box-shadow-glow: 0 0 25px rgba(76, 175, 80, 0.35);
}

/* RESET & BASE STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-light-asphalt);
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-green-glow);
}

/* LAYOUT STRUCTURAL BLOCKS */
.section-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 24px;
}

.compact-container {
    max-width: 850px;
}

.max-width-md {
    max-width: 950px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.align-center {
    align-items: center;
}

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

.margin-top-md { margin-top: 32px; }
.margin-top-lg { margin-top: 56px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* TYPOGRAPHY ARCHITECTURE */
h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-brand-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

strong {
    color: #ffffff;
}

.section-intro-text {
    font-size: 1.2rem;
    max-width: 900px;
    margin-bottom: 24px;
}

.accent-line {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--color-brand-green-glow), var(--color-brand-yellow));
    border-radius: 3px;
    margin-bottom: 32px;
}

/* INTERACTIVE MINI GAME WIDGET */
.top-widget-bar {
    background-color: #0d1214;
    border-bottom: 3px solid var(--color-brand-yellow);
    padding: 12px 16px;
    position: relative;
    z-index: 1001;
}

.widget-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.widget-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-brand-yellow);
    letter-spacing: 0.5px;
}

.road-game-lane {
    flex-grow: 1;
    max-width: 600px;
    height: 36px;
    background-color: #37474f;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    border: 2px solid #546e7a;
}

.road-game-lane::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: dashed #ffd600 8px;
    transform: translateY(-50%);
}

.hay-truck {
    position: absolute;
    font-size: 1.2rem;
    top: 4px;
    animation: truckDrive 6s infinite linear;
}

.truck-1 { left: -50px; animation-delay: 0s; }
.truck-2 { left: -50px; animation-animation-delay: 3s; }

@keyframes truckDrive {
    0% { left: -60px; }
    100% { left: 100%; }
}

.chicken-avatar {
    position: absolute;
    left: 15px;
    top: 3px;
    font-size: 1.3rem;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.finish-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, #000, #000 5px, #fff 5px, #fff 10px);
    width: 45px;
    font-size: 0.65rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px #000;
}

.widget-btn {
    background: linear-gradient(130deg, var(--color-brand-yellow), var(--color-brand-gold));
    border: none;
    padding: 8px 16px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    color: #000;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 214, 0, 0.3);
    transition: transform 0.2s;
}

.widget-btn:active {
    transform: scale(0.95);
}

.promo-reveal {
    display: none;
    font-weight: 700;
    background-color: var(--color-brand-green);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid var(--color-brand-green-glow);
    animation: pulse 1.5s infinite alternate;
}

.code-highlight {
    color: var(--color-brand-yellow);
    font-family: monospace;
    font-size: 1rem;
}

/* HEADER & NAVBAR */
.main-header {
    background-color: rgba(18, 24, 27, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-bg-light-asphalt);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1348px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: block;
    width: 220px;
    height: auto;
}

.site-logo {
    width: 100%;
    height: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    padding: 8px 4px;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-brand-yellow);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-brand-yellow);
    transition: var(--transition-smooth);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* HERO SECTION DESIGN */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #2e7d32 0%, #12181b 60%);
    overflow: hidden;
    border-bottom: 4px solid var(--color-bg-light-asphalt);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: var(--color-brand-green);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid var(--color-brand-green-glow);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, #1b5e20 100%);
    color: white;
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: var(--box-shadow-glow);
    border: 2px solid var(--color-brand-green-glow);
    transition: var(--transition-smooth);
    margin-top: 16px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, var(--color-brand-green-glow) 0%, var(--color-brand-green) 100%);
}

/* PREMIUM FIGURES & IMAGES */
.premium-figure {
    background-color: var(--color-bg-asphalt);
    padding: 16px;
    border-radius: var(--border-radius-premium);
    border: 1px solid var(--color-bg-light-asphalt);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.premium-figure:hover {
    transform: translateY(-5px);
    border-color: var(--color-brand-yellow);
}

.image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--border-radius-premium) - 4px);
    position: relative;
    aspect-ratio: 16 / 9;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-figure:hover .image-wrapper img {
    transform: scale(1.04);
}

figcaption {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 14px;
    text-align: center;
    font-style: italic;
}

.central-large {
    max-width: 900px;
    margin: 0 auto;
}

/* SECTIONS BRIGHTNESS */
.dark-section {
    background-color: var(--color-bg-dark);
}

.asphalt-section {
    background-color: var(--color-bg-asphalt);
    border-top: 1px solid var(--color-bg-light-asphalt);
    border-bottom: 1px solid var(--color-bg-light-asphalt);
}

.green-glow-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #142216 100%);
}

/* PREMIUM DATA TABLES */
.table-responsive-container {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--border-radius-premium);
    border: 2px solid var(--color-bg-light-asphalt);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background-color: var(--color-bg-asphalt);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 1.05rem;
}

.premium-table th {
    background-color: #1a2428;
    color: #ffffff;
    padding: 20px 24px;
    font-weight: 700;
    border-bottom: 3px solid var(--color-brand-green);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.premium-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-bg-light-asphalt);
    color: var(--color-text-muted);
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:nth-child(even) {
    background-color: rgba(255,255,255,0.02);
}

.highlight-yellow {
    color: var(--color-brand-yellow);
    font-weight: 700;
}

.metric-table th {
    border-bottom: 3px solid var(--color-brand-gold);
}

.rating-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    color: #000000;
}

.rating-badge.green { background-color: var(--color-brand-green-glow); color: #fff;}
.rating-badge.yellow { background-color: var(--color-brand-yellow); }

/* LIST ARCHITECTURES */
.styled-list {
    list-style: none;
    counter-reset: custom-counter;
    margin: 24px 0;
}

.styled-list li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 54px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.styled-list li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 36px;
    height: 36px;
    background-color: var(--color-brand-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--color-brand-green-glow);
}

.warning-note {
    background-color: rgba(239, 83, 80, 0.1);
    border-left: 4px solid #ef5350;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

/* CARDS DESIGN */
.premium-card {
    background-color: #1a2327;
    border: 1px solid var(--color-bg-light-asphalt);
    border-radius: var(--border-radius-premium);
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.mechanical-look {
    border-top: 4px solid var(--color-brand-green-glow);
}

.card-badge {
    position: absolute;
    top: -14px;
    right: 30px;
    background-color: var(--color-brand-yellow);
    color: #000;
    padding: 4px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* BONUS BOX ARCHITECTURES */
.bonus-box {
    background-color: var(--color-bg-dark);
    border-radius: var(--border-radius-premium);
    border: 1px solid var(--color-bg-light-asphalt);
    overflow: hidden;
}

.box-header {
    padding: 20px 24px;
    color: white;
}

.box-header.green { background: linear-gradient(90deg, var(--color-brand-green), #1b5e20); }
.box-header.yellow { background: linear-gradient(90deg, #b38f00, var(--color-brand-gold)); }

.custom-step-list, .custom-bullet-list {
    padding: 28px;
    list-style-position: inside;
}

.custom-step-list li, .custom-bullet-list li {
    margin-bottom: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.custom-step-list li { list-style-type: decimal; }
.custom-bullet-list li { list-style-type: square; color: var(--color-brand-yellow); }
.custom-bullet-list li::marker { color: var(--color-brand-yellow); }

/* STEP CARDS */
.step-card {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--color-bg-light-asphalt);
    padding: 32px;
    border-radius: var(--border-radius-premium);
    position: relative;
}

.card-index {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    pointer-events: none;
}

.styled-ol {
    margin-top: 20px;
    padding-left: 20px;
}

.styled-ol li {
    margin-bottom: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* PROS CONS ACCORDIONS / BLOCKS */
.pros-cons-box {
    background-color: var(--color-bg-dark);
    padding: 40px;
    border-radius: var(--border-radius-premium);
    border: 2px solid var(--color-bg-light-asphalt);
}

.pros-cons-box.pros { border-top: 4px solid var(--color-brand-green); }
.pros-cons-box.cons { border-top: 4px solid #e53935; }

.box-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.icon-list {
    list-style: none;
    margin-top: 24px;
}

.icon-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.icon-list.check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-brand-green-glow);
    font-weight: 900;
    font-size: 1.2rem;
}

.icon-list.cross li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #e53935;
    font-weight: 900;
    font-size: 1.1rem;
}

.audience-card {
    background-color: var(--color-bg-asphalt);
    padding: 28px;
    border-radius: var(--border-radius-premium);
    border: 1px solid rgba(255,255,255,0.05);
}

.audience-card h4 {
    margin-bottom: 16px;
    color: #ffffff;
}

/* RESPONSIBLE GAMING BOX */
.responsible-gaming-section {
    background-color: #0c1012;
    padding: 20px 0;
}

.card-dark {
    background: radial-gradient(circle at 0% 0%, #261414 0%, #1a1c1e 100%);
    border: 2px solid #b71c1c;
    border-radius: var(--border-radius-premium);
    padding: 48px;
}

.rg-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.rg-icon {
    font-size: 2.5rem;
}

/* FAQ ACCORDION ENGINE */
.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-bg-light-asphalt);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.icon-chevron {
    width: 12px;
    height: 12px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    margin-right: 6px;
}

.faq-item.active {
    border-color: var(--color-brand-yellow);
}

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

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(0,0,0,0.15);
}

.faq-panel p {
    padding: 0 24px 24px 24px;
    margin-bottom: 0;
    font-size: 1rem;
}

/* FOOTER ARCHITECTURE */
.main-footer {
    background-color: #0b0e10;
    border-top: 2px solid var(--color-bg-light-asphalt);
    padding: 60px 0 40px 0;
}

.footer-logo {
    width: 180px;
    margin-bottom: 24px;
}

.disclaimer {
    font-size: 0.85rem;
    max-width: 900px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.copyright {
    font-size: 0.8rem;
    color: #546e7a;
}

/* ANIMATIONS & CLASSES */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(76,175,80,0.4); }
    100% { transform: scale(1.03); box-shadow: 0 0 20px rgba(76,175,80,0.7); }
}

.pulse-effect {
    animation: buttonGlow 3s infinite alternate;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 0 15px rgba(76,175,80,0.4); }
    100% { box-shadow: 0 0 30px rgba(76,175,80,0.8); }
}

/* RESPONSIVE BREAKPOINTS ENGINE */
@media (max-width: 1024px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-media {
        order: -1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 130px; /* offset dynamically adjusted based on widgets */
        left: -100%;
        width: 100%;
        height: calc(100vh - 130px);
        background-color: var(--color-bg-dark);
        transition: var(--transition-smooth);
        padding: 40px 24px;
        border-top: 1px solid var(--color-bg-light-asphalt);
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .main-nav a {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .section-container {
        padding: 48px 16px;
    }
}