/* ==========================================================================
   SonsMusic - Ultra-Premium Design System & Organized Core Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    /* Color Palette - Cyberpunk Neon & Sleek Dark Mode */
    --bg-primary: #07080e;
    --bg-secondary: #0d0f1a;
    --bg-tertiary: #151828;
    
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-bg-active: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-highlight: rgba(168, 85, 247, 0.5);
    
    --neon-purple: #a855f7;
    --neon-purple-glow: rgba(168, 85, 247, 0.45);
    --neon-cyan: #00f2fe;
    --neon-cyan-glow: rgba(0, 242, 254, 0.45);
    --neon-pink: #ff007f;
    --neon-pink-glow: rgba(255, 0, 127, 0.45);
    --neon-green: #00ff87;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-neon: 0 0 25px var(--neon-purple-glow), 0 0 50px rgba(168, 85, 247, 0.2);
    
    /* Layout */
    --max-width: 1280px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 242, 254, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 127, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* ==========================================================================
   Typography & Gradients
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 50%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-pink {
    background: linear-gradient(135deg, #fff 0%, var(--neon-pink) 50%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Utility & Glassmorphism Cards
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-highlight);
    box-shadow: var(--shadow-neon);
    background: var(--glass-bg-hover);
}

/* ==========================================================================
   Navigation Bar (With App Icon)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(7, 8, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-icon-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 15px var(--neon-purple-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.logo-group:hover .logo-icon-img {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 0 25px var(--neon-cyan-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 15px var(--neon-purple-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px var(--neon-purple-glow);
    background: linear-gradient(135deg, #b86bfc, #8b5cf6);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--neon-pink), #d946ef);
    color: #fff;
    box-shadow: 0 4px 15px var(--neon-pink-glow);
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px var(--neon-pink-glow);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(168, 85, 247, 0.3);
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulse-glow 2s infinite;
}

/* ==========================================================================
   Top Banner Showcase & Hero Section
   ========================================================================== */
.top-banner-showcase {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 5;
}

.top-banner-showcase .official-banner-box {
    max-width: 1080px;
    margin: 0 auto;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 55px rgba(168, 85, 247, 0.4);
}

.hero {
    min-height: calc(100vh - 300px);
    padding-top: 2rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Official Banner Box (Prominent Below Menu) */
.official-banner-box {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--bg-secondary);
    animation: float 6s ease-in-out infinite;
}

.official-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01);
    transition: var(--transition-smooth);
}

.official-banner-box:hover .official-banner-img {
    transform: scale(1.04);
}

/* Hero Main Image Box (Previous Image in Right Column) */
.hero-img-box {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 242, 254, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--bg-secondary);
    animation: float 7s ease-in-out infinite alternate;
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01);
    transition: var(--transition-smooth);
}

.hero-img-box:hover .hero-main-img {
    transform: scale(1.04);
}

/* Floating Badges on Hero Banner */
.floating-card {
    position: absolute;
    background: rgba(13, 15, 26, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
    top: 12%;
    right: 5%;
    animation-delay: -1s;
}

.floating-card-2 {
    bottom: 12%;
    left: 5%;
    animation-delay: -2.5s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.2);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.fc-text h5 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.1rem;
}

.fc-text p {
    font-size: 0.75rem;
    color: var(--neon-green);
    font-weight: 600;
}

/* ==========================================================================
   Interactive Feature Showcase (Tabs Section)
   ========================================================================== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.85rem 1.85rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn:hover {
    background: var(--glass-bg-hover);
    color: #fff;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 20px var(--neon-purple-glow);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.feature-list {
    list-style: none;
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--neon-cyan);
    font-size: 1.25rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Live Web Audio Player Simulator
   ========================================================================== */
.player-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.player-card {
    background: rgba(18, 20, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 242, 254, 0.15);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: center;
}

.player-artwork {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
}

.player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.player-artwork.playing img {
    animation: rotate-disc 20s linear infinite;
}

