/* 
    Guitar Workshop - Official Site Styles
    Theme: Industrial Artisan / Luthier Studio
*/

:root {
    --bg: #080808;
    --surface: #121212;
    --surface-light: #1a1a1a;
    --accent: #d32f2f; /* Vibrant Jackson Red */
    --accent-glow: rgba(211, 47, 47, 0.4);
    --accent-gold: #b89130; /* Vintage Gold/Brass */
    --accent-amber: #e65100; /* Warm Fender Amber */
    --text: #e0e0e0;
    --text-dim: #a0a0a0;
    --glass: rgba(18, 18, 18, 0.75);
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Textures & Panels */
    --tolex-bg: #141414;
    --metal-brushed: linear-gradient(rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.4)),
                     repeating-linear-gradient(90deg, #2c2c2c 0px, #2c2c2c 1px, #1e1e1e 1px, #1e1e1e 2px);
    --tweed-grille: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 4px),
                    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 4px),
                    linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.9) 100%),
                    #151515;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* Header - Amplifier Head */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--tolex-bg);
    border-top: 5px solid #111;
    border-bottom: 5px solid #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    padding: 0;
}

/* Piping lines (top and bottom) */
.site-header::before,
.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, #fff 50%, var(--accent-gold) 100%);
    z-index: 10;
}
.site-header::before { top: -2px; }
.site-header::after { bottom: -2px; }

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--metal-brushed);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
    padding: 0.8rem 2rem;
    transition: var(--transition);
}

.site-header.scrolled .container {
    padding: 0.5rem 2rem;
}

.brand img {
    height: 44px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: var(--transition);
}
.site-header.scrolled .brand img {
    height: 38px;
}

/* Amp Controls on Faceplate */
.amp-faceplate-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
    border-right: 1px dashed rgba(255, 255, 255, 0.15);
    padding-right: 2rem;
}

