.hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -3%;
    width: 60%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -3%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    text-align: center;
}

.hero-section h1 {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--accent-yellow) 50%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

.hero-section .cta-button {
    padding: 20px 50px;
    font-size: 1.25rem;
}

.table-of-contents {
    background: rgba(30, 27, 75, 0.4);
    backdrop-filter: blur(10px);
    padding: 3rem 0;
    margin: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-of-contents h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-coral);
    text-align: center;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.table-of-contents li a {
    display: block;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--text-light);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.table-of-contents li a:hover {
    background: rgba(6, 214, 160, 0.1);
    border-color: var(--primary-teal);
    transform: translateX(8px);
    color: var(--primary-teal);
}

section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--primary-coral);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-coral) 0%, var(--primary-teal) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary-coral);
    border: 4px solid var(--dark-navy);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
}

.timeline-item h3 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.cards-grid-3 .container {
    max-width: 1200px;
}

.cards-grid-3 .card {
    margin-bottom: 3rem;
}

.cards-grid-2 .container {
    max-width: 1200px;
}

.cards-grid-2 .card {
    margin-bottom: 3rem;
}

.feature-icons .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 214, 160, 0.3);
}

.feature-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
}

.feature-item .icon img {
    width: 48px;
    height: 48px;
}

.feature-item h3 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight-list .highlight-item {
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--primary-coral);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.highlight-list .highlight-item:hover {
    border-left-color: var(--primary-teal);
    transform: translateX(8px);
}

.highlight-item h3 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.accordion .accordion-item {
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion .accordion-item:hover {
    border-color: rgba(6, 214, 160, 0.3);
}

.accordion-header button {
    width: 100%;
    padding: 1.75rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-header button:hover {
    color: var(--primary-teal);
}

.accordion-header button .icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.accordion-header button .icon::before,
.accordion-header button .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: var(--primary-coral);
    transition: all 0.3s ease;
}

.accordion-header button .icon::before {
    transform: translate(-50%, -50%);
}

.accordion-header button .icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-header button[aria-expanded="true"] .icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body p,
.accordion-body ul,
.accordion-body ol {
    padding: 0 2rem 1.75rem;
}

.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 40%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 35%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary-coral);
    font-size: 1.25rem;
    padding: 20px 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-button:hover {
    background: var(--text-light);
    color: var(--primary-coral);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.specialty-games,
.rtp-transparency,
.innovation {
    max-width: 1100px;
    margin: 3rem auto;
}

@media (max-width: 991px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-item::before {
        left: 20px;
    }

    .feature-icons .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 3rem 0;
    }

    .hero-section {
        padding: 5rem 0 4rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.05rem;
    }

    .hero-section .cta-button {
        padding: 16px 40px;
        font-size: 1.1rem;
    }

    section h2 {
        margin-bottom: 2.5rem;
    }

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 3rem;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item::before {
        left: 16px;
        width: 16px;
        height: 16px;
    }

    .card {
        padding: 2rem;
    }

    .feature-item {
        padding: 2rem;
    }

    .feature-item .icon {
        width: 64px;
        height: 64px;
    }

    .feature-icons .feature-grid {
        grid-template-columns: 1fr;
    }

    .table-of-contents ul {
        grid-template-columns: 1fr;
    }

    .accordion-header button {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }

    .accordion-body p,
    .accordion-body ul,
    .accordion-body ol {
        padding: 0 1.5rem 1.5rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-section h2 {
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .cta-section .cta-button {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }
}