.artwork-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    padding: 0.4rem 0.9rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.player-controls-area {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.track-info h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.track-info p {
    color: var(--neon-cyan);
    font-weight: 500;
    font-size: 1.05rem;
}

/* Audio Visualizer Bars */
.visualizer-box {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 65px;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    border: 1px inset rgba(255, 255, 255, 0.05);
}

.vis-bar {
    flex: 1;
    background: linear-gradient(0deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 3px;
    height: 15%;
    transition: height 0.1s ease;
}

.player-artwork.playing ~ .player-controls-area .vis-bar {
    animation: equalizer-wave 1.2s ease-in-out infinite alternate;
}

.vis-bar:nth-child(1) { animation-delay: 0.1s; }
.vis-bar:nth-child(2) { animation-delay: 0.4s; }
.vis-bar:nth-child(3) { animation-delay: 0.2s; }
.vis-bar:nth-child(4) { animation-delay: 0.6s; }
.vis-bar:nth-child(5) { animation-delay: 0.3s; }
.vis-bar:nth-child(6) { animation-delay: 0.7s; }
.vis-bar:nth-child(7) { animation-delay: 0.1s; }
.vis-bar:nth-child(8) { animation-delay: 0.5s; }
.vis-bar:nth-child(9) { animation-delay: 0.2s; }
.vis-bar:nth-child(10) { animation-delay: 0.4s; }

/* Progress Bar */
.progress-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 4px;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Control Buttons */
.main-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.35rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-btn:hover {
    color: #fff;
    background: var(--glass-bg-hover);
}

.play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 0 25px var(--neon-purple-glow);
    transition: var(--transition-smooth);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px var(--neon-cyan-glow);
}


/* ==========================================================================
   Game Center, 3 Minijuegos & Sistema de Logros
   ========================================================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.game-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
    background: var(--glass-bg-hover);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.badge-item {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--transition-fast);
}

.badge-item:hover {
    border-color: var(--neon-pink);
    transform: scale(1.04);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
}

/* ==========================================================================
   Bestiario Musical Card Styles
   ========================================================================== */
.bestiario-card {
    margin-top: 3.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(20, 15, 35, 0.95), rgba(35, 15, 45, 0.85));
    border: 1px solid rgba(180, 0, 255, 0.35);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(180, 0, 255, 0.15);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.bestiario-card:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 25px 60px rgba(180, 0, 255, 0.25);
}

.bestiario-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180, 0, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bestiario-boss-preview {
    min-width: 280px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 25px rgba(180, 0, 255, 0.15);
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Ubuntu Server Infrastructure Section (Clean & Elegant, No Code Blocks!)
   ========================================================================== */
.server-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.infra-card {
    background: rgba(11, 12, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.infra-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.infra-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.infra-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.infra-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.infra-highlight-banner {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 242, 254, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    box-shadow: var(--shadow-lg);
}

.infra-banner-text h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.infra-banner-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
}

/* ==========================================================================
   SonsLab Studio Section (Pasión, Esfuerzo & Proyecto Megacompetente)
   ========================================================================== */
.sonslab-card {
    background: linear-gradient(135deg, rgba(13, 18, 32, 0.96), rgba(25, 12, 38, 0.92));
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 28px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 242, 254, 0.12), 0 0 45px rgba(168, 85, 247, 0.18);
    transition: var(--transition-smooth);
}

.sonslab-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 30px 75px rgba(0, 242, 254, 0.22), 0 0 60px rgba(168, 85, 247, 0.28);
}

.sonslab-glow-1 {
    position: absolute;
    top: -120px;
    left: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sonslab-glow-2 {
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sonslab-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sonslab-pillar-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    transition: var(--transition-fast);
    margin-bottom: 1.2rem;
}

.sonslab-pillar-box:last-child {
    margin-bottom: 0;
}

.sonslab-pillar-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateX(6px);
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.1);
}

