/* ============================================
   I GOTTA HAVE MORE COWBELL - Stylesheet
   ============================================ */

/* --------------------------------------------
   CSS Variables (Brand Palette)
   -------------------------------------------- */
:root {
    /* Brand Colors */
    --gold: #C9A227;
    --charcoal: #1A1A1A;
    --silver: #A8A8A8;
    --red: #E63946;
    --offwhite: #F5F5F0;
    --vinyl: #0D0D0D;
    --rust: #B87333;
    --blue: #4A90D9;
    
    /* Derived Colors */
    --charcoal-light: #2A2A2A;
    --charcoal-lighter: #3A3A3A;
    --gold-dim: #A08220;
    --gold-bright: #E5C44A;
    
    /* Typography */
    --font-heading: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(201, 162, 39, 0.3);
    --shadow-blue-glow: 0 0 30px rgba(74, 144, 217, 0.25);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--offwhite);
    background-color: var(--charcoal);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 217, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        );
    pointer-events: none;
    z-index: -1;
}

/* --------------------------------------------
   Typography
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-bright);
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

em {
    font-style: italic;
    color: var(--gold);
}

strong {
    font-weight: 700;
    color: var(--offwhite);
}

/* --------------------------------------------
   Utility Classes
   -------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--vinyl);
    padding: var(--space-sm) var(--space-md);
    font-weight: 700;
    z-index: 10000;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* --------------------------------------------
   Buttons
   -------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--gold);
    color: var(--vinyl);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--vinyl);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--vinyl);
}

.text-link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--gold-bright);
}

/* --------------------------------------------
   Section Headers
   -------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--silver);
    text-transform: none;
    letter-spacing: normal;
}

/* --------------------------------------------
   Navigation
   -------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-sm) var(--container-padding);
}

.wordmark {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--gold);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.wordmark:hover {
    color: var(--gold-bright);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--offwhite);
}

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

.nav-cta {
    background: var(--gold);
    color: var(--vinyl) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 4px;
    font-weight: 700;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-bright);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition-base);
}

/* --------------------------------------------
   Hero Section
   -------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl) var(--container-padding);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: var(--container-max);
    width: 100%;
}

.hero-text {
    text-align: center;
}

.hero-title {
    color: var(--offwhite);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cowbell-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(201, 162, 39, 0.2));
}

/* Sound Line Animations */
.sound-line {
    opacity: 0.3;
    animation: pulse-line 2s ease-in-out infinite;
}

.sound-line-1 { animation-delay: 0s; }
.sound-line-2 { animation-delay: 0.2s; }
.sound-line-3 { animation-delay: 0.4s; }
.sound-line-4 { animation-delay: 0.1s; }
.sound-line-5 { animation-delay: 0.3s; }
.sound-line-6 { animation-delay: 0.5s; }

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--silver);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
}

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

/* --------------------------------------------
   Origin Section
   -------------------------------------------- */
.origin-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
}

.origin-intro {
    font-size: 1.125rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    color: var(--silver);
    line-height: 1.8;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.fact-card {
    background: var(--charcoal);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.fact-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.fact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-sm);
}

.fact-icon svg {
    width: 100%;
    height: 100%;
}

.fact-title {
    color: var(--gold);
    margin-bottom: var(--space-xs);
    font-size: 1.5rem;
}

.fact-description {
    color: var(--silver);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* --------------------------------------------
   Deep Dives Section
   -------------------------------------------- */
.deep-dives-section {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
}

.featured-card {
    background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--red);
    color: var(--offwhite);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: 4px;
    z-index: 10;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl);
}

.featured-text {
    order: 2;
}

.featured-title {
    color: var(--offwhite);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-xs);
}

.featured-artist {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.featured-description {
    color: var(--silver);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.featured-highlights {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.featured-highlights li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(168, 168, 168, 0.2);
}

.featured-highlights li:last-child {
    border-bottom: none;
}

.highlight-label {
    font-weight: 700;
    color: var(--offwhite);
    font-size: 0.875rem;
}

.highlight-value {
    color: var(--silver);
    font-size: 0.9rem;
}

.featured-visual {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyl-record {
    width: 200px;
    height: 200px;
    background: var(--vinyl);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 0 0 3px var(--charcoal-lighter),
        0 0 0 6px var(--vinyl),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

.vinyl-record::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
}

.vinyl-label {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
}

.vinyl-label::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--vinyl);
    border-radius: 50%;
}

.label-text {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: var(--vinyl);
    line-height: 1.2;
    z-index: 1;
}

.label-artist {
    font-size: 0.4rem;
    color: var(--vinyl);
    z-index: 1;
}

/* --------------------------------------------
   Hall of Clank Section
   -------------------------------------------- */
.hall-of-clank-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--vinyl) 100%);
}

.hall-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.hall-card {
    background: var(--charcoal);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: var(--space-lg);
    position: relative;
    transition: all var(--transition-base);
}

.hall-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.clank-mark {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
}

.clank-mark svg {
    width: 100%;
    height: 100%;
}

.hall-song {
    color: var(--offwhite);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    padding-right: 50px;
}

.hall-artist {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.hall-why {
    color: var(--silver);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------
   Songbook Section
   -------------------------------------------- */
.songbook-section {
    padding: var(--space-2xl) 0;
    background: var(--charcoal-light);
}

.songbook-search {
    margin-bottom: var(--space-lg);
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--silver);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--offwhite);
    background: var(--charcoal);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.search-input::placeholder {
    color: var(--silver);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.songbook-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.song-entry {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-md);
    background: var(--charcoal);
    border: 1px solid rgba(168, 168, 168, 0.1);
    border-radius: 6px;
    transition: all var(--transition-base);
}

.song-entry:hover {
    border-color: rgba(201, 162, 39, 0.4);
    background: var(--charcoal-lighter);
}

.song-entry.hidden {
    display: none;
}

.song-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--offwhite);
    margin-bottom: 0.25rem;
}

