/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #080810;
    --surface:    #10101c;
    --card:       #16162a;
    --card-hover: #1c1c34;
    --border:     #2a2a4a;
    --green:      #00ff88;
    --green-dim:  #00cc6a;
    --orange:     #ff6600;
    --red:        #ff2244;
    --muted:      #6060a0;
    --text:       #d0d0f0;
    --font:       'Segoe UI', system-ui, sans-serif;
    --mono:       'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle scanlines for retro feel */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; }

.neon-green  { color: var(--green); }
.neon-orange { color: var(--orange); }
.neon-red    { color: var(--red); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-decoration: none;
    font-family: var(--font);
    letter-spacing: 0.3px;
}
.btn-green {
    background: var(--green); color: #000;
}
.btn-green:hover {
    background: transparent; border-color: var(--green);
    color: var(--green); box-shadow: 0 0 22px rgba(0,255,136,0.4);
}
.btn-orange {
    background: transparent; border-color: var(--orange); color: var(--orange);
}
.btn-orange:hover {
    background: var(--orange); color: #000;
    box-shadow: 0 0 22px rgba(255,102,0,0.4);
}
.btn-red {
    background: transparent; border-color: var(--red); color: var(--red);
}
.btn-red:hover {
    background: var(--red); color: #fff;
    box-shadow: 0 0 22px rgba(255,34,68,0.4);
}
.btn-outline {
    background: transparent; border-color: var(--border); color: var(--muted);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.badge-green  { background: rgba(0,255,136,0.12); color: var(--green);  border: 1px solid rgba(0,255,136,0.4); }
.badge-orange { background: rgba(255,102,0,0.12);  color: var(--orange); border: 1px solid rgba(255,102,0,0.4); }
.badge-red    { background: rgba(255,34,68,0.12);  color: var(--red);    border: 1px solid rgba(255,34,68,0.4); }

/* ===== NAVBAR ===== */
nav {
    position: sticky; top: 0; z-index: 200;
    background: rgba(8,8,16,0.96);
    border-bottom: 1px solid var(--green);
    backdrop-filter: blur(12px);
    display: flex; flex-direction: column;
}
.nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 2rem;
}
.nav-actions {
    display: flex; align-items: center; gap: 0.75rem;
}
.logo {
    font-family: var(--mono); font-size: 1.25rem; font-weight: 900;
    color: var(--green); text-shadow: 0 0 18px rgba(0,255,136,0.7);
    cursor: pointer; user-select: none; letter-spacing: 0.5px;
}
.logo .o { color: var(--orange); }
.logo .r { color: var(--red); }
nav ul { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
nav ul a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
nav ul a:hover { color: var(--green); }

/* Hamburger button – hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    width: 42px; height: 42px;
    flex-shrink: 0;
    transition: border-color 0.2s;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s, background 0.2s;
}
.nav-toggle:hover { border-color: var(--green); }
.nav-toggle:hover span { background: var(--green); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel – hidden by default */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1rem 1.25rem;
    border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    display: block;
}
.nav-mobile a:hover, .nav-mobile a:active {
    color: var(--green);
    background: rgba(0,255,136,0.07);
}
.nav-mobile-sep {
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
    background: var(--card);
    border-top: 1px solid var(--orange);
    border-bottom: 1px solid var(--orange);
    overflow: hidden; padding: 0.45rem 0;
}
.marquee-track {
    display: flex;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    padding: 0 3rem;
    color: var(--orange);
    font-family: var(--mono);
    font-size: 0.82rem;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== LAYOUT ===== */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--muted); margin-top: 0.5rem; }

/* ===== HERO ===== */
.hero {
    min-height: 92vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    padding: 6rem 2rem; position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,255,136,0.07) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,102,0,0.05) 0%, transparent 70%);
    top: 30%; right: 10%;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 940px; }

.hero h1 {
    background: linear-gradient(135deg, var(--green) 0%, var(--orange) 55%, var(--red) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 1.5rem;
}
.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--muted); margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-sub strong { color: var(--text); font-weight: 700; }
.hero-buttons {
    display: flex; gap: 1rem; justify-content: center;
    flex-wrap: wrap; margin-bottom: 4rem;
}