.sonslab-quote {
    margin-top: 2.2rem;
    padding: 1.6rem 2rem;
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.12), rgba(168, 85, 247, 0.12));
    border-left: 4px solid var(--neon-cyan);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Footer & Toast Notification
   ========================================================================== */
.footer {
    background: var(--bg-primary);
    padding: 4.5rem 0 2.5rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-size: 1.15rem;
    margin-bottom: 1.35rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
    color: #fff;
    padding: 1.1rem 1.85rem;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.5);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes equalizer-wave {
    0% { height: 15%; }
    50% { height: 85%; }
    100% { height: 40%; }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid, .tab-content.active, .player-card, .infra-highlight-banner, .bestiario-card, .sonslab-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .infra-grid, .games-grid {
        grid-template-columns: 1fr;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions .btn-secondary {
        display: none; /* Ocultamos el botón secundario en navbar para que no sature la barra superior */
    }
    
    .nav-actions .btn-primary {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }
    
    .options-grid, .badges-grid, .infra-grid, .games-grid {
        grid-template-columns: 1fr;
    }
    
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
    }
    
    .bestiario-card, .sonslab-card {
        padding: 1.75rem;
        gap: 2rem;
    }
    
    .bestiario-boss-preview {
        min-width: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .live-demo-player {
        padding: 1.5rem !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0.75rem auto;
        width: 90%;
        transform: none !important;
        animation: none !important;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
    }

    .container {
        padding: 0 1.25rem;
    }
    
    .hero {
        padding-top: 1.5rem;
        padding-bottom: 3.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .server-status-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .game-card, .bestiario-card, .glass-card, .sonslab-card {
        padding: 1.5rem !important;
    }
    
    .bestiario-card h3 {
        font-size: 1.7rem !important;
    }
    
    .logo-text {
        font-size: 1.35rem;
    }
    
    .logo-icon-img {
        width: 38px;
        height: 38px;
    }
    
    .nav-actions .btn-primary {
        padding: 0.5rem 0.85rem;
        font-size: 0.78rem;
    }
    
    .tabs-container {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .floating-social-menu {
        bottom: 1rem;
        right: 1rem;
        gap: 0.6rem;
    }
    
    .social-float-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Floating Social & Contact Menu (Telegram, Instagram, Correo)
   ========================================================================== */
.floating-social-menu {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
    pointer-events: auto;
}

.social-float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.social-float-btn:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.telegram-btn {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.85), rgba(0, 204, 255, 0.85));
    border-color: rgba(0, 204, 255, 0.4);
}
.telegram-btn:hover {
    box-shadow: 0 0 22px rgba(0, 204, 255, 0.7);
}

.instagram-btn {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.85), rgba(253, 29, 29, 0.85), rgba(252, 176, 69, 0.85));
    border-color: rgba(253, 29, 29, 0.4);
}
.instagram-btn:hover {
    box-shadow: 0 0 22px rgba(253, 29, 29, 0.7);
}

.email-btn {
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.85), rgba(112, 0, 255, 0.85));
    border-color: rgba(255, 0, 127, 0.4);
}
.email-btn:hover {
    box-shadow: 0 0 22px rgba(255, 0, 127, 0.7);
}

.float-tooltip {
    position: absolute;
    right: 68px;
    background: rgba(13, 15, 26, 0.95);
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.social-float-btn:hover .float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-social-menu {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
    .social-float-btn {
        width: 46px;
        height: 46px;
    }
    .float-tooltip {
        display: none;
    }
}

/* ==========================================================================
   Server Status Pill & Pulse
   ========================================================================== */
.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid rgba(0, 255, 170, 0.4);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.15);
}
.server-status-pill:hover {
    background: rgba(0, 255, 170, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.35);
    transform: translateY(-2px);
}
.status-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ffaa;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #00ffaa;
    animation: status-pulse 1.5s infinite;
}
@keyframes status-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 255, 170, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 170, 0); }
}

/* ==========================================================================
   Neon Equalizer & Demo Player Controls
   ========================================================================== */
