/* ===== DIAMOND CORE — style.css ===== */

/* ---------- VARIABLES ---------- */
:root {
    --bg:         #00140E;
    --bg-card:    #00140E;
    --text:       #7FFFD4;
    --accent:     #FFD47F;
    --accent2:    #FFF8EB;
    --border:     #7FFFD4;
    --shadow:     #7FFFD4;
    --net-line:   #003D2B;
    --glass:      #00140E;
}

.theme-light {
    --bg:         #FFD47F;
    --bg-card:    #FFD47F;
    --text:       #00140E;
    --accent:     #00140E;
    --accent2:    #FFF8EB;
    --border:     #00140E;
    --shadow:     rgba(0,0,0,.15);
    --net-line:   rgba(0,0,0,.08);
    --glass:      #FFD47F;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background .15s, color .15s;
}

/* Grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--net-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--net-line) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .15;
    pointer-events: none;
    z-index: -1;
}

a { text-decoration: none; }

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 12px 24px;
    box-shadow: 0 0 5px 0.1px var(--shadow);
    transition: all .4s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .5px;
    transition: opacity .2s;
}
.nav-logo:hover { opacity: .75; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s;
    height: 36px;
    font-family: inherit;
}
.nav-btn:hover {
    background: var(--text);
    color: var(--bg);
}
.nav-btn--accent {
    border-color: var(--accent);
    color: var(--accent);
}
.nav-btn--accent:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ---------- MAIN ---------- */
.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 160px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

/* ---------- HERO ---------- */
.hero {
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-main {
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(63deg, var(--accent), var(--text), var(--accent2));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: grad 16s ease-in-out infinite;
    line-height: 1.05;
}

@keyframes grad {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.typewriter-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    margin-top: 24px;
}

.typewriter-text {
    font-size: clamp(1.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: clamp(8px, 3vw, 40px);
    text-transform: uppercase;
    background: linear-gradient(80deg, var(--accent), var(--text), var(--accent2));
    background-size: 250% 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink .7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ---------- PRICING ---------- */
.pricing { width: 100%; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 0 5px 0.1px var(--shadow);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 10px 1px var(--shadow);
}

.card--featured {
    border-color: var(--accent);
    box-shadow: 0 0 5px 0.1px var(--accent);
    position: relative;
}
.card--featured::before {
    content: '★ Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-card);
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.card--featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 10px 1px var(--accent);
}

.card-badge {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .7;
    color: var(--text);
}

.card-price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.card-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: .6;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.card-features li {
    font-size: .85rem;
    color: var(--text);
    opacity: .85;
    padding: 8px 0;
    border-bottom: 1px solid rgba(127,255,212,.1);
}
.card-features li:last-child { border-bottom: none; }
.card-features li::before {
    content: '◇ ';
    opacity: .5;
    font-size: .7rem;
}

.card-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid var(--text);
    border-radius: 20px;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all .25s;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    text-align: center;
}
.card-btn:hover {
    background: var(--text);
    color: var(--bg);
}
.card--featured .card-btn {
    border-color: var(--accent);
    color: var(--accent);
}
.card--featured .card-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ---------- DONATE ---------- */
.donate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.donate-label {
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .5;
}

.donate-btns {
    display: flex;
    gap: 14px;
}

.crypto-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.crypto-copy-btn:hover {
    background: var(--text);
    color: var(--bg);
    box-shadow: 0 0 16px var(--shadow);
}
.crypto-copy-btn.copied {
    border-color: #00ffaa;
    color: #00ffaa;
    background: rgba(0,255,170,.08);
}

.crypto-icon { font-size: 1.1rem; }

.copy-status {
    font-size: .85rem;
    min-height: 22px;
    color: #00ffaa;
    font-weight: 600;
    letter-spacing: .5px;
    opacity: 0;
    transition: opacity .3s;
}
.copy-status.visible { opacity: 1; }

/* ---------- CONTACT ---------- */
.contact {
    font-size: .9rem;
    padding: 14px 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-card);
    color: var(--text);
    opacity: .75;
}
.contact a {
    color: var(--accent);
    font-weight: 600;
    transition: opacity .2s;
}
.contact a:hover { opacity: .7; }

/* ---------- CABINET PAGE ---------- */
.cabinet-main {
    justify-content: center;
    min-height: 80vh;
    gap: 0;
}

.cabinet-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 520px;
    width: 100%;
    text-align: center;
}

.cabinet-icon {
    font-size: 3rem;
    opacity: .6;
}

.cabinet-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text);
}

.cabinet-sub {
    font-size: .95rem;
    opacity: .6;
    max-width: 380px;
    line-height: 1.5;
}

.cabinet-placeholder {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 8px;
}

.placeholder-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(127,255,212,.08);
    gap: 16px;
}
.placeholder-row:last-child { border-bottom: none; }

.ph-label {
    font-size: .75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .5;
    flex-shrink: 0;
}

.ph-value {
    font-size: .85rem;
    font-family: monospace;
    color: var(--text);
    opacity: .8;
    text-align: right;
    word-break: break-all;
}

.ph-blur {
    filter: blur(5px);
    user-select: none;
    opacity: .4;
}

.cabinet-cta {
    margin-top: 8px;
    padding: 12px 36px;
    font-size: 1rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .header { top: 16px; width: 94%; }
    .nav { padding: 10px 16px; gap: 16px; }
    .btn-label { display: none; }
    .nav-btn { padding: 7px; width: 36px; height: 36px; justify-content: center; }

    .main { padding: 120px 14px 40px; gap: 50px; }

    .typewriter-wrap { height: 60px; }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .card { padding: 22px 14px; gap: 14px; border-radius: 20px; }
    .card-price { font-size: 2rem; }

    .donate-btns { flex-direction: column; width: 100%; }
    .crypto-copy-btn { justify-content: center; }

    .placeholder-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .ph-value { text-align: left; }
}

@media (max-width: 400px) {
    .pricing-grid { grid-template-columns: 1fr; }
}