/* Live Counter */
.live-pill {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 30px; padding: 0.4rem 1rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; margin-bottom: 1.8rem;
}
.live-dot {
    width: 8px; height: 8px; background: var(--red);
    border-radius: 50%; animation: pulse-dot 1.2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(255,34,68,0.5); }
    50%      { opacity:0.8; box-shadow: 0 0 0 5px rgba(255,34,68,0); }
}

/* Hero Stats */
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 900; font-family: var(--mono); color: var(--green); }
.stat-lbl { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.1rem; }

/* Terminal Block */
.terminal {
    background: #000; border: 1px solid rgba(0,255,136,0.4);
    border-radius: 10px; padding: 1.5rem;
    font-family: var(--mono); font-size: 0.83rem; color: var(--green);
    margin-top: 3rem; text-align: left; position: relative;
}
.terminal-bar {
    position: absolute; top: 0; left: 0; right: 0;
    background: #1a1a1a; border-radius: 10px 10px 0 0;
    padding: 0.4rem 0.9rem; display: flex; align-items: center; gap: 6px;
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.r { background: #ff5f57; }
.term-dot.y { background: #ffbd2e; }
.term-dot.g { background: #28ca41; }
.terminal-body { margin-top: 1.8rem; }
.tl { margin-bottom: 0.3rem; }
.tl .prompt { color: var(--orange); }
.tl .out    { color: var(--green); }
.tl .err    { color: var(--red); }
.tl .cmt    { color: #444; }
.cursor::after { content:'█'; animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ===== SERVER ILLUSTRATION ===== */
.illus-section { padding: 3rem 2rem 0; }
.illus-label {
    text-align: center;
    margin-bottom: 1.5rem;
}
.illus-label p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.illus-wrap {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,255,136,0.06), 0 0 80px rgba(0,0,0,0.4);
}
.illus-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Easter Egg hotspot – liegt über dem Uptime-Counter im rechten Panel (SVG: ~510-770 / 252-315 von 800x460) */
.illus-hotspot {
    position: absolute;
    left: 63.5%;
    top: 54.5%;
    width: 33%;
    height: 14%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.illus-hotspot:focus { outline: none; }
.illus-hotspot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse-dot 2s infinite;
    position: absolute;
    bottom: 6px;
    right: 10px;
    pointer-events: none;
}
/* Hide dot on hover to not spoil the magic too obviously */
.illus-hotspot:hover .illus-hotspot-dot { opacity: 0.4; }

/* ===== FRIDGE EASTER EGG MODAL ===== */
#fridge-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
#fridge-overlay.show { display: flex; }

#fridge-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    max-width: 360px;
    width: 100%;
    text-align: center;
    animation: modal-in 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.fridge-egg-header {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.35rem;
}
.fridge-egg-sub {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ── Fridge 3-D scene ── */
.fridge-scene {
    perspective: 700px;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.fridge-body {
    position: relative;
    width: 150px;
    height: 230px;
    border-radius: 10px;
    background: #0d1520;
    border: 2px solid #1e2a3a;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

/* Inside fridge – visible behind the opening door */
.fridge-inside {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #111a26;
}
.fridge-items {
    font-size: 1.1rem;
    letter-spacing: 0.25rem;
    margin-top: 0.25rem;
}

/* Post-it note */
.postit {
    background: #ffd700;
    border-radius: 3px;
    padding: 0.55rem 0.7rem 0.6rem;
    text-align: left;
    box-shadow: 3px 4px 10px rgba(0,0,0,0.5);
    transform: rotate(-3deg);
    position: relative;
    width: 110px;
}
.postit-tape {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 10px;
    background: rgba(255,255,200,0.6);
    border-radius: 2px;
}
.postit-title {
    font-size: 0.48rem;
    color: #775500;
    font-family: var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.postit-pass {
    font-size: 1rem;
    font-weight: 900;
    color: #cc0000;
    font-family: var(--mono);
    margin-bottom: 0.2rem;
}
.postit-note {
    font-size: 0.55rem;
    color: #664400;
    font-family: var(--mono);
    line-height: 1.5;
}

/* The door – hinges on left, swings open */
.fridge-door {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(160deg, #1c2a3a 0%, #111e2e 100%);
    border: 2px solid #1e2a3a;
    transform-origin: left center;
    transform-style: preserve-3d;
    animation: openFridge 1.4s cubic-bezier(0.4,0,0.2,1) 0.5s both;
}
.fridge-door-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 62px;
    border-bottom: 2px solid #1a2636;
    border-radius: 8px 8px 0 0;
}
.fridge-handle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 55px;
    background: var(--green);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,255,136,0.6);
}
.fridge-door-label {
    position: absolute;
    bottom: 18px;
    left: 0; right: 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.52rem;
    color: #334;
    letter-spacing: 0.08em;
    line-height: 1.5;
}
@keyframes openFridge {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(-82deg); }
}

/* ===== PACKAGES ===== */
.packages { background: var(--surface); }
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 1.5rem;
}
.pkg {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 2rem; position: relative;
    transition: transform 0.2s, box-shadow 0.2s; overflow: hidden;
}
.pkg::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.pkg.bronze::before { background: linear-gradient(90deg, #cd7f32, #8b4513); }
.pkg.silver::before { background: linear-gradient(90deg, #c0c0c0, #888); }
.pkg.gold::before   { background: linear-gradient(90deg, #ffd700, #ff8c00); }
.pkg.legendary::before {
    background: linear-gradient(90deg, var(--red), var(--orange), var(--green));
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}
@keyframes shimmer { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }

.pkg:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.pkg.featured { border-color: var(--orange); box-shadow: 0 0 30px rgba(255,102,0,0.12); }
.pkg-badge {
    position: absolute; top: 1.1rem; right: 1.1rem;
    background: var(--orange); color: #000;
    font-size: 0.68rem; font-weight: 800; padding: 0.2rem 0.6rem;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.pkg-icon   { font-size: 2.8rem; margin-bottom: 0.75rem; }
.pkg-name   { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.2rem; }
.pkg-tag    { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-bottom: 1.4rem; line-height: 1.4; }
.pkg-price  { margin-bottom: 1.4rem; }
.pkg-amount { font-size: 2rem; font-weight: 900; font-family: var(--mono); }
.pkg-per    { font-size: 0.78rem; color: var(--muted); }
.pkg-specs  { list-style: none; margin-bottom: 1.5rem; }
.pkg-specs li {
    padding: 0.45rem 0; font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: flex-start; gap: 0.5rem;
}
.pkg-specs li:last-child { border-bottom: none; }
.si { font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }
.bronze .si      { color: #cd7f32; }
.silver .si      { color: #c0c0c0; }
.gold .si        { color: #ffd700; }
.legendary .si   { color: var(--red); }
.bronze .pkg-amount    { color: #cd7f32; }
.silver .pkg-amount    { color: #c0c0c0; }
.gold .pkg-amount      { color: #ffd700; }
.legendary .pkg-amount { color: var(--red); }

/* ===== WHY US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.why-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.why-card:hover {
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(0,255,136,0.08);
}
.why-icon  { font-size: 2rem; margin-bottom: 0.6rem; }
.why-title { font-weight: 700; margin-bottom: 0.4rem; font-size: 0.95rem; }
.why-desc  { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }
.why-note  { font-size: 0.72rem; color: var(--red); margin-top: 0.35rem; font-style: italic; }

/* ===== GALLERY ===== */
.gallery { background: var(--surface); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.gitem {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s; cursor: pointer;
}
.gitem:hover {
    border-color: var(--orange); transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(255,102,0,0.15);
}
.gimg {
    height: 190px; display: flex; align-items: center;
    justify-content: center; font-size: 3.5rem;
    position: relative; overflow: hidden;
}
.gimg-span { position: relative; z-index: 1; text-align: center; }
.gimg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.75));
}
.gcap { background: var(--card); padding: 0.8rem 1rem; }
.gcap strong { display: block; font-size: 0.88rem; margin-bottom: 0.2rem; }
.gcap span   { font-size: 0.78rem; color: var(--muted); }

.gi-1 { background: linear-gradient(135deg, #0a1a0a, #001000); }
.gi-2 { background: linear-gradient(135deg, #1a120a, #100800); }
.gi-3 { background: linear-gradient(135deg, #150808, #0a0000); }
.gi-4 { background: linear-gradient(135deg, #080a18, #020010); }
.gi-5 { background: linear-gradient(135deg, #141400, #0a0a00); }
.gi-6 { background: linear-gradient(135deg, #060e16, #000a12); }

/* ===== STATUS ===== */
.status-box {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; max-width: 820px; margin: 0 auto;
}
.status-head {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    padding: 0.9rem 1.5rem;
    background: var(--surface); border-bottom: 2px solid var(--border);
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1px; color: var(--muted); font-weight: 700;
}
.srow {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
    align-items: center; transition: background 0.15s; cursor: pointer;
}
.srow:last-child { border-bottom: none; }
.srow:hover { background: rgba(255,255,255,0.02); }
.svc-name { font-weight: 600; font-size: 0.92rem; }
.svc-stat { font-size: 0.88rem; }
.up-num { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.upbar  { height: 5px; background: var(--border); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.upfill { height: 100%; border-radius: 3px; }
.upfill.g { background: var(--green); }
.upfill.o { background: var(--orange); }
.upfill.r { background: var(--red); }

/* ===== FEATURES TABLE ===== */
.feat-section { background: var(--surface); }
.feat-table {
    width: 100%; border-collapse: collapse;
    background: var(--card); border-radius: 14px;
    overflow: hidden; border: 1px solid var(--border);
}
.feat-table th {
    background: var(--surface); padding: 1rem 1.4rem; text-align: left;
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1px; color: var(--muted); border-bottom: 2px solid var(--border);
}
.feat-table td {
    padding: 1rem 1.4rem; border-bottom: 1px solid var(--border); font-size: 0.88rem;
    vertical-align: top;
}
.feat-table tr:last-child td { border-bottom: none; }
.feat-table tr:hover td { background: rgba(255,255,255,0.018); }
.flabel { font-weight: 700; color: var(--orange); }
.fname  { color: var(--muted); font-size: 0.75rem; }
.freal  { color: var(--text); }
.fdesc  { color: var(--muted); font-size: 0.82rem; font-style: italic; margin-top: 0.2rem; }

/* ===== MODAL ===== */
#modal-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
    padding: 1.5rem;
}
#modal-overlay.show { display: flex; }

#modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    max-width: 480px; width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7);
    animation: modal-in 0.25s cubic-bezier(.175,.885,.32,1.275);
    position: relative;
}

#modal-overlay.g #modal { border-top: 3px solid var(--green); }
#modal-overlay.o #modal { border-top: 3px solid var(--orange); }
#modal-overlay.r #modal { border-top: 3px solid var(--red); }

#modal-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

#modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    font-family: var(--mono);
}
#modal-overlay.g #modal-title { color: var(--green); }
#modal-overlay.o #modal-title { color: var(--orange); }
#modal-overlay.r #modal-title { color: var(--red); }

#modal-body {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

#modal-close {
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.65rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid;
}
#modal-overlay.g #modal-close { border-color: var(--green); color: var(--green); background: transparent; }
#modal-overlay.g #modal-close:hover { background: var(--green); color: #000; box-shadow: 0 0 20px rgba(0,255,136,0.4); }
#modal-overlay.o #modal-close { border-color: var(--orange); color: var(--orange); background: transparent; }
#modal-overlay.o #modal-close:hover { background: var(--orange); color: #000; box-shadow: 0 0 20px rgba(255,102,0,0.4); }
#modal-overlay.r #modal-close { border-color: var(--red); color: var(--red); background: transparent; }
#modal-overlay.r #modal-close:hover { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(255,34,68,0.4); }

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes modal-out {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.9); }
}

/* ===== FOOTER ===== */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem; text-align: center;
}
.footer-logo {
    font-family: var(--mono); font-size: 1.5rem; font-weight: 900;
    color: var(--green); text-shadow: 0 0 20px rgba(0,255,136,0.6);
    margin-bottom: 1rem;
}
.footer-links {
    display: flex; gap: 1.5rem; justify-content: center;
    flex-wrap: wrap; list-style: none; margin: 1rem 0;
}
.footer-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.83rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.f-copy       { color: var(--muted); font-size: 0.8rem; margin-top: 1.2rem; }
.f-disclaimer { font-size: 0.72rem; color: var(--red); margin-top: 0.4rem; font-style: italic; }
.f-secret     { font-size: 0.65rem; color: #222; margin-top: 0.4rem; }

/* ===== KONAMI OVERLAY ===== */
#konami {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.97); z-index: 99999;
    align-items: center; justify-content: center;
    text-align: center; flex-direction: column; gap: 1rem;
}
#konami.show { display: flex; }

/* ===== TABLET & MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {

    /* --- NAV --- */
    .nav-bar { padding: 0.75rem 1rem; }
    nav ul        { display: none; }
    #nav-login-btn { display: none; }
    .nav-toggle   { display: flex; }

    /* --- SECTIONS --- */
    section { padding: 3rem 1.25rem; }
    .section-header { margin-bottom: 2rem; }
    .section-header h2 { font-size: clamp(1.35rem, 5vw, 2rem); }

    /* --- HERO --- */
    .hero { min-height: auto; padding: 4.5rem 1.25rem 3rem; }
    .live-pill { font-size: 0.78rem; }
    .hero h1 { font-size: clamp(1.7rem, 7vw, 2.8rem); }
    .hero-sub { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }
    .hero-buttons .btn { text-align: center; padding: 0.85rem 1rem; }
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem 0.5rem;
    }
    .stat-num { font-size: 1.55rem; }
    .stat-lbl { font-size: 0.68rem; }
    .terminal {
        font-size: 0.72rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 2rem;
    }
    .terminal-bar span:last-child { display: none; }

    /* --- PACKAGES --- */
    .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    /* --- WHY US --- */
    .why-grid { grid-template-columns: 1fr 1fr; }

    /* --- GALLERY --- */
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .gimg { height: 130px; font-size: 2rem; }
    .gcap strong { font-size: 0.8rem; }
    .gcap span   { font-size: 0.72rem; }

    /* --- STATUS --- */
    .status-box { border-radius: 10px; }
    .status-head { grid-template-columns: 1fr 1fr; padding: 0.75rem 1rem; }
    .srow { grid-template-columns: 1fr 1fr; padding: 0.85rem 1rem; }
    .srow > *:last-child,
    .status-head > *:last-child { display: none; }
    .svc-name { font-size: 0.85rem; }
    .svc-stat { font-size: 0.8rem; }

    /* --- FEATURES TABLE → CARDS --- */
    .feat-table, .feat-table tbody,
    .feat-table tr, .feat-table td { display: block; }
    .feat-table thead { display: none; }
    .feat-table tr {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 12px;
        margin-bottom: 0.85rem;
        overflow: hidden;
    }
    .feat-table tr:last-child { margin-bottom: 0; }
    .feat-table td {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .feat-table td:last-child { border-bottom: none; }
    .feat-table td:nth-child(2)::before {
        content: 'Versprochen';
        display: block;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--muted);
        font-weight: 700;
        margin-bottom: 0.3rem;
    }
    .feat-table td:nth-child(3)::before {
        content: 'Realität';
        display: block;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--orange);
        font-weight: 700;
        margin-bottom: 0.3rem;
    }

    /* --- MODAL --- */
    #modal-overlay { padding: 1rem; align-items: flex-end; }
    #modal {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 16px 16px 12px 12px;
        max-width: 100%;
    }
    #modal-title { font-size: 1.05rem; }
    #modal-icon  { font-size: 2.5rem; }
    #modal-close { width: 100%; }

    /* --- FOOTER --- */
    footer { padding: 2.5rem 1.25rem 2rem; }
    .footer-links { gap: 0.6rem 1.2rem; }
    .footer-links a { padding: 0.2rem 0; font-size: 0.8rem; }
    .f-copy { font-size: 0.75rem; }
}

/* ===== SMALL PHONES (≤ 480px) ===== */
@media (max-width: 480px) {
    .logo { font-size: 1rem; letter-spacing: 0; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-num   { font-size: 1.4rem; }

    .why-grid     { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gimg         { height: 170px; font-size: 3rem; }
    .gcap strong  { font-size: 0.88rem; }
    .gcap span    { font-size: 0.78rem; }

    .pkg { padding: 1.5rem; }
    .pkg-amount { font-size: 1.75rem; }

    .svc-name { font-size: 0.8rem; }
    .svc-stat { font-size: 0.75rem; }
}
