:root {
    --bg-color: #0c0c0c;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-glow: rgba(255, 255, 255, 0.05);
    --twitch-color: #9146ff;
    --tiktok-black: #010101;
    --tiktok-cyan: #00f2ea;
    --tiktok-magenta: #ff0050;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Premium Mesh Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        linear-gradient(135deg, #0f0f0f 0%, #000000 100%);
    z-index: -1;
}

/* Yin Yang Layout Separation (Visual only) */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 50%, transparent 50.1%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 640px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: 40px;
    padding: 30px 20px;
    /* Reduced for better space efficiency */
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.02);
    text-align: center;
    margin: 30px 20px;
    /* Significantly reduced top margin */
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

/* Inner Glow Effect for Container */
.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    margin-bottom: 40px;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.live-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #ff0000;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.bio {
    font-size: 1rem;
    opacity: 0.6;
    max-width: 450px;
    margin: 0 auto 30px;
    font-weight: 300;
}

/* Stats Section Premium */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-top: 4px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 0 white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Recent Clips Gallery */
.clips-section {
    margin: 20px 0;
    /* Reduced margin */
    text-align: center;
}

.clips-section h2 {
    font-size: 1rem;
    margin-bottom: 5px;
    /* Reduced from 10px */
    opacity: 0.6;
    font-weight: 500;
}

.clips-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Infinite Auto-Scrolling (Modern Container Integrated) */
.clips-slider,
.partners-slider {
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px 10px;
    /* Removed top padding (0) for maximum tightness */
    overflow: hidden;
    position: relative;
    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);
    margin-bottom: 20px;
}

.slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-marquee 20s linear infinite;
    will-change: transform;
}

.partners-slider .slider-track {
    animation-duration: 30s;
    animation-direction: reverse;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clip-card,
.partner-card {
    flex-shrink: 0;
}

.clip-card {
    min-width: 180px;
    /* Reduced from 220px */
    background: transparent;
    /* No background */
    border: none;
    /* No border */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.clip-card:hover {
    transform: translateY(-5px);
}

.clip-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    /* Added slight rounding to thumb itself */
}

.clip-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
}

.clip-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 4px;
    z-index: 2;
}

.clip-play {
    width: 30px;
    /* Reduced from 36px */
    height: 30px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    z-index: 2;
}

.clip-card:hover .clip-play {
    opacity: 1;
    transform: scale(1);
}

.clip-info {
    padding: 8px 5px;
    /* Tighter padding */
    text-align: center;
    /* Centered for small cards */
}

.clip-info h4 {
    font-size: 0.75rem;
    /* Reduced from 0.85rem */
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clip-info span {
    font-size: 0.65rem;
    /* Reduced from 0.8rem */
    opacity: 0.5;
}

/* Official Branding Buttons Refined */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 30px;
    border-radius: 20px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    border: none;
}

.btn:active {
    transform: scale(0.95);
}

/* Official App Styles */
.btn-tiktok {
    background: #000;
    color: #fff;
    box-shadow:
        -3px -3px 0 #00f2ea,
        3px 3px 0 #ff0050;
}

.btn-tiktok:hover {
    box-shadow:
        -5px -5px 15px rgba(0, 242, 234, 0.4),
        5px 5px 15px rgba(255, 0, 80, 0.4);
    transform: translateY(-5px);
}

.btn-twitch {
    background: #9146ff;
    color: #fff;
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
}

.btn-twitch:hover {
    box-shadow: 0 20px 50px rgba(145, 70, 255, 0.5);
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.btn-paypal {
    background: #0070ba;
    color: #ffffff;
}

.btn-paypal:hover {
    background: #005ea6;
}

/* Secondary Social Links */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-item i {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

/* Official Colors */
.link-twitter:hover {
    border-color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.link-youtube:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.link-discord:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
}

.link-snapchat:hover {
    border-color: #fffc00;
    background: rgba(255, 252, 0, 0.1);
    color: #fffc00;
}

/* Global Hover Lift */
.social-link-item:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* SnapCode Section */
.snapcode-section {
    margin: 40px 0;
}

.snapcode-container {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
}

.snapcode-iframe {
    width: 100%;
    height: 100%;
}

/* Partners Section Refined */
.partners-section {
    margin: 30px 0;
}

.partners-section h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    /* Consistent with clips section */
    opacity: 0.6;
}

.partners-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.partner-card {
    min-width: 140px;
    height: 70px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.4s ease;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.partner-card:hover {
    transform: scale(1.1);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(2) contrast(0.8);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 10px;
    text-align: center;
}

.partner-card:hover .partner-overlay {
    opacity: 1;
}

.partner-overlay h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.partner-overlay p {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Donation Section Seamless */
.donation-section {
    padding: 30px 20px;
    background: transparent;
    border: none;
    margin: 40px 0;
}

.donation-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.donation-section p {
    font-size: 1rem;
    opacity: 0.6;
    margin-bottom: 30px;
}

.btn-paypal {
    background: #ffffff;
    color: #000;
}

.btn-paypal:hover {
    background: #cccccc;
    transform: translateY(-5px);
}

.small-notice {
    font-size: 0.7rem;
    opacity: 0.3;
    margin-top: 15px;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 20px;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.legal-link {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    opacity: 0.3;
}

.attribution {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.5;
}

.attribution strong {
    font-weight: 700;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 30px 15px;
    }

    h1 {
        font-size: 1.5rem;
    }
}