:root {
    --bg-color: #050505;
    --card-bg: #111;
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff00ff;
    --text-color: #e0e0e0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-purple);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    color: #fff;
    text-transform: none;
    text-shadow: 0 0 10px var(--neon-purple);
}

.logo span {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-btn-special {
    position: relative;
    overflow: hidden;
    padding: 10px 25px;
    border: 2px solid var(--neon-pink);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-pink);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    font-size: 1.2rem;
    text-shadow: 0 0 4px #000, 0 0 8px #000;
}

.nav-btn-special::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(5, 5, 5, 0.6), rgba(5, 5, 5, 0.6)), url('assets/card-fan.svg');
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 0;
}

.nav-btn-special span {
    position: relative;
    z-index: 1;
}

.nav-btn-special:hover {
    border-color: #ff66ff;
    box-shadow: 0 0 25px var(--neon-pink), 0 0 45px var(--neon-pink);
}

.nav-btn-special:hover::before {
    transform: scale(1.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
}

.live-dot {
    background-color: #ff0000;
    box-shadow: 0 0 8px #ff0000;
    animation: recordPulse 1.5s ease-in-out infinite;
}

@keyframes recordPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #ff0000; }
    50% { opacity: 0.4; box-shadow: 0 0 3px #ff0000; }
}

.offline-dot {
    background-color: #888;
}

#hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 20px;
    background: radial-gradient(circle, rgba(188,19,254,0.1) 0%, rgba(5,5,5,1) 70%);
    position: relative;
    overflow: visible;
}

.pulse-border {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink)) 1;
    animation: borderPulse 3s linear infinite;
    pointer-events: none;
    z-index: 999;
}

@keyframes borderPulse {
    0% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(180deg) brightness(1.5); }
    100% { filter: hue-rotate(360deg) brightness(1); }
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 20px var(--neon-purple);
    animation: none;
}

.void-text {
    color: #fcca03;
    text-shadow: 0 0 12px rgba(252, 202, 3, 0.6);
}

.media-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.threads-embed {
    width: 100%;
    max-width: 500px;
    margin: 10px 0;
    display: flex;
}

.threads-profile-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.5);
}

.twitch-embed {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 2px solid var(--neon-cyan);
    border-radius: 15px;
    margin: 10px 0;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    overflow: hidden;
}

section {
    padding: 100px 20px;
    min-height: 60vh;
    position: relative;
}

#games {
    min-height: 0;
    padding-bottom: 40px;
}

#about {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
}

#about p {
    font-size: 1.2rem;
}

#clips {
    min-height: 0;
    padding-bottom: 40px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.carousel-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 40px 0;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container.dragging {
    cursor: grabbing;
}

.carousel {
    display: flex;
    gap: 20px;
    width: max-content;
}

.clip-card {
    min-width: 300px;
    height: 180px;
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--neon-pink);
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.3);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    text-decoration: none;
}

.clip-card-content {
    width: 100%;
    padding: 12px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.clip-card-content p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.clip-card-content small {
    color: #aaa;
}

.game-card {
    min-width: 300px;
    height: 180px;
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--neon-cyan);
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.3);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.game-card-content {
    width: 100%;
    padding: 12px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.game-card-content p {
    font-size: 1.2rem;
    font-weight: bold;
}

.game-card-content small {
    color: #aaa;
}

.caption {
    text-align: center;
    margin-top: 20px;
    color: #888;
}

.threads-link-card {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.threads-link-card:hover {
    opacity: 0.8;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 15px;
    background: var(--neon-pink);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    z-index: 2147483647;
    box-shadow: 0 0 10px var(--neon-pink);
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
    color: #555;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-links a {
        font-size: 1rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .carousel-container {
        padding: 20px;
    }
    .status-indicator {
        margin-left: 0;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}
