:root {
    --bg-color: #0a0000;
    --text-primary: #ffffff;
    --text-secondary: #e4e4e7;
    --accent-color: #ef4444;
    --accent-glow: rgba(239, 68, 68, 0.6);
    --secondary-accent: #dc2626;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.15);
}

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

body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background effects */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.15;
    animation: drift 20s infinite alternate ease-in-out;
    will-change: transform;
}

body::before {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
}

body::after {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 60%);
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(10%, 10%, 0) scale(1.1);
    }

    100% {
        transform: translate3d(-10%, 15%, 0) scale(0.9);
    }
}



/* Typography */
h1,
h2,
h3 {
    font-family: 'TAN Buster', 'TAN-Buster', 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-logo {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    animation: fadeInDown 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.35);
}

.btn-primary,
.btn-secondary {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.25);
    border-color: rgba(255, 255, 255, 0.12);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    opacity: 0.95;
}

.main-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    animation: fadeInDown 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.main-title span {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--accent-glow);
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 2s ease-out 1.5s forwards, bounce 2s infinite 2s;
    opacity: 0;
}

/* Events Section */
.events-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Bento Box Layout */
.category-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--card-border);
    font-family: 'TAN Buster', 'TAN-Buster', 'Poppins', 'Montserrat', sans-serif;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
    margin-bottom: 5rem;
    grid-auto-flow: dense;
}

.event-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.25);
}

/* Bento Classes */
.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Large Watermark Icon */
.event-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg) translate(20%, 10%);
    transition: color 0.3s ease, transform 0.3s ease;
}

.event-card:hover .event-image {
    color: rgba(239, 68, 68, 0.1);
    transform: rotate(0deg) translate(10%, 0%);
}

