:root[data-theme="light"] {
    --bg-base: #f0f2f5;
    --bg-blob-1: rgba(0, 122, 255, 0.4);
    --bg-blob-2: rgba(52, 199, 89, 0.4);
    --bg-blob-3: rgba(255, 45, 85, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    
    --text-primary: #1c1c1e;
    --text-secondary: #3a3a3c;
    
    --accent: #007aff;
    --accent-hover: #005bb5;
    --coffee-btn: #ff9500;
}

:root[data-theme="dark"] {
    --bg-base: #121212;
    --bg-blob-1: rgba(10, 132, 255, 0.3);
    --bg-blob-2: rgba(48, 209, 88, 0.2);
    --bg-blob-3: rgba(255, 55, 95, 0.3);
    
    --glass-bg: rgba(28, 28, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    
    --text-primary: #f2f2f7;
    --text-secondary: #ebebf5;
    
    --accent: #0a84ff;
    --accent-hover: #007aff;
    --coffee-btn: #ff9f0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, .logo-text, .brand h2, .section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Blobs for Liquid iOS look */
.blob {
    position: fixed;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}
.shape-1 {
    width: 400px; height: 400px;
    background: var(--bg-blob-1);
    top: -10%; left: -10%;
}
.shape-2 {
    width: 500px; height: 500px;
    background: var(--bg-blob-2);
    bottom: -20%; right: -10%;
    animation-delay: -5s;
}
.shape-3 {
    width: 300px; height: 300px;
    background: var(--bg-blob-3);
    top: 40%; left: 60%;
    animation-delay: -10s;
}

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

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.channel-icon img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}

.logo-s {
    display: inline-block;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    font-size: 1.2em;
    font-weight: 900;
    margin: 0 1px;
    position: relative;
    text-transform: uppercase;
    transform: rotate(-10deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #0a84ff, #ff375f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(10, 132, 255, 0.3));
}

.logo-text:hover .logo-s {
    transform: rotate(10deg) scale(1.2);
    animation: shuffle-s 0.2s infinite;
}

.logo-text-hero {
    font-size: 5rem;
    margin-bottom: 30px;
    display: block;
    cursor: default;
}
.logo-text-hero:hover .logo-s {
    animation: shuffle-s 0.15s infinite;
}
.logo-text-hero .logo-s {
    font-size: 1.1em;
    filter: drop-shadow(0 0 15px rgba(10, 132, 255, 0.5));
}

@keyframes shuffle-s {
    0% { transform: rotate(10deg) translate(0, 0); }
    33% { transform: rotate(12deg) translate(1px, -1px); }
    66% { transform: rotate(8deg) translate(-1px, 1px); }
    100% { transform: rotate(10deg) translate(0, 0); }
}
/* Social & Brand Extensions */
.discord-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #5865F2;
    font-weight: 600;
}
.discord-badge i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.discord-tooltip {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-right: -4px;
    display: none;
}
.discord-username {
    font-size: 1rem;
}
.discord-badge:hover {
    background: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
    transform: scale(1.02);
    color: #fff;
}
.discord-badge:hover i {
    transform: rotate(12deg) scale(1.1);
}
.discord-badge:hover .discord-tooltip {
    display: inline;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 0.8; transform: translateX(0); }
}

.hero-discord {
    margin-top: 5px;
}

.btn-bandlab {
    background: #19dec1;
    color: #000;
    box-shadow: 0 4px 15px rgba(25, 222, 193, 0.3);
}
.btn-youtube {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff0000;
}
.btn-youtube:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    transform: translateY(-2px);
}

.hero-video, .hero-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-links a:hover {
    color: var(--accent);
}
#theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}
#theme-toggle:hover {
    background: var(--glass-border);
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px; /* Offset for fixed nav */
}

/* Liquid / Glassmorphism Cards */
.liquid-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.liquid-card:not(.hero-image):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--glass-shadow);
}
.p-0 {
    padding: 0;
    overflow: hidden;
}

/* Typography elements */
.gradient-text {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}
.hero-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.btn-primary {
    background: var(--coffee-btn);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}
.btn-primary:hover {
    background: #e08300;
    transform: scale(1.02);
}
.btn-glass {
    background: var(--glass-border);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}
.w-100 {
    width: 100%;
    margin-top: 10px;
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}
.w-100:hover {
    background: var(--accent-hover);
}
.upi-text {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Videos Grid */
.videos-section {
    margin-bottom: 60px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.video-card {
    padding: 20px;
}
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
}
.video-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.video-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* Feedback Form */
.form-card {
    max-width: 600px;
    margin: 0 auto 60px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}
.hidden {
    display: none;
}
.success-msg {
    margin-top: 15px;
    padding: 12px;
    background: rgba(48, 209, 88, 0.2);
    color: #30d158;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* Footer */
.glass-footer {
    padding: 40px 20px;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    margin-top: 60px;
}
.site-version {
    margin-left: 10px;
    font-size: 0.75rem;
    opacity: 0.5;
    background: var(--glass-border);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}
/* Drum Simulator Section */
.simulator-section {
    margin-bottom: 60px;
}
.simulator-container {
    text-align: center;
}
.simulator-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.simulator-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    opacity: 0.7;
}
.record-status {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 120px;
}
.drum-kit-visual {
    position: relative;
    max-width: 900px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.drum-kit-bg {
    width: 100%;
    display: block;
    opacity: 0.8;
}

/* Absolute Positioned Pads */
.drum-pad-wrapper {
    position: absolute;
    width: 12%; 
    aspect-ratio: 1/1;
    z-index: 10;
}
.drum-pad {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
}

/* Position mappings based on the generated top-down view kit */
.crash-pos { top: 15%; left: 15%; width: 18%; }
.ride-pos { top: 15%; right: 15%; width: 22%; }
.hihat-pos { top: 40%; left: 10%; width: 14%; }
.openhihat-pos { top: 35%; left: 15%; width: 10%; opacity: 0.7; }
.tom1-pos { top: 25%; left: 35%; width: 14%; }
.tom2-pos { top: 25%; right: 35%; width: 14%; }
.snare-pos { top: 60%; left: 25%; width: 18%; }
.kick-pos { top: 75%; left: 45%; width: 10%; }
.cowbell-pos { top: 35%; right: 30%; width: 8%; }

.drum-pad:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}
.drum-pad:active, .drum-pad.playing {
    background: var(--accent);
    box-shadow: 0 0 30px var(--accent);
    transform: scale(0.95);
    border-color: #fff;
}
.drum-pad.playing .key-hint {
    color: #fff;
}

.key-hint {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

@media (max-width: 768px) {
    /* Stack pads in a grid for mobile as image overlay is hard to tap */
    .drum-kit-visual {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        background: transparent;
        box-shadow: none;
    }
    .drum-kit-bg { display: none; }
    .drum-pad-wrapper {
        position: static;
        width: 100%;
    }
}

/* Animations */
@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
.recording-active i {
    animation: pulse-red 1s infinite;
    color: #ff3b30 !important;
}

@media (max-width: 768px) {
    .hero-section, .grid-2 {
        grid-template-columns: 1fr;
    }
}