.neon-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 40px;
    padding: 0 10px;
}
.eq-bar {
    width: 4px;
    background: linear-gradient(180deg, #00f2fe, #00ffaa);
    border-radius: 2px;
    height: 4px;
    transition: height 0.2s ease;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}
.neon-equalizer.active .eq-bar:nth-child(1) { animation: eq-bounce 0.8s infinite alternate ease-in-out; }
.neon-equalizer.active .eq-bar:nth-child(2) { animation: eq-bounce 0.5s infinite alternate ease-in-out 0.1s; }
.neon-equalizer.active .eq-bar:nth-child(3) { animation: eq-bounce 0.9s infinite alternate ease-in-out 0.3s; }
.neon-equalizer.active .eq-bar:nth-child(4) { animation: eq-bounce 0.6s infinite alternate ease-in-out 0.2s; }
.neon-equalizer.active .eq-bar:nth-child(5) { animation: eq-bounce 0.7s infinite alternate ease-in-out 0.4s; }
.neon-equalizer.active .eq-bar:nth-child(6) { animation: eq-bounce 0.5s infinite alternate ease-in-out 0.15s; }
.neon-equalizer.active .eq-bar:nth-child(7) { animation: eq-bounce 0.85s infinite alternate ease-in-out 0.25s; }
.neon-equalizer.active .eq-bar:nth-child(8) { animation: eq-bounce 0.65s infinite alternate ease-in-out 0.05s; }

@keyframes eq-bounce {
    0% { height: 6px; }
    50% { height: 35px; }
    100% { height: 18px; }
}

.demo-ctrl-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-ctrl-btn:hover {
    background: rgba(0, 242, 254, 0.2);
    border-color: var(--neon-cyan);
    transform: scale(1.08);
}
.demo-play-btn {
    background: linear-gradient(135deg, var(--neon-cyan), #00ffaa);
    border: none;
    color: #000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}
.demo-play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.8);
}
.player-artwork.playing {
    animation: rotate-disc 12s linear infinite;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.8);
}

/* ==========================================================================
   Scroll Entrance Animations (Intersection Observer)
   ========================================================================== */
.scroll-animate-hidden {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-item:hover {
    border-color: rgba(0, 242, 254, 0.3) !important;
}
.faq-item.active {
    border-color: var(--neon-cyan) !important;
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.95), rgba(13, 15, 26, 0.95)) !important;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--neon-pink) !important;
}
.faq-item.active .faq-answer {
    max-height: 300px !important;
    padding-bottom: 1.5rem !important;
}

/* ==========================================================================
   SonsJam Room Selector Styles
   ========================================================================== */
.jam-room-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
    border-color: #fff !important;
}
.jam-room-btn.active-jam-room {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.25), rgba(0, 242, 254, 0.25)) !important;
    border-color: #00ffaa !important;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.5);
    transform: scale(1.03);
}

/* ==========================================================================
   Feedback Form Styles
   ========================================================================== */
.form-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}
.form-input::placeholder {
    color: var(--text-muted);
}
.feedback-type-option {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}
.feedback-type-option:hover {
    border-color: rgba(0, 242, 254, 0.5);
    color: #fff;
    transform: translateY(-2px);
}
.feedback-type-option.active-option {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(0, 255, 170, 0.2));
    border-color: var(--neon-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}
@media (max-width: 768px) {
    .feedback-form-card {
        padding: 1.8rem 1.5rem !important;
    }
}

/* ==========================================================================
   Back to Top Floating Button Styles
   ========================================================================== */
.back-to-top-float-btn {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.9), rgba(0, 255, 170, 0.9));
    border-color: rgba(0, 255, 170, 0.5);
    color: #000 !important;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.4);
}
.back-to-top-float-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.back-to-top-float-btn:hover {
    background: var(--neon-cyan);
    color: #000 !important;
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.9);
    transform: scale(1.15) translateY(-4px);
}


