/* PTT Radios Guide — Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #070b12;
    --bg-elevated: #0d1420;
    --bg-card: #121a28;
    --text: #eef2f7;
    --text-muted: #8b9cb3;
    --text-dim: #5c6b80;
    --accent: #00e5b0;
    --accent-dim: #00b88c;
    --accent-glow: rgba(0, 229, 176, 0.25);
    --blue: #3b82f6;
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
    --warning: #f59e0b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #5fffd4; }

header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 1.5rem;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo a {
    color: var(--text); text-decoration: none;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
nav { display: flex; gap: 0.2rem; flex-wrap: wrap; }
nav a {
    color: var(--text-muted); padding: 0.4rem 0.7rem; border-radius: 8px;
    font-size: 0.82rem; font-weight: 500; transition: all 0.15s;
}
nav a:hover, nav a.active {
    background: rgba(0, 229, 176, 0.1); color: var(--accent); text-decoration: none;
}

.hero {
    position: relative; padding: 4rem 1.5rem 3rem; text-align: center;
    overflow: hidden; border-bottom: 1px solid var(--border);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 229, 176, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
}
.hero h1 {
    position: relative; font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 0.85rem;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
    position: relative; font-size: 1.1rem; color: var(--text-muted);
    max-width: 640px; margin: 0 auto 1.75rem; line-height: 1.7;
}
.hero-badges {
    position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
.badge {
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
    padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.78rem;
    font-weight: 500; color: var(--accent); transition: all 0.2s;
}
.badge a { color: inherit; }
.badge:hover {
    border-color: var(--accent); background: rgba(0, 229, 176, 0.08);
    box-shadow: 0 0 20px var(--accent-glow);
}

main { max-width: 1140px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
section { margin-bottom: 3.5rem; }
h2 {
    font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 1.15rem; color: var(--text);
    display: flex; align-items: center; gap: 0.6rem;
}
h2::before {
    content: ''; width: 4px; height: 1.2em;
    background: linear-gradient(180deg, var(--accent), var(--blue));
    border-radius: 2px; flex-shrink: 0;
}
h3 { font-size: 1.15rem; font-weight: 600; margin: 1.4rem 0 0.6rem; color: #a5c4ff; }
p, li { color: var(--text-muted); margin-bottom: 0.7rem; }
ul, ol { padding-left: 1.35rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

.cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.15rem; margin: 1.5rem 0;
}
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue)); opacity: 0; transition: opacity 0.25s;
}
.card:hover {
    transform: translateY(-4px); border-color: var(--border-strong);
    box-shadow: var(--shadow), 0 0 40px rgba(0, 229, 176, 0.06);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; color: var(--text); font-size: 1.1rem; }
.card .tag {
    display: inline-block; background: rgba(0, 229, 176, 0.12); color: var(--accent);
    font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 5px;
    margin-bottom: 0.65rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.card p { flex-grow: 1; font-size: 0.92rem; }
.btn, .card a.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin-top: 1rem; background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: #041510 !important; padding: 0.55rem 1.15rem; border-radius: 8px;
    font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer;
    transition: all 0.2s; text-decoration: none !important;
}
.btn:hover, .card a.btn:hover {
    transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow);
}

.detail {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem;
}
.detail h3:first-child { margin-top: 0; }
.specs {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem; margin: 1.15rem 0; background: rgba(0,0,0,0.3);
    padding: 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.spec-item strong {
    display: block; color: var(--accent); font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem;
}
.spec-item span { color: var(--text); font-size: 0.92rem; font-weight: 500; }

.history-block, .uses-block {
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(0,229,176,0.04));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.4rem 1.6rem; margin: 1.25rem 0;
}
.history-block h3, .uses-block h3 { margin-top: 0; display: flex; align-items: center; gap: 0.5rem; }

.table-wrap {
    overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--bg-card);
}
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th {
    background: rgba(0,0,0,0.3); color: var(--accent); font-weight: 600;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0, 229, 176, 0.03); }
td { color: var(--text-muted); }
td a { font-weight: 500; }

.callout {
    background: rgba(59, 130, 246, 0.08); border-left: 3px solid var(--blue);
    padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; font-size: 0.93rem;
}
.callout.warn { background: rgba(245, 158, 11, 0.08); border-left-color: var(--warning); }

.page-layout {
    display: grid; grid-template-columns: 1fr 340px; gap: 2.25rem; align-items: start;
}
@media (max-width: 960px) {
    .page-layout { grid-template-columns: 1fr; }
    .radio-sticky { position: relative !important; top: auto !important; order: -1; }
}

/* Virtual Radio Base */
.radio-sticky { position: sticky; top: 76px; }
.virtual-radio-wrap { max-width: 320px; margin: 0 auto; }
.virtual-radio {
    border-radius: 24px; padding: 1.35rem 1.25rem 1.15rem; user-select: none;
    position: relative; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: box-shadow 0.3s;
}
.virtual-radio.transmitting-active { box-shadow: var(--shadow), 0 0 40px rgba(239, 68, 68, 0.25); }

