:root {
    --bg-dark: #08090c;
    --card-bg: #101218;
    --card-border: #1c202a;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    background: rgba(16, 18, 24, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.85rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-icon {
    font-size: 1.5rem;
}

.brand-domain {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

/* Cards */
.hero-card, .interactive-card, .share-card, .board-card, .network-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.75rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Hero */
.hero-badge {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.metric-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--card-border);
    padding-top: 1.25rem;
}

.metric-box {
    flex: 1;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.9rem;
    text-align: center;
}

.metric-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.action-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Inputs */
.cyber-input {
    width: 100%;
    background: #0d0f14;
    border: 1px solid var(--card-border);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
}

.cyber-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Interactive Tools */
.card-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.card-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 1. BEER TOOL */
.beer-display {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.glass-container {
    width: 80px;
    height: 130px;
    border: 4px solid #fff;
    border-top: none;
    border-radius: 0 0 12px 12px;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.beer-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #d97706, #fbbf24);
    transition: height 0.4s ease;
}

.beer-foam {
    position: absolute;
    bottom: 0%;
    left: 0;
    width: 100%;
    height: 0;
    background: #fff;
    transition: all 0.4s ease;
}

.beer-stats .label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 700;
}

.beer-stats .val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-left: 0.5rem;
}

.beer-verdict {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* 2. BEAT TOOL */
.beat-hud {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.bpm-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 20px var(--primary-glow);
    transition: transform 0.1s ease;
}

.bpm-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.bpm-unit {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.soundboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.sound-pad {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    color: #fff;
    padding: 1rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sound-pad:active {
    background: var(--primary);
    color: #000;
    transform: scale(0.96);
}

/* 3. SAUFPARK TOOL */
.wheel-box {
    margin-top: 1.5rem;
    background: #141721;
    border: 2px dashed var(--primary);
    border-radius: 14px;
    padding: 2.5rem 1rem;
    text-align: center;
    position: relative;
}

.wheel-pointer {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.wheel-result {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

/* 4. FCKMSK TOOL */
.pass-card {
    background: linear-gradient(135deg, #1e102d, #0d0614);
    border: 2px solid var(--primary);
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 0 25px var(--primary-glow);
}

.pass-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
}

.pass-body {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.pass-photo {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.05);
    padding: 0.75rem;
    border-radius: 10px;
}

.pass-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.pass-sub {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.pass-id {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

/* 5. STREETWEAR SHIRT TOOL */
.shirt-mockup-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.shirt-canvas {
    width: 240px;
    height: 280px;
    background: #0f1015;
    border: 2px solid #2d3345;
    border-radius: 20px 20px 6px 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.shirt-neck {
    width: 70px;
    height: 30px;
    border: 3px solid #2d3345;
    border-top: none;
    border-radius: 0 0 35px 35px;
}

.shirt-tag-area {
    margin-top: 45px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary);
    text-shadow: 0 0 12px var(--primary);
    text-transform: uppercase;
    transform: rotate(-5deg);
    padding: 0.5rem;
    border: 1px dashed rgba(255,255,255,0.2);
}

/* 6. TECHLAB TERMINAL */
.terminal-box {
    background: #050608;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.5rem;
    font-family: monospace;
}

.terminal-bar {
    background: #11131a;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #10b981; }

.terminal-title {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.terminal-output {
    padding: 1rem;
    font-size: 0.85rem;
    color: #38bdf8;
    max-height: 160px;
    overflow-y: auto;
}

/* 7. FUTURE ORACLE */
.oracle-screen {
    background: #081119;
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: inset 0 0 30px rgba(20, 184, 166, 0.1);
}

.oracle-quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.oracle-year {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 1px;
}

/* Social Sharing */
.share-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.share-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.share-buttons {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.share-btn {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-wa { background: #25D366; color: #000; }
.share-tg { background: #229ED9; }
.share-x { background: #000; border: 1px solid #333; }
.share-rd { background: #FF4500; }
.share-cp { background: rgba(255,255,255,0.08); border: 1px solid var(--card-border); }

/* Community Board */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.board-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.board-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.submission-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sub-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.sub-vote-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.vote-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem;
    transition: color 0.15s;
}

.vote-btn:hover {
    color: var(--primary);
}

.sub-score {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
}

.sub-content-col {
    flex: 1;
}

.sub-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.sub-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.sub-meta {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
}

.empty-state {
    text-align: center;
    color: var(--text-dim);
    padding: 2rem;
    font-style: italic;
}

/* Submit Modal / Box */
.submit-box {
    background: #141721;
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.submit-box h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--primary);
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Network Pills */
.network-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.network-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.network-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.net-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.net-pill:hover, .net-pill.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--card-border);
    margin-top: auto;
    padding: 2rem 0;
    background: #06070a;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.hidden-box {
    display: none;
}

@media (max-width: 640px) {
    .hero-title { font-size: 1.75rem; }
    .beer-display { flex-direction: column; text-align: center; }
    .beat-hud { flex-direction: column; text-align: center; }
    .metric-row { flex-direction: column; }
    .footer-inner { flex-direction: column; text-align: center; }
}
