/* =====================================================================
   MAYERNETWORK Anti-DDoS Status  —  Dark theme + glassmorphism
   ===================================================================== */

:root {
    --bg-0:        #070b16;
    --bg-1:        #0b1120;
    --bg-2:        #0f172a;
    --card:        rgba(20, 28, 48, 0.55);
    --card-solid:  #111a2e;
    --border:      rgba(96, 130, 182, 0.18);
    --border-hi:   rgba(96, 130, 182, 0.40);

    --text:        #e7eefc;
    --text-soft:   #9aa7c2;
    --text-dim:    #6b7896;

    --accent:      #2563eb;
    --accent-2:    #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.16);

    --green:       #22c55e;
    --green-soft:  rgba(34, 197, 94, 0.15);
    --red:         #ef4444;
    --red-soft:    rgba(239, 68, 68, 0.15);
    --amber:       #f59e0b;

    --radius:      18px;
    --radius-sm:   12px;
    --shadow:      0 20px 50px -20px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px -10px rgba(37, 99, 235, 0.45);

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(1100px 600px at 15% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(29, 78, 216, 0.12), transparent 55%),
        radial-gradient(800px 700px at 50% 120%, rgba(37, 99, 235, 0.10), transparent 60%);
}

.container { width: min(1180px, 92%); margin-inline: auto; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ============================ HEADER ============================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(7, 11, 22, 0.65);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.6);
}
.brand-logo.sm { width: 38px; height: 38px; }
.brand-text strong {
    display: block; font-size: 1.05rem; letter-spacing: 0.5px; line-height: 1;
}
.brand-text strong span { color: var(--accent); }
.brand-text small { color: var(--text-dim); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
    padding: 9px 16px; border-radius: 10px; font-size: 0.92rem; font-weight: 500;
    color: var(--text-soft); transition: all .25s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.site-nav .btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff; padding: 9px 18px;
}
.site-nav .btn-discord:hover { filter: brightness(1.1); transform: translateY(-1px); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px; background: var(--text); border-radius: 2px;
    transition: .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ STATUS HERO ============================ */
.status-hero {
    display: grid; grid-template-columns: auto 1fr;
    gap: 48px; align-items: center;
    padding: 72px 0 56px;
}

.orbit {
    position: relative; width: 240px; height: 240px;
    display: grid; place-items: center;
    justify-self: center;
}
.orbit-ring {
    position: absolute; border-radius: 50%; border: 1.5px solid;
    animation: orbitPulse 3s ease-in-out infinite;
}
.ring-1 { width: 100%; height: 100%; }
.ring-2 { width: 78%;  height: 78%;  animation-delay: .4s; }
.ring-3 { width: 56%;  height: 56%;  animation-delay: .8s; }

.orbit[data-state="safe"] .orbit-ring { border-color: rgba(37, 99, 235, 0.5); box-shadow: 0 0 40px -8px var(--accent); }
.orbit[data-state="active"] .orbit-ring { border-color: rgba(239, 68, 68, 0.55); box-shadow: 0 0 40px -8px var(--red); }

.orbit-core {
    width: 46%; height: 46%; border-radius: 50%;
    display: grid; place-items: center; gap: 2px;
    background: linear-gradient(160deg, rgba(37,99,235,0.25), rgba(29,78,216,0.08));
    border: 1px solid var(--border-hi);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-glow);
}
.orbit[data-state="active"] .orbit-core {
    background: linear-gradient(160deg, rgba(239,68,68,0.25), rgba(239,68,68,0.05));
    box-shadow: 0 0 60px -10px var(--red);
}
.orbit-icon { color: var(--text); display: grid; place-items: center; }
.orbit[data-state="active"] .orbit-icon { color: var(--red); }
.orbit[data-state="safe"] .orbit-icon { color: var(--accent); }
.orbit-status {
    font-size: 0.62rem; letter-spacing: 2px; font-weight: 700;
    color: var(--text-soft); text-transform: uppercase;
}

@keyframes orbitPulse {
    0%, 100% { transform: scale(1);   opacity: 1;   }
    50%      { transform: scale(1.06); opacity: 0.6; }
}

