main,
.main-content {
    padding-top: 100px;
    overflow: visible !important;
    overflow-y: visible !important;
    height: auto;
    max-height: none;
}

section {
    padding: 6rem 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 50%, rgba(255, 23, 68, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
                var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite 4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

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

.hero-section h1 {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.overview {
    background: var(--dark-soft);
}

.timeline-item {
    margin-bottom: 3rem;
    padding-left: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.timeline-item h3 {
    margin-bottom: 1rem;
}

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

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.game-card p {
    margin: 0;
    color: var(--light);
    font-weight: 600;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button.active {
    color: var(--light);
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
    border-left: 4px solid var(--secondary);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.feature-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--dark-soft);
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.accordion-item {
    background: var(--dark-soft);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-item:hover .accordion-header {
    color: var(--secondary);
}

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

.accordion-item.active .accordion-body {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 80px;
    }

    .hero-section {
        overflow-x: hidden;
        align-items: flex-start;
        padding-top: 0;
    }

    .hero-section h1 {
        margin-top: 4rem;
    }

    .hero-section::before,
    .hero-section::after {
        display: none;
    }

    header {
        padding: 1rem 0;
    }

    header .container {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .cta-button {
        display: none;
    }

    .main-nav {
        position: relative;
        flex-shrink: 0;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 229, 255, 0.1);
        margin: 0;
        padding: 0;
        z-index: 999;
    }

    .nav-list.active {
        max-height: 500px;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta-mobile {
        display: block;
        padding: 1rem 1.5rem;
        margin-top: 0.5rem;
    }

    .nav-cta-mobile a {
        border: none;
        text-align: center;
        padding: 1rem 2rem;
        margin: 0;
    }

    .nav-cta-mobile a:hover {
        text-decoration: none;
    }

    section {
        padding: 4rem 0;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-button {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .container {
        overflow-x: hidden;
    }

    table {
        font-size: 0.875rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    table thead,
    table tbody {
        display: table;
        width: 100%;
    }

    table th,
    table td {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    h2::after {
        width: 60px;
    }
}