.song-artist {
    font-size: 0.9rem;
    color: var(--silver);
    margin: 0;
}

.song-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.tag-era {
    background: rgba(74, 144, 217, 0.2);
    color: var(--blue);
}

.tag-genre {
    background: rgba(201, 162, 39, 0.2);
    color: var(--gold);
}

.tag-difficulty {
    background: rgba(230, 57, 70, 0.2);
    color: var(--red);
}

.songbook-note {
    text-align: center;
    color: var(--silver);
    margin-top: var(--space-lg);
    font-size: 0.95rem;
}

/* --------------------------------------------
   Anatomy Section
   -------------------------------------------- */
.anatomy-section {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
}

.anatomy-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.mix-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-width: 400px;
    margin: 0 auto;
}

.mix-layer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--charcoal-light);
    border-radius: 6px;
    border-left: 4px solid var(--silver);
    transition: all var(--transition-base);
}

.mix-layer.highlighted {
    background: rgba(201, 162, 39, 0.15);
    border-left-color: var(--gold);
    position: relative;
    overflow: hidden;
}

.highlight-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--shadow-blue-glow);
    opacity: 0.5;
    pointer-events: none;
}

.mix-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--offwhite);
}

.mix-layer.highlighted .mix-label {
    color: var(--gold);
}

.mix-freq {
    font-size: 0.8rem;
    color: var(--silver);
    font-family: monospace;
}

.anatomy-explanation {
    color: var(--silver);
    line-height: 1.8;
}

.anatomy-explanation p {
    margin-bottom: var(--space-md);
}

/* --------------------------------------------
   Book Section
   -------------------------------------------- */
.book-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--vinyl) 0%, var(--charcoal) 100%);
}

.book-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.book-intro {
    font-size: 1.25rem;
    color: var(--offwhite);
    margin-bottom: var(--space-md);
}

.book-description {
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.progress-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.progress-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: var(--space-sm) var(--space-md);
    background: var(--charcoal-light);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    min-width: 120px;
}

.badge-status {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
}

.badge-status.in-progress {
    color: var(--blue);
}

.badge-status.building {
    color: var(--rust);
}

.badge-label {
    font-size: 0.8rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Book Mockup */
.book-visual {
    display: flex;
    justify-content: center;
}

.book-mockup {
    width: 200px;
    height: 280px;
    position: relative;
    transform: perspective(800px) rotateY(-15deg);
    transform-style: preserve-3d;
    transition: transform var(--transition-base);
}

.book-mockup:hover {
    transform: perspective(800px) rotateY(-5deg);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #8B6914 0%, var(--gold) 50%, #8B6914 100%);
    transform: rotateY(90deg) translateZ(-15px);
    transform-origin: left;
}

.book-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--vinyl) 100%);
    border: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    text-align: center;
}

.cover-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}

.cover-subtitle {
    font-size: 0.7rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-sm);
}

.cover-cowbell {
    width: 60px;
    height: 75px;
    margin-top: var(--space-md);
}

.cover-cowbell svg {
    width: 100%;
    height: 100%;
}

/* --------------------------------------------
   Subscribe Section
   -------------------------------------------- */
.subscribe-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--vinyl) 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.subscribe-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-title {
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.subscribe-text {
    color: var(--silver);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.subscribe-form {
    margin-bottom: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--offwhite);
    background: var(--charcoal);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.email-input::placeholder {
    color: var(--silver);
}

.email-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.subscribe-btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--vinyl);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-base);
}

.subscribe-btn:hover {
    background: var(--gold-bright);
    box-shadow: var(--shadow-glow);
}

.subscribe-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.subscribe-btn.clanking .btn-text {
    opacity: 0;
}

.subscribe-btn.clanking .btn-clank {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.btn-clank {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.15s ease;
    font-weight: 700;
    color: var(--red);
}

.form-message {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(39, 174, 96, 0.2);
    color: #27AE60;
}

.form-message.error {
    background: rgba(230, 57, 70, 0.2);
    color: var(--red);
}

.subscribe-note {
    color: var(--silver);
    font-size: 0.875rem;
    margin: 0;
}

/* --------------------------------------------
   Footer
   -------------------------------------------- */
.site-footer {
    padding: var(--space-xl) 0;
    background: var(--vinyl);
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
    background: var(--charcoal);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.copyright {
    color: var(--silver);
    font-size: 0.875rem;
    margin: 0;
}

/* --------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Staggered delays for child elements */
.facts-grid .reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.facts-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.facts-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.hall-grid .reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.hall-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.hall-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.hall-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* --------------------------------------------
   Media Queries (Responsive)
   -------------------------------------------- */
@media (min-width: 640px) {
    :root {
        --container-padding: 2rem;
    }
    
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .song-entry {
        grid-template-columns: 1fr auto;
    }
    
    .form-group {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-ctas {
        justify-content: flex-start;
    }
    
    .featured-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .featured-text {
        order: 1;
    }
    
    .featured-visual {
        order: 2;
    }
    
    .book-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .anatomy-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 3rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex !important;
    }
}

@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        padding: var(--space-md);
        border-top: 1px solid rgba(201, 162, 39, 0.2);
        gap: var(--space-sm);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: var(--space-sm) 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta {
        margin-top: var(--space-sm);
    }
}

/* --------------------------------------------
   Reduced Motion
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------
   Print Styles
   -------------------------------------------- */
@media print {
    .site-header,
    .hero-scroll-indicator,
    .hero-visual,
    .book-visual,
    .subscribe-form,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}
