:root {
    --bg: #0b0f14;
    --bg-2: #101826;
    --panel: rgba(16, 22, 32, 0.7);
    --panel-strong: rgba(20, 28, 40, 0.9);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f4f6f9;
    --muted: #b6c0cf;
    --accent: #f5b544;
    --accent-2: #20c997;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(700px circle at 15% 10%, rgba(245, 181, 68, 0.15), transparent 60%),
        radial-gradient(800px circle at 85% 0%, rgba(32, 201, 151, 0.15), transparent 60%),
        radial-gradient(900px circle at 50% 90%, rgba(94, 124, 255, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: glow-shift 16s ease-in-out infinite alternate;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(20px, 5vw, 70px);
    background: rgba(11, 15, 20, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 0;
    object-fit: contain;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0f14;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.brand-name {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.nav {
    display: flex;
    gap: 20px;
    font-weight: 600;
    color: var(--muted);
}

.nav a:hover {
    color: var(--text);
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    padding: 80px clamp(20px, 7vw, 110px) 90px;
    position: relative;
    z-index: 1;
    background:
        linear-gradient(120deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.6) 40%, rgba(11, 15, 20, 0.3) 70%),
        url("donersmp.png") center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-content {
    max-width: 620px;
    animation: fade-up 0.8s ease both;
}

.tag {
    display: inline-flex;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 18px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(3.4rem, 7vw, 5.4rem);
    letter-spacing: 0.04em;
}

.lead {
    margin-top: 18px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary,
.secondary,
.ghost {
    padding: 12px 20px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0f14;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.primary:hover {
    transform: translateY(-2px);
}

.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    background: rgba(15, 22, 32, 0.6);
}

.secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
}

.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.copied {
    background: rgba(32, 201, 151, 0.2);
    border-color: rgba(32, 201, 151, 0.6);
    color: var(--text);
}

.meta-row {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-card {
    flex: 1 1 220px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--panel);
    backdrop-filter: blur(10px);
    display: grid;
    gap: 10px;
}

.ip-stack {
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
}

.ip-port {
    color: var(--muted);
    font-size: 0.85rem;
}

.label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

code {
    font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
    font-size: 1rem;
    color: var(--text);
}

.stats {
    color: var(--text);
    font-size: 0.95rem;
}

.hero-panel {
    display: grid;
    gap: 18px;
    animation: fade-up 0.9s ease both;
    animation-delay: 0.1s;
}

.panel-card {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--panel-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    animation: float 6s ease-in-out infinite;
}

.panel-card.accent {
    background: linear-gradient(160deg, rgba(32, 201, 151, 0.18), rgba(16, 22, 32, 0.9));
    animation-delay: 1.2s;
}

.panel-card h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.panel-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--muted);
    font-size: 0.98rem;
}

.panel-card ul li {
    position: relative;
    padding-left: 22px;
}

.panel-card ul li::before {
    content: "*";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.panel-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
}

.features {
    padding: 110px clamp(20px, 7vw, 120px) 120px;
    position: relative;
    z-index: 1;
}

.features h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
}

.section-lead {
    color: var(--muted);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.feature-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(14, 20, 30, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.2s ease;
}

.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.15s; }
.feature-card:nth-child(4) { transition-delay: 0.2s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.3s; }

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

.feature-card:hover,
.store-item:hover,
.trust-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.store {
    padding: 0 clamp(20px, 7vw, 120px) 120px;
    position: relative;
    z-index: 1;
}

.store-card {
    padding: 50px clamp(24px, 6vw, 60px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.14), rgba(11, 15, 20, 0.95));
}

.store-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 18px;
}

.store-header p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 700px;
}

.store-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.store-item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(11, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.2s ease;
}

.store-item h3 {
    margin-bottom: 10px;
}

.store-item p {
    color: var(--muted);
    line-height: 1.6;
}

.trust {
    padding: 110px clamp(20px, 7vw, 120px) 120px;
    position: relative;
    z-index: 1;
}

.trust-inner {
    padding: 46px clamp(22px, 6vw, 60px);
    border-radius: 26px;
    background: linear-gradient(120deg, rgba(245, 181, 68, 0.16), rgba(11, 15, 20, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-inner h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.trust-inner p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 720px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.trust-item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(11, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.2s ease;
}

.trust-item h3 {
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--muted);
    line-height: 1.6;
}

.cta {
    padding: 110px clamp(20px, 7vw, 120px) 140px;
    position: relative;
    z-index: 1;
}

.cta-inner {
    padding: 46px clamp(22px, 6vw, 60px);
    border-radius: 26px;
    background: linear-gradient(120deg, rgba(32, 201, 151, 0.2), rgba(11, 15, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-inner h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.cta-inner p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ip-row code {
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(15, 22, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

footer {
    padding: 40px 20px 60px;
    color: var(--muted);
    text-align: center;
    font-size: 0.85rem;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    will-change: transform, opacity;
}

.reveal.in-view {
    animation: fade-up 0.8s ease both;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes glow-shift {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0.9;
    }
    100% {
        transform: translate3d(0, -14px, 0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .feature-grid,
    .store-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        width: min(560px, 100%);
    }
}

@media (max-width: 760px) {
    .topbar {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-panel {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .feature-grid,
    .store-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