@media (max-width: 1024px) {
    .amp-faceplate-controls {
        gap: 1rem;
        margin-right: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 900px) {
    .amp-faceplate-controls {
        display: none; /* Hide interactive panel on smaller screens to keep navigation clean */
    }
}

.knob-panel {
    display: flex;
    gap: 1.25rem;
}

.knob-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.knob {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #444 0%, #1a1a1a 70%, #000 100%);
    border: 1.5px solid #333;
    box-shadow: 
        0 3px 5px rgba(0, 0, 0, 0.5), 
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    transform: rotate(-120deg); /* Start at minimum position */
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.knob-pointer {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 2px;
    height: 8px;
    background: #ffffff;
    border-radius: 1px;
    transform: translateX(-50%);
}

.knob-label {
    font-size: 0.55rem;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Tactile turn hover effect */
.knob:hover {
    transform: rotate(60deg);
}
#knob-gain:hover { transform: rotate(120deg); }
#knob-bass:hover { transform: rotate(40deg); }
#knob-treble:hover { transform: rotate(80deg); }
#knob-reverb:hover { transform: rotate(110deg); }

.switches-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-switch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.amp-toggle-switch {
    width: 14px;
    height: 26px;
    background: #111;
    border: 1px solid #444;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
    padding: 0;
}

.switch-handle {
    position: absolute;
    left: 2px;
    width: 8px;
    height: 10px;
    background: linear-gradient(180deg, #ccc 0%, #777 100%);
    border-radius: 1.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: top 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    top: 12px; /* OFF state default */
}

.amp-toggle-switch.active .switch-handle {
    top: 2px; /* ON state */
    background: linear-gradient(180deg, #fff 0%, #999 100%);
}

.switch-label {
    font-size: 0.55rem;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

/* Jewel Pilot Lamp */
.jewel-lamp {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff6666 0%, #aa0000 70%, #440000 100%);
    border: 2.5px solid #2d2d2d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(0,0,0,0.8);
    position: relative;
    cursor: pointer;
    transition: background-color 0.4s, box-shadow 0.4s;
}

.jewel-lens {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.jewel-lamp.active {
    background: radial-gradient(circle, #ffcccc 5%, #ff1e1e 60%, #880000 100%);
    box-shadow: 
        0 0 14px 4px rgba(255, 30, 30, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    animation: jewel-pulse 2.5s infinite ease-in-out;
}

@keyframes jewel-pulse {
    0%, 100% {
        box-shadow: 0 0 12px 3px rgba(255, 30, 30, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px 8px rgba(255, 30, 30, 0.95), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    }
}

/* Amplifier Standby Mode Override */
body.amp-standby {
    filter: brightness(0.75) contrast(0.95) sepia(0.15);
    transition: filter 0.8s ease;
}

body.amp-standby * {
    --accent: #5e5e5e !important;
    --accent-glow: rgba(94, 94, 94, 0.15) !important;
    --accent-amber: #444444 !important;
}

body.amp-standby .pulse-glow {
    animation: none !important;
    box-shadow: none !important;
}

body.amp-standby .brand img {
    filter: grayscale(1) opacity(0.4) drop-shadow(0 0 0 transparent);
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(211, 47, 47, 0.5);
}

.lang-switch {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
    position: relative;
    z-index: 1010;
}

.flag-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.flag-btn i {
    font-size: 0.8rem;
}

.flag-btn:hover,
.flag-btn.active {
    color: var(--accent);
}

/* Hero */
.hero {
    min-height: 100dvh;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(230, 81, 0, 0.28) 0%, rgba(211, 47, 47, 0.12) 45%, #080808 85%);
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
}

/* Carbon Fiber grid texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 50%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.01) 50%, transparent 50%),
        url('../images/textures/grid.png');
    background-size: 8px 8px, 8px 8px, auto;
    opacity: 0.15;
    pointer-events: none;
}

/* Stage Lighting Spotlights */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.stage-spotlight {
    position: absolute;
    top: -20%;
    width: 50%;
    height: 140%;
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
    transform-origin: top center;
    mix-blend-mode: screen;
}

.spot-left {
    left: 0%;
    transform: rotate(-15deg);
    animation: spotlightLeft 15s infinite ease-in-out alternate;
}

.spot-right {
    right: 0%;
    transform: rotate(15deg);
    animation: spotlightRight 15s infinite ease-in-out alternate;
}

@keyframes spotlightLeft {
    0% { transform: rotate(-25deg); opacity: 0.3; }
    100% { transform: rotate(-5deg); opacity: 0.8; }
}

@keyframes spotlightRight {
    0% { transform: rotate(5deg); opacity: 0.8; }
    100% { transform: rotate(25deg); opacity: 0.3; }
}

.hero-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 45px rgba(211, 47, 47, 0.65)) drop-shadow(0 0 15px rgba(230, 81, 0, 0.45));
    animation: float-logo 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
    transition: filter 0.8s ease;
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.hero strong {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.cta-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

/* Buttons - Amplifier & Stompbox Aesthetic */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 1.1rem 2.2rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.85rem;
    position: relative;
    outline: none;
}

/* Stompbox Pedal Style (Primary Button) */
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #9b1c1c 100%);
    border: 2px solid #555;
    color: white !important;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 4px 0 #550f0f,
        0 6px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* LED Indicator in button */
.btn-primary::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffcccc 10%, #ff1e1e 70%, #990000 100%);
    margin-right: 12px;
    box-shadow: 0 0 8px #ff1e1e;
    animation: jewel-pulse 1.8s infinite ease-in-out;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e03a3a 0%, var(--accent) 100%);
    transform: translateY(1px);
    box-shadow: 
        0 3px 0 #550f0f,
        0 4px 8px rgba(0, 0, 0, 0.5),
        0 0 15px var(--accent-glow),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 
        0 0px 0 #550f0f,
        0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Brushed Metal Knob Style (Secondary Button) */
.btn-secondary {
    background: var(--metal-brushed);
    border: 2px solid #666;
    color: var(--text) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 4px 0 #2a2a2a,
        0 6px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    transform: translateY(1px);
    box-shadow: 
        0 3px 0 #2a2a2a,
        0 4px 8px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(184, 145, 48, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 
        0 0px 0 #2a2a2a,
        0 2px 4px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Standby override for buttons */
body.amp-standby .btn-primary::before {
    background: radial-gradient(circle, #555 10%, #333 70%);
    box-shadow: none;
    animation: none;
}

body.amp-standby .btn-primary {
    background: linear-gradient(135deg, #444 0%, #2a2a2a 100%);
    border-color: #333;
    box-shadow: 0 4px 0 #151515, 0 6px 12px rgba(0,0,0,0.6);
}

body.amp-standby .btn-secondary {
    border-color: #333;
    box-shadow: 0 4px 0 #151515, 0 6px 12px rgba(0,0,0,0.6);
}

.pulse-glow {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 
            0 4px 0 #550f0f,
            0 6px 12px rgba(0, 0, 0, 0.6),
            inset 0 1px 1px rgba(255, 255, 255, 0.35),
            0 0 0 0 rgba(211, 47, 47, 0.4);
    }
    70% {
        box-shadow: 
            0 4px 0 #550f0f,
            0 6px 12px rgba(0, 0, 0, 0.6),
            inset 0 1px 1px rgba(255, 255, 255, 0.35),
            0 0 0 15px rgba(211, 47, 47, 0);
    }
    100% {
        box-shadow: 
            0 4px 0 #550f0f,
            0 6px 12px rgba(0, 0, 0, 0.6),
            inset 0 1px 1px rgba(255, 255, 255, 0.35),
            0 0 0 0 rgba(211, 47, 47, 0);
    }
}

/* Sections & Amp Stack Casing */
section {
    padding: 7rem 0;
    position: relative;
    border-top: 6px solid #141414; /* Tolex casing edges */
    border-bottom: 6px solid #141414;
    box-shadow: 
        inset 0 12px 15px -10px rgba(0, 0, 0, 0.9),
        inset 0 -12px 15px -10px rgba(0, 0, 0, 0.9);
}

/* Gold piping separator between stack sections */
section::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, #fff 50%, var(--accent-gold) 100%);
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 3;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #888 20%, #bbb 50%, #888 80%, transparent);
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -3.5px;
    left: calc(50% + 60px);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff 10%, #d4af37 60%, #8a6d1c 100%);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lead {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* About Section - Luthier Mahogany Workbench Vibe */
.about-game {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.88) 100%),
        repeating-linear-gradient(90deg, rgba(74, 30, 20, 0.25) 0px, rgba(74, 30, 20, 0.25) 2px, transparent 2px, transparent 15px),
        #15100c; /* Rich Mahogany brown */
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border: 6px solid #2c2c2c;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
    border-radius: 4px;
    overflow: hidden;
}

/* Chrome rivets on About frame corners */
.about-image::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #fff, #aaa 60%, #444 100%);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 
        calc(100% - 14px) 0 0 #aaa,
        0 calc(100% - 14px) 0 #aaa,
        calc(100% - 14px) calc(100% - 14px) 0 #aaa;
}

.about-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Carousels Common Styles */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0.5rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-wrapper .feature-card,
.carousel-wrapper .system-item {
    flex: 0 0 calc((100% - 4rem) / 3); /* 3 cards visible */
}

@media (max-width: 900px) {
    .carousel-wrapper .feature-card,
    .carousel-wrapper .system-item {
        flex: 0 0 calc((100% - 2rem) / 2); /* 2 cards visible */
    }
}

@media (max-width: 600px) {
    .carousel-wrapper .feature-card,
    .carousel-wrapper .system-item {
        flex: 0 0 100%; /* 1 card visible */
    }
}

/* Control Buttons (Chrome knobs style) */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eee 0%, #aaa 100%);
    border: 2px solid #555;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    color: #111;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.carousel-control:hover {
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(255,255,255,0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    color: var(--accent);
}

.carousel-control:active {
    transform: translateY(-50%) scale(0.92);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.carousel-control.prev { left: -3rem; }
.carousel-control.next { right: -3rem; }

@media (max-width: 1250px) {
    .carousel-control.prev { left: -1rem; }
    .carousel-control.next { right: -1rem; }
}

@media (max-width: 768px) {
    .carousel-control {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .carousel-control.prev { left: -0.5rem; }
    .carousel-control.next { right: -0.5rem; }
}

/* Key Features Section - Charcoal Brushed Steel faceplate */
.key-features {
    background: var(--metal-brushed);
    background-color: #121212;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    background: rgba(10, 10, 10, 0.7);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    background: rgba(26, 26, 26, 0.95);
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.5),
        0 0 15px rgba(211, 47, 47, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Gameplay Systems Section - Tweed Cabinet Speaker Grille */
.gameplay-systems {
    background: var(--tweed-grille);
}

.system-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(18, 18, 18, 0.85);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.system-item:hover {
    background: rgba(26, 26, 26, 0.95);
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.6),
        0 0 12px rgba(184, 145, 48, 0.15);
}

.system-item i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-top: 0.25rem;
    text-shadow: 0 0 8px rgba(184, 145, 48, 0.3);
}

.system-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.system-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Unlimited Customization Section - Dark Carbon Fiber Grid */
.unlimited-customization {
    background: 
        radial-gradient(circle at center, rgba(30, 30, 30, 0.1) 0%, transparent 80%),
        linear-gradient(45deg, #111 25%, transparent 25%),
        linear-gradient(-45deg, #111 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #111 75%),
        linear-gradient(-45deg, transparent 75%, #111 75%);
    background-size: 8px 8px;
    background-color: #0c0c0c;
}

.unlimited-customization .highlights {
    margin-top: 1rem;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

/* Swatches Layout */
.swatches-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.swatch {
    position: relative;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.swatch:hover {
    transform: scale(1.15) translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

/* Color swatches (circles with lacquer sheen) */
.color-swatches .swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.color-olympic { background-color: #f4f3ed; }
.color-candy { background-color: #a30015; }
.color-placid { background-color: #245e8f; }
.color-shell { background-color: #e5b0b2; }
.color-surf { background-color: #7ab39c; }

.sheen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* Wood swatches (rectangles with grains) */
.wood-swatches .swatch {
    width: 65px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 4px;
}

.wood-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.wood-label {
    position: relative;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 4px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

/* Wood background patterns in pure CSS */
.wood-maple {
    background: #e4cfa2;
    background-image: repeating-linear-gradient(90deg, rgba(161, 137, 89, 0.15) 0px, rgba(161, 137, 89, 0.15) 1px, transparent 1px, transparent 15px),
                      repeating-linear-gradient(0deg, rgba(161, 137, 89, 0.1) 0px, rgba(161, 137, 89, 0.1) 1px, transparent 1px, transparent 4px);
}
.wood-mahogany {
    background: #652a1a;
    background-image: repeating-linear-gradient(90deg, rgba(50, 15, 10, 0.2) 0px, rgba(50, 15, 10, 0.2) 2px, transparent 2px, transparent 12px),
                      repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0px, rgba(0, 0, 0, 0.25) 1px, transparent 1px, transparent 8px);
}
.wood-rosewood {
    background: #3e1b12;
    background-image: repeating-linear-gradient(90deg, rgba(20, 5, 2, 0.3) 0px, rgba(20, 5, 2, 0.3) 3px, transparent 3px, transparent 18px),
                      repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0px, rgba(0, 0, 0, 0.3) 2px, transparent 2px, transparent 6px);
}
.wood-ebony {
    background: #111111;
    background-image: repeating-linear-gradient(90deg, rgba(30, 30, 30, 0.15) 0px, rgba(30, 30, 30, 0.15) 1px, transparent 1px, transparent 8px);
}

/* Finishes swatches */
.finish-swatches .swatch {
    width: 65px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 4px;
}

.finish-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.finish-label {
    position: relative;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 4px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.finish-solid .finish-preview {
    background: #d32f2f;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
}
.finish-metallic .finish-preview {
    background: radial-gradient(circle, #555 10%, #222 90%);
    background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 3px 3px;
}
.finish-translucent .finish-preview {
    background: rgba(211, 47, 47, 0.55);
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 10px);
}
.finish-burst .finish-preview {
    background: radial-gradient(circle, #f39c12 10%, #d35400 50%, #000 100%);
}

/* Community Section - Tolex dark background */
.community {
    text-align: center;
    background: var(--tolex-bg);
}

/* Media Gallery Section - Vintage Gray Tweed */
.media-gallery {
    background: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px),
        linear-gradient(rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.95) 100%),
        #1e1e1e;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; /* Wide spacing for desktop */
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 6px solid #222; /* Heavy frame */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
    outline: 1.5px solid var(--accent-gold);
    outline-offset: -8px; /* Recessed gold line */
}

/* Chrome rivets on Gallery corners */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #fff, #bbb 60%, #444 100%);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 
        calc(100% - 16px) 0 0 #bbb,
        0 calc(100% - 16px) 0 #bbb,
        calc(100% - 16px) calc(100% - 16px) 0 #bbb;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
    z-index: 4;
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.faq-item summary {
    padding: 1.5rem;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dim);
}

/* Footer - Amplifier Cabinet */
.site-footer {
    padding: 5rem 0;
    background: var(--tolex-bg);
    background-image: var(--tweed-grille);
    border-top: 6px solid #111;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Corner Protectors */
.corner-plate {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #555 0%, #222 50%, #111 100%);
    border: 1.5px solid #444;
    z-index: 10;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.corner-plate::after {
    content: '+';
    position: absolute;
    font-family: monospace;
    font-weight: bold;
    color: #111;
    font-size: 11px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}

.corner-plate.top-left { top: -2px; left: -2px; border-radius: 0 0 100% 0; }
.corner-plate.top-left::after { bottom: 12px; right: 12px; }

.corner-plate.top-right { top: -2px; right: -2px; border-radius: 0 0 0 100%; }
.corner-plate.top-right::after { bottom: 12px; left: 12px; }

.corner-plate.bottom-left { bottom: -2px; left: -2px; border-radius: 0 100% 0 0; }
.corner-plate.bottom-left::after { top: 12px; right: 12px; }

.corner-plate.bottom-right { bottom: -2px; right: -2px; border-radius: 100% 0 0 0; }
.corner-plate.bottom-right::after { top: 12px; left: 12px; }

/* Specifications Metal Plate */
.amp-spec-plate {
    background: var(--metal-brushed);
    border: 3px double var(--accent-gold);
    border-radius: 6px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.7),
        inset 0 0 15px rgba(0, 0, 0, 0.9);
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.spec-plate-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-dim);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(211, 47, 47, 0.5);
    transform: translateY(-2px);
}

.site-footer p.copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* 1/4" Input Jack Socket */
.amp-input-jack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.jack-label {
    font-size: 0.55rem;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: var(--text-dim);
    letter-spacing: 1.5px;
}

.jack-hole {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #000000 30%, #555 40%, #cccccc 55%, #777 65%, #333 75%, #1a1a1a 100%);
    border: 2px solid #444;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255,255,255,0.4);
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
    transition: transform 0.1s ease;
}

.jack-hole:active {
    transform: scale(0.95);
}

.jack-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Sound Wave animation for Jack */
.sound-wave-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 20px;
    margin-top: 4px;
}

.sound-wave-container .wave {
    width: 3px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
    opacity: 0.15;
    transition: height 0.15s ease, opacity 0.15s ease;
}

/* Plugged Active State */
.amp-input-jack.plugged .sound-wave-container .wave {
    animation: wave-bounce 0.8s ease infinite alternate;
    opacity: 0.85;
}

.amp-input-jack.plugged .sound-wave-container .wave:nth-child(1) { animation-delay: 0.1s; }
.amp-input-jack.plugged .sound-wave-container .wave:nth-child(2) { animation-delay: 0.3s; }
.amp-input-jack.plugged .sound-wave-container .wave:nth-child(3) { animation-delay: 0.2s; }

@keyframes wave-bounce {
    0% { height: 4px; }
    100% { height: 18px; }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .cta-row {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-row .btn {
        width: 100%;
        text-align: center;
    }

    .amp-spec-plate {
        padding: 1.5rem 1rem;
    }

    .spec-plate-header {
        font-size: 0.65rem;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        z-index: 999;
    }

    .nav.is-open {
        display: flex;
    }

    .lang-switch {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        margin-top: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        text-align: center;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }
}

/* Added Hamburger & Lightbox basic styles to ensure functionality */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
}

.nav-toggle .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    margin: 6px 0;
    transition: var(--transition);
}

.nav-toggle.is-active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active .line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10000;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #e06666;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Hide Scroll to Top on Mobile & Tablet */
@media (max-width: 1024px) {
    .scroll-to-top,
    .scroll-to-top.visible {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}