* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, Tahoma, sans-serif;
    background:
        radial-gradient(circle at top, #293241 0%, #111827 45%, #070b12 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}
/* =========================
   HEADER
========================= */
.header {
    text-align: center;
    padding: 25px 15px 10px;
}
.header h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255,255,255,.2);
}
.header p {
    color: #cbd5e1;
    font-size: 16px;
}
/* =========================
   CONTROL BAR
========================= */
.controls {
    width: min(1100px, 94%);
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.volume-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
input[type="range"] {
    width: 160px;
    accent-color: #f59e0b;
}
.info-button {
    padding: 10px 18px;
    border-radius: 10px;
    background: #f59e0b;
    color: #111827;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: .2s;
}
.info-button:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}
/* =========================
   DRUM STAGE
========================= */
.stage {
    width: min(1100px, 96%);
    height: 650px;
    margin: 0 auto 30px;
    position: relative;
    border-radius: 30px;
    background:
        radial-gradient(
            ellipse at center,
            #263241 0%,
            #141b25 65%,
            #0b1017 100%
        );
    box-shadow:
        inset 0 0 80px rgba(0,0,0,.7),
        0 20px 60px rgba(0,0,0,.4);
    overflow: hidden;
}
/* พื้นเวที */
.stage::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 30px;
    height: 100px;
    border-radius: 50%;
    background:
        radial-gradient(
            ellipse,
            rgba(0,0,0,.7),
            transparent 70%
        );
}
/* =========================
   CYMBALS
========================= */
.cymbal {
    position: absolute;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 45% 35%,
            #fff5b5 0%,
            #d9a441 15%,
            #b67b19 42%,
            #80520e 70%,
            #3e2607 100%
        );
    border: 5px solid #9b6b16;
    box-shadow:
        inset 10px 8px 20px rgba(255,255,255,.35),
        inset -15px -15px 25px rgba(0,0,0,.45),
        0 10px 20px rgba(0,0,0,.5);
    z-index: 3;
    cursor: pointer;
    transition:
        transform .08s,
        filter .08s;
}
.cymbal::before {
    content: "";
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.18);
}
.cymbal::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #65430e;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.cymbal.hit {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.5);
}
.crash {
    left: 8%;
    top: 8%;
}
.ride {
    right: 7%;
    top: 12%;
}
.hihat {
    left: 21%;
    top: 27%;
    width: 115px;
    height: 115px;
}
/* =========================
   TOMS
========================= */
.tom {
    position: absolute;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 40% 30%,
            #e95d4f,
            #9f2922 55%,
            #42100e 100%
        );
    border: 8px solid #8b8f96;
    box-shadow:
        inset 0 8px 20px rgba(255,255,255,.15),
        inset 0 -15px 25px rgba(0,0,0,.6),
        0 12px 25px rgba(0,0,0,.6);
    z-index: 5;
    cursor: pointer;
    transition:
        transform .08s,
        filter .08s;
}
.tom::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.15);
}
.tom.hit {
    transform: scale(.94);
    filter: brightness(1.4);
}
.tom1 {
    width: 155px;
    height: 125px;
    left: 37%;
    top: 29%;
}
.tom2 {
    width: 175px;
    height: 140px;
    right: 27%;
    top: 31%;
}
/* =========================
   SNARE
========================= */
.snare {
    position: absolute;
    width: 190px;
    height: 125px;
    left: 23%;
    bottom: 17%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            #f1f5f9 0%,
            #cbd5e1 55%,
            #64748b 100%
        );
    border: 10px solid #64748b;
    box-shadow:
        inset 0 8px 20px rgba(255,255,255,.5),
        inset 0 -15px 25px rgba(0,0,0,.4),
        0 15px 25px rgba(0,0,0,.5);
    z-index: 6;
    cursor: pointer;
    transition:
        transform .08s,
        filter .08s;
}
.snare.hit {
    transform: scale(.95);
    filter: brightness(1.35);
}
/* =========================
   BASS DRUM
========================= */
.kick {
    position: absolute;
    width: 285px;
    height: 285px;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 40% 35%,
            #4b5563,
            #1f2937 45%,
            #090d13 100%
        );
    border: 14px solid #111827;
    box-shadow:
        inset 0 15px 30px rgba(255,255,255,.1),
        inset 0 -20px 35px rgba(0,0,0,.8),
        0 20px 40px rgba(0,0,0,.7);
    z-index: 4;
    cursor: pointer;
    transition:
        transform .08s,
        filter .08s;
}
.kick::before {
    content: "BASS DRUM";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #9ca3af;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}
.kick.hit {
    transform:
        translateX(-50%)
        scale(.96);
    filter: brightness(1.3);
}
/* =========================
   LABEL
========================= */
.label {
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    background: rgba(0,0,0,.7);
    color: white;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
}
/* =========================
   KEYBOARD LABEL
========================= */
.key {
    position: absolute;
    right: 8px;
    top: 8px;
    min-width: 28px;
    height: 28px;
    padding: 4px 7px;
    border-radius: 8px;
    background: rgba(0,0,0,.55);
    color: #fbbf24;
    font-weight: bold;
    text-align: center;
    z-index: 20;
}
/* =========================
   STANDS
========================= */
.stand {
    position: absolute;
    width: 7px;
    height: 230px;
    background:
        linear-gradient(
            #777,
            #222
        );
    z-index: 1;
}
.stand1 {
    left: 15%;
    top: 18%;
    transform: rotate(-8deg);
}
.stand2 {
    right: 13%;
    top: 21%;
    transform: rotate(8deg);
}
/* =========================
   INSTRUCTIONS
========================= */
.instructions {
    width: min(1100px, 94%);
    margin: 20px auto 50px;
    padding: 25px;
    background: rgba(255,255,255,.06);
    border:
        1px solid
        rgba(255,255,255,.1);
    border-radius: 20px;
}
.instructions h2 {
    margin-bottom: 15px;
}
.instructions > p {
    margin-bottom: 15px;
    color: #cbd5e1;
}
.key-list {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(160px, 1fr)
        );
    gap: 10px;
}
.key-item {
    padding: 12px;
    border-radius: 10px;
    background:
        rgba(0,0,0,.25);
    transition: .2s;
}
.key-item:hover {
    background:
        rgba(245,158,11,.15);
    transform: translateY(-2px);
}
.key-item b {
    color: #fbbf24;
}
/* =========================
   INFO MODAL
========================= */
.info-panel {
    position: fixed;
    inset: 0;
    background:
        rgba(0,0,0,.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
}
.info-panel.show {
    display: flex;
}
.info-card {
    width: min(600px, 100%);
    max-height: 85vh;
    overflow: auto;
    background: #17202c;
    padding: 30px;
    border-radius: 20px;
    box-shadow:
        0 30px 80px
        rgba(0,0,0,.6);
}
.info-card h2 {
    margin-bottom: 15px;
    color: #fbbf24;
}
.info-card p {
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 12px;
}
.close {
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 8px;
    background: #ef4444;
    color: white;
    cursor: pointer;
}
.close:hover {
    background: #dc2626;
}
/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {
    .stage {
        height: 520px;
    }
    .cymbal {
        width: 105px;
        height: 105px;
    }
    .crash {
        left: 3%;
    }
    .ride {
        right: 2%;
    }
    .hihat {
        left: 17%;
        top: 30%;
        width: 85px;
        height: 85px;
    }
    .tom1 {
        width: 115px;
        height: 95px;
        left: 32%;
    }
    .tom2 {
        width: 125px;
        height: 100px;
        right: 22%;
    }
    .snare {
        width: 135px;
        height: 95px;
        left: 13%;
        bottom: 22%;
    }
    .kick {
        width: 205px;
        height: 205px;
    }
    .kick::before {
        font-size: 12px;
    }
    .instructions {
        padding: 18px;
    }
}
/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 420px) {
    .stage {
        height: 470px;
    }
    .cymbal {
        width: 85px;
        height: 85px;
    }
    .hihat {
        width: 70px;
        height: 70px;
    }
    .tom1 {
        width: 95px;
        height: 78px;
    }
    .tom2 {
        width: 105px;
        height: 85px;
    }
    .snare {
        width: 115px;
        height: 80px;
    }
    .kick {
        width: 175px;
        height: 175px;
    }
    .label {
        font-size: 9px;
    }
    .key {
        font-size: 11px;
        min-width: 22px;
        height: 22px;
        padding: 3px 5px;
    }
}