.game-logo {
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: var(--logo-url);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: var(--logo-url);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.event-info {
    position: relative;
    z-index: 1;
}

.event-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bento-large .event-info h2 {
    font-size: 2.5rem;
}

/* Floating Time Badge */
.event-time {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.event-desc {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1rem;
    max-width: 90%;
}



/* Footer Section */
.footer {
    padding: 6rem 2rem 3rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer h2 {
    font-size: 2rem;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1.5rem;
    text-decoration: none;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80px;
    background: rgba(10, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-x: hidden;
}

.sidebar.expanded,
.sidebar:hover {
    width: 250px;
}

.sidebar-logo {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    border-bottom: 1px solid var(--card-border);
    min-width: 250px;
}

.sidebar-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sidebar:hover .sidebar-logo-img,
.sidebar.expanded .sidebar-logo-img {
    width: 50px;
    /* Keep fixed width, do not expand */
}

.sidebar-logo .logo-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
    font-family: 'TAN Buster', 'TAN-Buster', 'Poppins', 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 15px;
}

.sidebar-logo .logo-text span {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar.expanded .sidebar-logo .logo-text,
.sidebar:hover .sidebar-logo .logo-text {
    opacity: 1;
    max-width: 150px;
    padding-right: 15px;
}

.nav-links {
    list-style: none;
    margin-top: 2rem;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-width: 250px;
}

.nav-item i {
    width: 80px;
    text-align: center;
    font-size: 1.2rem;
}

.nav-item .nav-text {
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.sidebar.expanded .nav-item .nav-text,
.sidebar:hover .nav-item .nav-text {
    opacity: 1;
    transition-delay: 0.1s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-item.active {
    color: var(--accent-color);
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), transparent);
    border-left-color: var(--accent-color);
}

.sidebar-bottom {
    padding: 1rem 0;
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid var(--card-border);
    min-width: 250px;
}

.sidebar-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 80px;
    height: 40px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    color: var(--text-primary);
}

.sidebar.expanded .sidebar-toggle,
.sidebar:hover .sidebar-toggle {
    transform: rotate(180deg);
}

/* Main Wrapper & Tab Sections */
.main-wrapper {
    margin-left: 80px;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar.expanded~.main-wrapper,
.sidebar:hover~.main-wrapper {
    margin-left: 250px;
}

.tab-section {
    display: none;
    flex-grow: 1;
    animation: fadeInTab 0.5s ease forwards;
}

.tab-section.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Specific Content Section Styles */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-grow: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.section-title span {
    color: var(--accent-color);
}

.placeholder-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.placeholder-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.about-content>p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.stat-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .events-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .events-container {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .event-image {
        position: relative;
        width: 100%;
        height: 150px;
        transform: none;
        margin-bottom: 1rem;
        opacity: 0.2;
    }

    .event-card {
        padding: 1.5rem;
    }

    .event-info h2 {
        font-size: 1.5rem;
    }

    /* Mobile Bottom Navigation */
    .sidebar {
        top: auto;
        bottom: 0;
        height: 70px;
        width: 100% !important;
        flex-direction: row;
        border-right: none;
        border-top: 1px solid var(--card-border);
        background: rgba(10, 0, 0, 0.95);
    }

    .sidebar-logo,
    .sidebar-bottom {
        display: none;
    }

    .nav-links {
        margin: 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }

    .nav-links li {
        margin: 0;
        flex: 1;
    }

    .nav-item {
        min-width: auto;
        padding: 0.5rem 0;
        border-left: none;
        border-top: 3px solid transparent;
        flex-direction: column;
        gap: 0.3rem;
        justify-content: center;
    }

    .nav-item i {
        width: auto;
        font-size: 1.2rem;
    }

    .nav-item .nav-text {
        opacity: 1 !important;
        font-size: 0.7rem;
        display: block;
    }

    .nav-item.active {
        background: transparent;
        border-top-color: var(--accent-color);
        background: linear-gradient(180deg, rgba(239, 68, 68, 0.1), transparent);
    }

    .main-wrapper,
    .sidebar.expanded~.main-wrapper {
        margin-left: 0 !important;
        margin-bottom: 70px;
    }
}

/* Scroll Animations Classes */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDownLogo {
    to {
        opacity: 1;
        transform: translateY(0) scale(2.5);
        /* Keeps the logo scaled up after animation */
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Mini Events Section */
.mini-events-section {
    padding: 1rem 0 3rem;
    width: 100%;
    overflow: auto;
}

.horizontal-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    padding: 120px 0 50px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-track {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 5rem;
    padding: 0 5rem;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    isolation: isolate;
    width: max-content;
}

/* Curvy connecting line behind the mini-cards */
/* The connecting line is rendered dynamically by script.js (SVG inside the track). */


.mini-card {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(10, 0, 0, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
    /* Use the CSS variables calculated by JS for the scale and Y translation */
    transform: translateY(var(--scroll-y, 0px)) scale(var(--scroll-scale, 1));
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mini-card-link {
    color: inherit;
    text-decoration: none;
}

.mini-card:hover {
    transform: translateY(calc(var(--scroll-y, 0px) - 10px)) scale(calc(var(--scroll-scale, 1) + 0.05));
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
}

.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mini-card i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease;
}

.mini-card:hover img,
.mini-card:hover i {
    transform: scale(1.1);
}

.mini-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.mini-card:hover .mini-card-overlay {
    opacity: 1;
}

.mini-card-overlay h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.card-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    transform-origin: left center;
    z-index: 2;
    pointer-events: none;
    border-radius: 2px;
    display: none;
}

/* Gallery Marquee Section */
.gallery-marquee-section {
    padding: 2rem 0 6rem;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.marquee-row {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    width: 100%;
}

.marquee-block {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
    width: max-content;
    animation: scroll 60s linear infinite var(--marquee-direction, normal);
}

.marquee-row:hover .marquee-block {
    animation-play-state: paused;
}

.marquee-block img {
    height: 250px;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.marquee-block img:hover {
    transform: scale(1.05);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    z-index: 10;
    position: relative;
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(calc(-100% - 1.5rem), 0, 0);
    }
}

/* Animated Divider Section */
.animated-divider-section {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 4rem 0;
}

.scrolling-tape-wrapper {
    position: absolute;
    width: 120%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrolling-tape {
    position: absolute;
    width: 150vw;
    left: -25vw;
    height: 90px;
    background: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.5);
    z-index: 1;
}

.scrolling-tape.tape-1 {
    transform: rotate(-5deg);
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.scrolling-tape.tape-2 {
    transform: rotate(5deg);
    background: rgba(10, 0, 0, 0.95);
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    color: var(--accent-color);
    z-index: 2;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(239, 68, 68, 0.2);
}

.tape-content {
    display: flex;
    white-space: nowrap;
    animation: tape-scroll 25s linear infinite;
    font-family: 'TAN Buster', 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    will-change: transform;
}

.tape-2 .tape-content {
    animation-direction: reverse;
    animation-duration: 30s;
    font-size: 2.5rem;
}

@keyframes tape-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .animated-divider-section {
        height: 250px;
        margin: 2rem 0;
    }

    .scrolling-tape {
        height: 60px;
    }

    .tape-content {
        font-size: 2rem;
    }

    .tape-2 .tape-content {
        font-size: 1.8rem;
    }
}

/* About Section Enhanced */
.about-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-container {
    text-align: left;
}

.section-title.text-left {
    text-align: left;
    margin-bottom: 2rem;
}

.about-lead {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box-modern {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-box-modern.bento-wide {
    grid-column: span 2;
}

.stat-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-box-modern:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.15);
}

.stat-box-modern:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-box-modern h3 {
    font-size: 3.5rem;
    color: var(--text-primary);
    font-weight: 900;
    margin: 0;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.credits-section .stat-box-modern h3 {
    color: var(--accent-color);
}

.stat-box-modern h3.counter + span {
    font-size: 3.5rem;
    color: var(--accent-color);
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    vertical-align: baseline;
    margin-left: 5px;
}

.stat-box-modern p {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-title.text-left {
        text-align: center;
    }

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

/* Cool Credits Styling */
.credits-role-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.credits-role-group:last-child {
    margin-bottom: 0;
}

.role-title {
    display: block;
    font-size: 1.4rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.role-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.name-badge {
    font-size: 1.1rem;
    color: #000000;
    -webkit-text-stroke: 1px var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 0.2rem 0;
}

.name-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

.name-badge:hover {
    color: #fff;
    -webkit-text-stroke: 0px transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.name-badge:hover::after {
    width: 100%;
}



/* Very Cool Creator Badge */
.architect-badge {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    position: relative;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.05) 0%, transparent 60%);
}

.architect-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.architect-role {
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
}

.architect-name {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: 'TAN Buster', 'Montserrat', sans-serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4), 0 0 40px rgba(239, 68, 68, 0.2);
    transition: text-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.architect-name:hover {
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.8), 0 0 60px rgba(239, 68, 68, 0.5), 0 0 100px rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}