/* ==========================================
   CSS Variables & Theming
   ========================================== */
:root {
    --bg-color: #0b0c10;
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
    
    /* Pink Base Colors */
    --pink-light: #ffb6c1;
    --pink-primary: #ff69b4;
    --pink-dark: #c71585;
    --pink-glow: rgba(255, 105, 180, 0.6);
    --pink-glow-strong: rgba(255, 105, 180, 0.8);
    
    /* Minecraft Colors */
    --mc-dark: rgba(20, 20, 20, 0.85);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Fonts */
    --font-heading: 'Press Start 2P', cursive;
    --font-body: 'Inter', sans-serif;
    
    /* Glow Tracking */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand {
    font-family: var(--font-heading);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pink-text {
    color: var(--pink-primary);
    text-shadow: 0 0 10px var(--pink-glow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================
   Dynamic Glow (Cursor Tracking)
   ========================================== */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pink-glow) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.15;
    mix-blend-mode: screen;
    transition: opacity 0.3s;
}

#cursor-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

/* ==========================================
   Navigation (Glassmorphism)
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.brand {
    font-size: 1.2rem;
    color: var(--pink-light);
    text-shadow: 0 0 10px var(--pink-glow);
}

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

.nav-links a:not(.btn-small) {
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

.nav-links a:not(.btn-small)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--pink-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--pink-glow);
}

.nav-links a:not(.btn-small):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--pink-light);
}

/* ==========================================
   Buttons with Glow Effects
   ========================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-small {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.glow-button {
    background: var(--glass-bg);
    border: 1px solid var(--pink-primary);
    color: #fff;
    box-shadow: 0 0 15px transparent;
}

.glow-button.primary {
    background: var(--pink-primary);
    color: #fff;
    border: 1px solid var(--pink-dark);
}

.glow-button:hover {
    box-shadow: 0 0 20px var(--pink-glow-strong);
    background: var(--pink-dark);
    border-color: var(--pink-light);
    transform: translateY(-2px);
}

.glow-button i {
    margin-left: 0.5rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 12, 16, 0.4), rgba(11, 12, 16, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 4rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ==========================================
   Sections & Layout
   ========================================== */
.section {
    padding: 6rem 2rem;
}

.dark-section {
    background-color: rgba(0, 0, 0, 0.3);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

/* ==========================================
   Cards (Hover Effect)
   ========================================== */
.glow-card {
    position: relative;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        rgba(255, 105, 180, 0.15),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.glow-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 105, 180, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 105, 180, 0.2);
}

.glow-card:hover::before {
    opacity: 1;
}

/* ==========================================
   About Grid
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.card-icon {
    font-size: 3rem;
    color: var(--pink-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--pink-glow);
}

.about-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* ==========================================
   YouTube Section
   ========================================== */
.youtube-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.yt-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.yt-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.yt-placeholder {
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--pink-dark);
}

.yt-huge {
    font-size: 5rem;
    color: var(--pink-primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--pink-glow));
}

/* ==========================================
   Contact / Social Grid
   ========================================== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: #fff;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.social-card:hover i {
    transform: scale(1.2);
}

.social-card.discord:hover { border-color: #5865F2; box-shadow: 0 0 20px rgba(88,101,242,0.4); }
.social-card.instagram:hover { border-color: #E1306C; box-shadow: 0 0 20px rgba(225,48,108,0.4); }
.social-card.twitch:hover { border-color: #9146FF; box-shadow: 0 0 20px rgba(145, 70, 255, 0.4); }
.social-card.tiktok:hover { border-color: #ff0050; box-shadow: 0 0 20px rgba(255,0,80,0.4); }

.social-card.discord:hover::before { background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(88,101,242,0.2), transparent 40%); }
.social-card.instagram:hover::before { background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(225,48,108,0.2), transparent 40%); }
.social-card.twitch:hover::before { background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(145, 70, 255, 0.2), transparent 40%); }
.social-card.tiktok:hover::before { background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,0,80,0.2), transparent 40%); }


/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--mc-dark);
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a:hover {
    color: var(--pink-primary);
}

/* ==========================================
   Animations & Media Queries
   ========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .youtube-content {
        grid-template-columns: 1fr;
    }
}