.radio-antenna {
    width: 7px; height: 48px; margin: -1.35rem auto 0.7rem;
    border-radius: 4px 4px 0 0; position: relative;
}
.radio-antenna::after {
    content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
    width: 13px; height: 13px; border-radius: 50%;
}
.radio-brand {
    text-align: center; font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.55rem; opacity: 0.7;
}
.radio-lcd {
    border-radius: 10px; padding: 0.8rem; margin-bottom: 0.9rem;
    font-family: var(--mono); min-height: 118px; position: relative;
    overflow: hidden; transition: background 0.3s;
}
.radio-lcd.powered-off { filter: brightness(0.15); }
.lcd-top { display: flex; justify-content: space-between; font-size: 0.65rem; margin-bottom: 0.25rem; opacity: 0.75; }
.lcd-channel { font-size: 1.85rem; font-weight: 700; text-align: center; line-height: 1.15; letter-spacing: -0.02em; }
.lcd-freq { font-size: 0.9rem; text-align: center; margin: 0.12rem 0; opacity: 0.9; }
.lcd-status {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.62rem; margin-top: 0.4rem; opacity: 0.8;
}
.lcd-bars { display: flex; gap: 2px; align-items: flex-end; height: 13px; }
.lcd-bars span { width: 4px; background: currentColor; opacity: 0.25; border-radius: 1px; }
.lcd-bars span.on { opacity: 1; }
.tx-indicator {
    position: absolute; top: 10px; right: 12px; width: 9px; height: 9px;
    border-radius: 50%; background: #333; transition: all 0.15s;
}
.tx-indicator.active {
    background: #ef4444; box-shadow: 0 0 10px #ef4444, 0 0 20px rgba(239,68,68,0.4);
    animation: txpulse 0.4s infinite alternate;
}
@keyframes txpulse { from { opacity: 0.8; transform: scale(1); } to { opacity: 1; transform: scale(1.15); } }

