:root {
    --gold-primary: #D4AF37;
    --gold-light: #FFF8E7;
    --gold-dark: #AA8C2C;
    --void-black: #000000;
    --text-gray: #e0e0e0;
    --twitch-purple: #9146FF; /* Added for the Twitch section */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth; /* smooth scrolling for anchor links */
}

body {
    background-color: #050505;
    color: var(--text-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Starfield Background Animation --- */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.85); /* Slightly darker for better text readability */
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.company-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Standard Nav Links (Text Only) */
.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

/* Special Styling for the Partner Button in Nav */
.nav-links a.highlight-btn {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links a.highlight-btn:hover {
    background: var(--gold-primary);
    color: var(--void-black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* --- Hero Section & Black Hole --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 120px 20px 50px;
    overflow: hidden;
}

/* THE BLACK HOLE STACK */
.black-hole-container {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.black-hole-center {
    width: 300px;
    height: 300px;
    background: var(--void-black);
    border-radius: 50%;
    z-index: 10;
    position: absolute;
    box-shadow: inset 0 0 40px #000;
}

.black-hole-logo {
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: float 6s ease-in-out infinite;
}

.event-horizon-ring {
    position: absolute;
    width: 306px;
    height: 306px;
    border-radius: 50%;
    border: 2px solid rgba(255, 248, 231, 0.8);
    box-shadow: 
        0 0 20px 5px var(--gold-primary),
        inset 0 0 10px var(--gold-primary);
    z-index: 11;
    filter: blur(1px);
}

.accretion-disk {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(
        transparent 50%, 
        rgba(212, 175, 55, 0.8) 52%, 
        rgba(170, 140, 44, 0.4) 60%, 
        transparent 70%
    );
    mask-image: radial-gradient(black 50%, transparent 70%); 
    -webkit-mask-image: radial-gradient(black 40%, transparent 70%);
    
    z-index: 5;
    animation: spin 15s linear infinite;
}

.accretion-disk::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--gold-primary) 60deg,
        transparent 120deg,
        var(--gold-dark) 240deg,
        transparent 360deg
    );
    border-radius: 50%;
    opacity: 0.3;
    animation: spin-reverse 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    z-index: 30;
}

.tagline {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin-bottom: 2rem;
    z-index: 30;
}

/* --- Content Sections --- */
.content-section {
    padding: 6rem 10%;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.bg-dark {
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.bg-alt {
    background: linear-gradient(to bottom, #0a0a0a, #111);
}

.section-header {
    border-left: 3px solid var(--gold-primary);
    padding-left: 1rem;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
}

.section-header span {
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 1px;
}

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

/* Layout utility to flip text/card order */
.reverse-layout .grid-container {
    direction: rtl; /* simple trick to flip columns, reset text direction in children */
}
.reverse-layout .grid-container > * {
    direction: ltr;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #ccc;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 2px; height: 100%;
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '▹';
    color: var(--gold-primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* --- Twitch Section Specifics --- */
.twitch-card::before {
    background: var(--twitch-purple);
    box-shadow: 0 0 10px var(--twitch-purple);
}

.twitch-btn {
    display: inline-block;
    background: var(--twitch-purple);
    color: white;
    padding: 1rem 2rem;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.twitch-btn:hover {
    background: #a970ff;
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.4);
    transform: translateY(-2px);
}

/* --- Sponsorship CTA --- */
.partnership-section {
    text-align: center;
    padding: 6rem 20px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.partnership-section h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.partnership-section p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    color: #aaa;
}

.cta-button {
    display: inline-block;
    background: var(--gold-primary);
    color: black;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        background: rgba(5,5,5,0.95);
        position: static;
        padding: 1rem 0;
    }
    nav { justify-content: center; }
    .grid-container { grid-template-columns: 1fr; }
    .reverse-layout .grid-container { direction: ltr; }
    h1 { font-size: 2.5rem; }
    .black-hole-container { width: 320px; height: 320px; }
    .black-hole-center { width: 160px; height: 160px; }
    .event-horizon-ring { width: 164px; height: 164px; }
    .black-hole-logo { width: 90px; }
    img[src*="ghostlayers.png"] {
        max-width: 100vw;
        width: 100%;
        height: auto;
        margin: 16px auto 0 auto;
        display: block;
    }
}