.hero-text { max-width: 620px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    font-size: 0.88rem; font-weight: 600;
    margin-bottom: 22px;
}
.badge-blue { background: var(--accent-soft); color: #93b4ff; border: 1px solid rgba(37,99,235,0.35); }
.badge-red  { background: var(--red-soft);   color: #fca5a5; border: 1px solid rgba(239,68,68,0.35); }
.badge-green{ background: var(--green-soft); color: #86efac; border: 1px solid rgba(34,197,94,0.35); }

.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.dot-pulse::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: currentColor; animation: ping 1.4s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ping {
    75%, 100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 18px;
}
.grad {
    background: linear-gradient(120deg, #60a5fa, var(--accent), #818cf8);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--text-soft); font-size: 1.05rem; max-width: 560px; }

/* ============================ STAT CARDS ============================ */
.stat-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    padding-bottom: 64px;
}
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    position: relative; overflow: hidden;
}
.stat-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent, rgba(37,99,235,0.07), transparent);
    transform: translateX(-100%); transition: transform .8s ease;
}
.stat-card:hover {
    transform: translateY(-6px); border-color: var(--border-hi);
    box-shadow: 0 30px 60px -25px rgba(37, 99, 235, 0.5);
}
.stat-card:hover::before { transform: translateX(100%); }

.stat-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 22px;
}
.ic-blue { background: var(--accent-soft); color: #93b4ff; }
.ic-red  { background: var(--red-soft);   color: #fca5a5; }

.stat-label { color: var(--text-soft); font-size: 0.92rem; font-weight: 500; margin-bottom: 8px; }
.stat-value { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -1px; color: var(--text); }
.stat-note  { color: var(--text-dim); font-size: 0.84rem; margin-top: 12px; }

.stat-double { display: flex; align-items: baseline; gap: 28px; margin-top: 4px; }
.stat-double > div { display: flex; flex-direction: column; }
.stat-double span { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; }
.stat-double small { color: var(--text-dim); font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* ============================ HISTORY ============================ */
.history { padding-bottom: 80px; }
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.5px; }
.section-head p  { color: var(--text-soft); margin-top: 6px; max-width: 540px; }
.count-pill {
    background: var(--accent-soft); color: #93b4ff;
    border: 1px solid rgba(37,99,235,0.3);
    padding: 8px 16px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
}

.attack-list { display: flex; flex-direction: column; gap: 18px; }

.attack-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--green);
    border-radius: var(--radius);
    padding: 24px 28px;
    backdrop-filter: blur(12px);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    position: relative;
}
.attack-card.is-active { border-left-color: var(--red); background: linear-gradient(180deg, rgba(239,68,68,0.06), var(--card)); }
.attack-card:hover {
    transform: translateY(-3px); border-color: var(--border-hi);
    box-shadow: 0 18px 40px -20px rgba(0,0,0,0.7);
}

.attack-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.attack-target { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.attack-target .lbl { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; }
.attack-target .ip { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.5px; }
.attack-target .port {
    font-size: 0.82rem; font-weight: 600; padding: 5px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-soft);
}

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

.attack-power {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding: 16px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border);
    margin-bottom: 16px;
}
.power-item { display: flex; flex-direction: column; gap: 4px; }
.pwr-lbl { color: var(--text-dim); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 1px; }
.pwr-val  { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.attack-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.time { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; color: var(--text-soft); }
.time i { color: var(--text-dim); font-style: normal; }
.notes { font-size: 0.86rem; color: var(--text-soft); background: rgba(255,255,255,0.03); padding: 8px 14px; border-radius: 10px; max-width: 60%; }

/* ============================ EMPTY ============================ */
.empty-state {
    text-align: center; padding: 80px 20px;
    background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
    color: var(--text-soft);
}
.empty-state svg { color: var(--accent); margin-bottom: 16px; }
.empty-state h3 { color: var(--text); margin-bottom: 6px; }

/* ============================ PAGINATION ============================ */
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 40px; flex-wrap: wrap;
}
.page-btn {
    min-width: 42px; height: 42px; padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text-soft); font-weight: 600; font-size: 0.9rem;
    transition: all .25s ease; backdrop-filter: blur(8px);
}
.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--accent); color: var(--text); transform: translateY(-2px);
}
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.dots { color: var(--text-dim); padding: 0 4px; }

/* ============================ FOOTER ============================ */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(7, 11, 22, 0.6);
    backdrop-filter: blur(10px);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; padding: 36px 0 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { font-size: 1rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.84rem; margin-top: 2px; }
.footer-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-links a, .status-dot-wrap { font-size: 0.88rem; color: var(--text-soft); transition: color .25s; }
.footer-links a:hover { color: var(--accent); }
.status-dot-wrap { display: inline-flex; align-items: center; gap: 8px; }
.footer-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 12px var(--green);
}
.footer-copy { padding: 18px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-copy small { color: var(--text-dim); }

/* ============================ REVEAL ANIM ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .orbit-ring, .dot-pulse::after { animation: none; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
    .status-hero { grid-template-columns: 1fr; text-align: center; padding: 48px 0 40px; }
    .orbit { width: 200px; height: 200px; }
    .hero-badge, .hero-text { margin-inline: auto; }
    .hero-sub { margin-inline: auto; }
    .stat-grid { grid-template-columns: 1fr; }
    .attack-power { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: 70px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: rgba(7, 11, 22, 0.97);
        backdrop-filter: blur(18px);
        padding: 18px 5% 28px; border-bottom: 1px solid var(--border);
        transform: translateY(-130%); transition: transform .4s cubic-bezier(.4,0,.2,1);
        z-index: 40;
    }
    .site-nav.open { transform: translateY(0); }
    .site-nav a { padding: 14px 16px; font-size: 1rem; }
    .stat-card { padding: 24px; }
    .attack-card { padding: 20px; }
    .attack-top { flex-direction: column; align-items: flex-start; }
    .notes { max-width: 100%; }
}

@media (max-width: 460px) {
    .stat-double { flex-direction: column; gap: 12px; align-items: flex-start; }
    .attack-power { grid-template-columns: 1fr; gap: 12px; }
}