.volume-row {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; opacity: 0.7;
}
.volume-row input[type="range"] {
    flex: 1; height: 4px; -webkit-appearance: none; appearance: none; border-radius: 2px; outline: none;
}
.volume-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; cursor: pointer;
}
.channel-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.ch-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid; font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.15s; background: transparent;
}
.ch-btn:hover { transform: scale(1.08); }
.ch-btn:active { transform: scale(0.94); }
.ch-display { flex: 1; text-align: center; font-size: 0.8rem; font-weight: 500; opacity: 0.8; }
.radio-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.85rem; }
.ctrl-btn {
    border: 1px solid; padding: 0.48rem; border-radius: 8px; font-size: 0.72rem;
    font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: all 0.15s;
    text-align: center; background: transparent;
}
.ctrl-btn:hover { filter: brightness(1.2); }
.ctrl-btn:active { transform: scale(0.96); }
.ptt-wrapper { text-align: center; margin: 0.4rem 0 0.6rem; }
.ptt-btn {
    width: 108px; height: 108px; border-radius: 50%; font-weight: 800; font-size: 0.95rem;
    letter-spacing: 0.06em; cursor: pointer; text-transform: uppercase; border: 4px solid;
    transition: all 0.08s; user-select: none; -webkit-user-select: none; touch-action: none; color: #fff;
}
.ptt-btn:hover { filter: brightness(1.08); }
.ptt-btn:active, .ptt-btn.transmitting { transform: translateY(3px) scale(0.97); }
.ptt-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.04em; margin-top: 0.4rem; opacity: 0.5; }
.radio-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 0.45rem; font-size: 0.68rem; opacity: 0.55;
}
.power-switch { display: flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.power-switch input { width: 14px; height: 14px; accent-color: var(--accent); }
.radio-log {
    margin-top: 0.9rem; background: rgba(0,0,0,0.35); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.55rem 0.75rem; font-size: 0.7rem;
    font-family: var(--mono); max-height: 96px; overflow-y: auto; color: var(--text-dim);
}
.radio-log .tx { color: #f87171; }
.radio-log .rx { color: #4ade80; }
.radio-log .sys { color: #60a5fa; }

/* Skins */
.skin-cb { background: linear-gradient(160deg, #2a2a2e 0%, #1a1a1e 50%, #121214 100%); border: 2px solid #3a3a40; }
.skin-cb .radio-antenna { background: linear-gradient(to bottom, #888, #555); }
.skin-cb .radio-antenna::after { background: #888; }
.skin-cb .radio-brand { color: #aaa; }
.skin-cb .radio-lcd { background: #0a1a0a; border: 3px solid #1a3a1a; color: #33ff66; box-shadow: inset 0 0 20px rgba(0,255,80,0.08); }
.skin-cb .volume-row input[type="range"] { background: #333; }
.skin-cb .volume-row input[type="range"]::-webkit-slider-thumb { background: #33ff66; }
.skin-cb .ch-btn { border-color: #555; color: #ccc; background: #2a2a2e; }
.skin-cb .ctrl-btn { border-color: #444; color: #bbb; background: #252528; }
.skin-cb .ptt-btn { background: linear-gradient(145deg, #e53935, #b71c1c); border-color: #7f0000; box-shadow: 0 5px 0 #7f0000, 0 8px 16px rgba(0,0,0,0.5); }
.skin-cb .ptt-btn:active, .skin-cb .ptt-btn.transmitting { box-shadow: 0 2px 0 #7f0000, 0 3px 8px rgba(0,0,0,0.4); }

.skin-frs { background: linear-gradient(160deg, #1e3a5f 0%, #0f2440 100%); border: 2px solid #2a5080; }
.skin-frs .radio-antenna { background: linear-gradient(to bottom, #5b9bd5, #2a5080); }
.skin-frs .radio-antenna::after { background: #5b9bd5; }
.skin-frs .radio-brand { color: #7eb8e8; }
.skin-frs .radio-lcd { background: #061428; border: 3px solid #0a2850; color: #4fc3f7; box-shadow: inset 0 0 20px rgba(79,195,247,0.1); }
.skin-frs .volume-row input[type="range"] { background: #1a3555; }
.skin-frs .volume-row input[type="range"]::-webkit-slider-thumb { background: #4fc3f7; }
.skin-frs .ch-btn { border-color: #2a5080; color: #a0d0f0; background: #163050; }
.skin-frs .ctrl-btn { border-color: #2a5080; color: #90c0e8; background: #142840; }
.skin-frs .ptt-btn { background: linear-gradient(145deg, #42a5f5, #1565c0); border-color: #0d47a1; box-shadow: 0 5px 0 #0d47a1, 0 8px 16px rgba(0,0,0,0.4); }
.skin-frs .ptt-btn:active, .skin-frs .ptt-btn.transmitting { box-shadow: 0 2px 0 #0d47a1, 0 3px 8px rgba(0,0,0,0.3); }

.skin-gmrs { background: linear-gradient(160deg, #1b3d2f 0%, #0d2419 100%); border: 2px solid #2d5a45; }
.skin-gmrs .radio-antenna { background: linear-gradient(to bottom, #4caf7a, #2d5a45); }
.skin-gmrs .radio-antenna::after { background: #4caf7a; }
.skin-gmrs .radio-brand { color: #6dca9a; }
.skin-gmrs .radio-lcd { background: #061a10; border: 3px solid #0d3020; color: #69f0ae; box-shadow: inset 0 0 20px rgba(105,240,174,0.08); }
.skin-gmrs .volume-row input[type="range"] { background: #1a3028; }
.skin-gmrs .volume-row input[type="range"]::-webkit-slider-thumb { background: #69f0ae; }
.skin-gmrs .ch-btn { border-color: #2d5a45; color: #9de0b8; background: #143528; }
.skin-gmrs .ctrl-btn { border-color: #2d5a45; color: #8dd4a8; background: #122e22; }
.skin-gmrs .ptt-btn { background: linear-gradient(145deg, #43a047, #2e7d32); border-color: #1b5e20; box-shadow: 0 5px 0 #1b5e20, 0 8px 16px rgba(0,0,0,0.4); }
.skin-gmrs .ptt-btn:active, .skin-gmrs .ptt-btn.transmitting { box-shadow: 0 2px 0 #1b5e20, 0 3px 8px rgba(0,0,0,0.3); }

.skin-murs { background: linear-gradient(160deg, #3e2723 0%, #2a1a16 100%); border: 2px solid #5d4037; }
.skin-murs .radio-antenna { background: linear-gradient(to bottom, #a1887f, #5d4037); }
.skin-murs .radio-antenna::after { background: #a1887f; }
.skin-murs .radio-brand { color: #bcaaa4; }
.skin-murs .radio-lcd { background: #1a100c; border: 3px solid #3e2723; color: #ffcc80; box-shadow: inset 0 0 20px rgba(255,204,128,0.08); }
.skin-murs .volume-row input[type="range"] { background: #3e2723; }
.skin-murs .volume-row input[type="range"]::-webkit-slider-thumb { background: #ffcc80; }
.skin-murs .ch-btn { border-color: #5d4037; color: #d7ccc8; background: #33201c; }
.skin-murs .ctrl-btn { border-color: #5d4037; color: #cbb8b0; background: #2c1c18; }
.skin-murs .ptt-btn { background: linear-gradient(145deg, #ef6c00, #e65100); border-color: #bf360c; box-shadow: 0 5px 0 #bf360c, 0 8px 16px rgba(0,0,0,0.4); }
.skin-murs .ptt-btn:active, .skin-murs .ptt-btn.transmitting { box-shadow: 0 2px 0 #bf360c, 0 3px 8px rgba(0,0,0,0.3); }

.skin-ham { background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 100%); border: 2px solid #2a2a4a; }
.skin-ham .radio-antenna { background: linear-gradient(to bottom, #7c6af0, #4a3db0); }
.skin-ham .radio-antenna::after { background: #7c6af0; }
.skin-ham .radio-brand { color: #a89cf5; }
.skin-ham .radio-lcd { background: #0c0a18; border: 3px solid #1e1a38; color: #ffb74d; box-shadow: inset 0 0 25px rgba(255,183,77,0.1); }
.skin-ham .volume-row input[type="range"] { background: #22223a; }
.skin-ham .volume-row input[type="range"]::-webkit-slider-thumb { background: #ffb74d; }
.skin-ham .ch-btn { border-color: #3a3a6a; color: #c0b8f0; background: #1e1e38; }
.skin-ham .ctrl-btn { border-color: #3a3a6a; color: #b0a8e8; background: #1a1a30; }
.skin-ham .ptt-btn { background: linear-gradient(145deg, #7c4dff, #651fff); border-color: #4a148c; box-shadow: 0 5px 0 #4a148c, 0 8px 16px rgba(0,0,0,0.5); }
.skin-ham .ptt-btn:active, .skin-ham .ptt-btn.transmitting { box-shadow: 0 2px 0 #4a148c, 0 3px 8px rgba(0,0,0,0.4); }

.skin-marine { background: linear-gradient(160deg, #0d2137 0%, #061525 100%); border: 2px solid #1a4a6e; }
.skin-marine .radio-antenna { background: linear-gradient(to bottom, #4dd0e1, #00838f); }
.skin-marine .radio-antenna::after { background: #4dd0e1; }
.skin-marine .radio-brand { color: #80deea; }
.skin-marine .radio-lcd { background: #021018; border: 3px solid #0a3040; color: #18ffff; box-shadow: inset 0 0 20px rgba(24,255,255,0.1); }
.skin-marine .volume-row input[type="range"] { background: #0a3040; }
.skin-marine .volume-row input[type="range"]::-webkit-slider-thumb { background: #18ffff; }
.skin-marine .ch-btn { border-color: #1a4a6e; color: #b2ebf2; background: #0d2a40; }
.skin-marine .ctrl-btn { border-color: #1a4a6e; color: #a0d8e0; background: #0b2438; }
.skin-marine .ptt-btn { background: linear-gradient(145deg, #00bcd4, #0097a7); border-color: #006064; box-shadow: 0 5px 0 #006064, 0 8px 16px rgba(0,0,0,0.4); }
.skin-marine .ptt-btn:active, .skin-marine .ptt-btn.transmitting { box-shadow: 0 2px 0 #006064, 0 3px 8px rgba(0,0,0,0.3); }

.skin-pmr446 { background: linear-gradient(160deg, #263238 0%, #1a2328 100%); border: 2px solid #37474f; }
.skin-pmr446 .radio-antenna { background: linear-gradient(to bottom, #90a4ae, #546e7a); }
.skin-pmr446 .radio-antenna::after { background: #90a4ae; }
.skin-pmr446 .radio-brand { color: #b0bec5; }
.skin-pmr446 .radio-lcd { background: #0d1518; border: 3px solid #1c2b30; color: #80cbc4; box-shadow: inset 0 0 20px rgba(128,203,196,0.08); }
.skin-pmr446 .volume-row input[type="range"] { background: #263238; }
.skin-pmr446 .volume-row input[type="range"]::-webkit-slider-thumb { background: #80cbc4; }
.skin-pmr446 .ch-btn { border-color: #37474f; color: #cfd8dc; background: #1e2a30; }
.skin-pmr446 .ctrl-btn { border-color: #37474f; color: #b0bec5; background: #1a252b; }
.skin-pmr446 .ptt-btn { background: linear-gradient(145deg, #00897b, #00695c); border-color: #004d40; box-shadow: 0 5px 0 #004d40, 0 8px 16px rgba(0,0,0,0.4); }
.skin-pmr446 .ptt-btn:active, .skin-pmr446 .ptt-btn.transmitting { box-shadow: 0 2px 0 #004d40, 0 3px 8px rgba(0,0,0,0.3); }

.skin-internet { background: linear-gradient(160deg, #1a1030 0%, #0d0818 100%); border: 2px solid #3a2060; }
.skin-internet .radio-antenna { background: linear-gradient(to bottom, #e040fb, #9c27b0); }
.skin-internet .radio-antenna::after { background: #e040fb; }
.skin-internet .radio-brand { color: #ea80fc; }
.skin-internet .radio-lcd { background: #0c0618; border: 3px solid #1e0f38; color: #ea80fc; box-shadow: inset 0 0 25px rgba(234,128,252,0.1); }
.skin-internet .volume-row input[type="range"] { background: #1e1030; }
.skin-internet .volume-row input[type="range"]::-webkit-slider-thumb { background: #ea80fc; }
.skin-internet .ch-btn { border-color: #3a2060; color: #e0b0f0; background: #1a1030; }
.skin-internet .ctrl-btn { border-color: #3a2060; color: #d0a0e8; background: #160e28; }
.skin-internet .ptt-btn { background: linear-gradient(145deg, #d500f9, #aa00ff); border-color: #6a0080; box-shadow: 0 5px 0 #6a0080, 0 8px 16px rgba(0,0,0,0.5); }
.skin-internet .ptt-btn:active, .skin-internet .ptt-btn.transmitting { box-shadow: 0 2px 0 #6a0080, 0 3px 8px rgba(0,0,0,0.4); }

.skin-commercial { background: linear-gradient(160deg, #212121 0%, #121212 100%); border: 2px solid #424242; }
.skin-commercial .radio-antenna { background: linear-gradient(to bottom, #9e9e9e, #616161); }
.skin-commercial .radio-antenna::after { background: #9e9e9e; }
.skin-commercial .radio-brand { color: #bdbdbd; }
.skin-commercial .radio-lcd { background: #0a0a0a; border: 3px solid #1e1e1e; color: #ffeb3b; box-shadow: inset 0 0 20px rgba(255,235,59,0.08); }
.skin-commercial .volume-row input[type="range"] { background: #333; }
.skin-commercial .volume-row input[type="range"]::-webkit-slider-thumb { background: #ffeb3b; }
.skin-commercial .ch-btn { border-color: #424242; color: #e0e0e0; background: #2a2a2a; }
.skin-commercial .ctrl-btn { border-color: #424242; color: #bdbdbd; background: #252525; }
.skin-commercial .ptt-btn { background: linear-gradient(145deg, #f44336, #c62828); border-color: #8b0000; box-shadow: 0 5px 0 #8b0000, 0 8px 16px rgba(0,0,0,0.5); }
.skin-commercial .ptt-btn:active, .skin-commercial .ptt-btn.transmitting { box-shadow: 0 2px 0 #8b0000, 0 3px 8px rgba(0,0,0,0.4); }

footer {
    background: var(--bg-elevated); border-top: 1px solid var(--border);
    padding: 2rem 1.5rem; text-align: center; color: var(--text-dim); font-size: 0.84rem;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

@media (max-width: 700px) {
    nav { display: none; }
    .hero { padding: 2.75rem 1rem 2.25rem; }
    main { padding: 1.75rem 1rem 3.5rem; }
}

/* Online mode UI */
.btn-online-main {
    grid-column: 1 / -1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    border-width: 2px !important;
}
.online-active, .ctrl-btn.online-active {
    background: #00c853 !important;
    border-color: #00e676 !important;
    color: #003300 !important;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
}
.online-banner {
    background: linear-gradient(90deg, #00c853, #00b0ff);
    color: #002210;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    padding: 0.45rem 0.6rem;
    border-radius: 10px 10px 0 0;
    margin-bottom: -2px;
    word-break: break-all;
}
.online-help {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.45;
    text-align: center;
}
.online-help strong { color: var(--accent); }
.online-help em { color: var(--text-muted); font-style: normal; font-weight: 600; }

/* Share bar */
.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}
.share-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 0.35rem;
}
.share-btn {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}
.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

/* HTTPS warning banner */
.https-warn {
    background: linear-gradient(90deg, #b45309, #c2410c);
    color: #fff;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}
.https-warn a { color: #fef3c7; text-decoration: underline; }

/* Chatbot */
#ptt-chat-toggle {
    position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 9999;
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: #041510; font-size: 1.4rem; cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,229,176,0.35);
}
#ptt-chat-panel {
    position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 9999;
    width: min(360px, calc(100vw - 2rem));
    background: var(--bg-card); border: 1px solid var(--border-strong);
    border-radius: 16px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; overflow: hidden;
}
#ptt-chat-panel[hidden] { display: none !important; }
.ptt-chat-hd {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.75rem 1rem; background: rgba(0,0,0,0.35); border-bottom: 1px solid var(--border);
}
.ptt-chat-hd button {
    background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer;
}
#ptt-chat-log {
    height: 240px; overflow-y: auto; padding: 0.75rem 1rem;
    font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.ptt-chat-msg { padding: 0.5rem 0.75rem; border-radius: 10px; max-width: 95%; line-height: 1.45; }
.ptt-chat-msg.bot { background: rgba(0,229,176,0.1); color: var(--text-muted); align-self: flex-start; }
.ptt-chat-msg.user { background: rgba(59,130,246,0.2); color: var(--text); align-self: flex-end; }
#ptt-chat-form { display: flex; gap: 0.4rem; padding: 0.65rem; border-top: 1px solid var(--border); }
#ptt-chat-input {
    flex: 1; background: var(--bg); border: 1px solid var(--border-strong);
    border-radius: 8px; padding: 0.5rem 0.65rem; color: var(--text); font-size: 0.85rem;
}
#ptt-chat-form button {
    background: var(--accent); color: #041510; border: none; border-radius: 8px;
    padding: 0.5rem 0.85rem; font-weight: 700; cursor: pointer;
}
.ptt-chat-note { font-size: 0.68rem; color: var(--text-dim); padding: 0 0.75rem 0.6rem; margin: 0; }

.freq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}
.freq-table th, .freq-table td {
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
    text-align: left;
}
.freq-table th {
    background: rgba(0,229,176,0.12);
    color: var(--accent);
    font-weight: 600;
}
.freq-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.case-study {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .case-study { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.case-study .btn { margin-top: 0.75rem; }
.peer-list {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: center;
    padding: 0.4rem 0.5rem;
    margin-top: 0.35rem;
}
.peer-list strong { color: var(--accent); }

/* === Enhanced radio hardware look === */
.virtual-radio {
    position: relative;
    padding: 1.1rem 1rem 1rem;
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -2px 8px rgba(0,0,0,0.4),
        0 12px 28px rgba(0,0,0,0.55);
}
.virtual-radio::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    pointer-events: none;
}
.radio-antenna {
    width: 6px;
    height: 48px;
    margin: -8px auto 10px;
    border-radius: 3px;
    position: relative;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}
.radio-antenna::after {
    content: '';
    position: absolute;
    top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}
.radio-brand {
    letter-spacing: 0.18em;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    opacity: 0.9;
}
.radio-lcd {
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    position: relative;
    font-family: "Courier New", ui-monospace, monospace;
    box-shadow:
        inset 0 0 24px rgba(0,0,0,0.35),
        0 0 0 2px rgba(0,0,0,0.35);
}
.tx-indicator {
    position: absolute;
    top: 8px; right: 10px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #333;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}
.tx-indicator.active {
    background: #ff1744;
    box-shadow: 0 0 10px #ff1744, 0 0 4px #ff8a80;
}
.lcd-channel { font-size: 1.55rem; font-weight: 700; letter-spacing: 0.04em; }
.lcd-freq { font-size: 0.82rem; opacity: 0.9; }
.ptt-btn {
    width: 96px; height: 96px;
    border-radius: 50%;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    border: 3px solid rgba(0,0,0,0.35);
    position: relative;
}
.ptt-btn::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.15);
    pointer-events: none;
}
/* Speaker grille decoration */
.virtual-radio::after {
    content: '';
    display: block;
    height: 28px;
    margin: 0.65rem 1rem 0;
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,0.35) 0 2px,
            transparent 2px 5px),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.2));
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    pointer-events: none;
}
.radio-footer { margin-top: 0.35rem; }

/* Distinct skins — richer materials */
.skin-cb {
    background: linear-gradient(165deg, #3a3a42 0%, #1c1c22 55%, #121218 100%);
    border: 2px solid #4a4a55;
}
.skin-cb .radio-lcd { background: #031a08; color: #3dff7a; border-color: #0d3d1a; text-shadow: 0 0 8px rgba(61,255,122,0.35); }

.skin-frs {
    background: linear-gradient(165deg, #2b5a8a 0%, #153454 50%, #0c1f33 100%);
    border: 2px solid #3d7ab5;
}
.skin-frs .radio-lcd { background: #021220; color: #5ecbff; text-shadow: 0 0 8px rgba(94,203,255,0.3); }

.skin-gmrs {
    background: linear-gradient(165deg, #1f4d3a 0%, #0f2e22 55%, #0a1c15 100%);
    border: 2px solid #2d7a58;
}
.skin-gmrs .radio-lcd { background: #02140e; color: #5dffa0; }

.skin-murs {
    background: linear-gradient(165deg, #4a3520 0%, #2a1c10 55%, #1a1108 100%);
    border: 2px solid #6b4e2e;
}
.skin-murs .radio-lcd { background: #1a1208; color: #ffc14d; }

.skin-ham {
    background: linear-gradient(165deg, #2a2438 0%, #16121f 55%, #0e0b14 100%);
    border: 2px solid #5a4a7a;
}
.skin-ham .radio-lcd { background: #120e1a; color: #ffb84d; text-shadow: 0 0 6px rgba(255,184,77,0.25); }

.skin-marine {
    background: linear-gradient(165deg, #0d4a4a 0%, #083030 55%, #041c1c 100%);
    border: 2px solid #1a8a8a;
}
.skin-marine .radio-lcd { background: #021818; color: #40ffe0; }

.skin-pmr446 {
    background: linear-gradient(165deg, #3a2a4a 0%, #221830 55%, #140e1c 100%);
    border: 2px solid #6a4a8a;
}
.skin-pmr446 .radio-lcd { background: #120a1a; color: #d4a0ff; }

.skin-internet {
    background: linear-gradient(165deg, #1a2a3a 0%, #0c1520 55%, #060a10 100%);
    border: 2px solid #00c8ff;
    box-shadow: inset 0 1px 0 rgba(0,200,255,0.15), 0 12px 28px rgba(0,0,0,0.55), 0 0 20px rgba(0,200,255,0.08);
}
.skin-internet .radio-lcd { background: #020810; color: #00e5ff; text-shadow: 0 0 10px rgba(0,229,255,0.35); }

.skin-commercial {
    background: linear-gradient(165deg, #2c2c2c 0%, #1a1a1a 55%, #0e0e0e 100%);
    border: 2px solid #555;
}
.skin-commercial .radio-lcd { background: #0a0a0a; color: #e8e8e8; }

/* Modern polish 2026 */
body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(0,229,176,0.07), transparent),
        radial-gradient(900px 500px at 100% 0%, rgba(59,130,246,0.06), transparent),
        var(--bg);
}
.card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,229,176,0.25);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.https-warn {
    background: linear-gradient(90deg, #0f3d36, #0c4a6e);
    font-weight: 500;
}
main section h2 {
    letter-spacing: -0.02em;
}
.detail {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
}
.spec-item {
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
}
.spec-item strong {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
footer {
    opacity: 0.9;
}
@media (max-width: 720px) {
    nav a { font-size: 0.75rem; padding: 0.35rem 0.5rem; }
    .virtual-radio-wrap { max-width: 100%; }
}

.chooser-select, #chat-input {
    width: 100%;
    margin: 0.35rem 0 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}
.channel-chat { margin-top: 0.5rem; }
.chat-row { display: flex; gap: 0.4rem; }
.chat-row input { flex: 1; margin: 0; }
.roadmap .step {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.roadmap .step strong { display: block; color: var(--accent); margin-bottom: 0.25rem; }
.disclaimer { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.35rem; }
.reviewed { font-size: 0.75rem; color: var(--text-dim); }
.kbd-help { text-align: center; margin-top: 0.35rem; }
@media print {
    header, .share-bar, footer, .https-warn, #ptt-chat, .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .freq-table th, .freq-table td { border-color: #ccc; }
}
