/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Noto+Sans+SC:wght@400;700;900&family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

:root {
    --bg-dark: #080c14;
    --card-bg: rgba(15, 22, 36, 0.82);
    --border-color: rgba(0, 255, 136, 0.25);
    --green-neon: #00ff88;
    --green-glow: rgba(0, 255, 136, 0.35);
    --red-neon: #ff3366;
    --gold: #ffd700;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --chat-mine: #1a6b3c;
    --chat-other: #1e293b;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* BACKGROUND VLADBAO STICKER PATTERN */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(8, 12, 20, 0.88), rgba(8, 12, 20, 0.92)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cg opacity='0.12'%3E%3Cpath d='M 20 40 Q 50 10 80 40 Q 85 75 75 85 Q 50 90 25 85 Z' fill='%23111'/%3E%3Ccircle cx='50' cy='55' r='28' fill='%23ffdfc4'/%3E%3Ccircle cx='40' cy='50' r='4' fill='%23000'/%3E%3Ccircle cx='60' cy='50' r='4' fill='%23000'/%3E%3Cpath d='M 68 45 Q 70 40 72 45 Q 70 50 68 45 Z' fill='%2300d4ff'/%3E%3Cpath d='M 40 68 Q 45 63 50 68 T 60 68' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    z-index: -2;
}

/* GLOW ORBS */
.glow-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(130px);
    z-index: -1;
    pointer-events: none;
}
.glow-1 { top: -80px; left: 50%; transform: translateX(-50%); background: var(--green-glow); }
.glow-2 { bottom: -120px; right: 5%; background: rgba(255, 51, 102, 0.15); }
.glow-3 { top: 40%; left: -100px; background: rgba(255, 215, 0, 0.08); }

/* LAYOUT */
.container {
    max-width: 940px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ═══ HEADER ═══ */
header {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-color);
    color: var(--green-neon);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-neon);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff 30%, var(--green-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cn-title {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 30px;
}

/* AVATAR */
.avatar-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
}
.avatar-box {
    width: 100%;
    height: 100%;
    background: #121824;
    border-radius: 50%;
    border: 3px solid var(--gold);
    padding: 6px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3), 0 0 30px var(--green-glow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.avatar-wrapper:hover .avatar-box {
    transform: scale(1.08) rotate(-5deg);
}
.avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* STAMP — Chinese meme stamp */
.stamp {
    position: absolute;
    bottom: -5px;
    right: -10px;
    background: var(--red-neon);
    color: #fff;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    transform: rotate(-12deg);
    box-shadow: 0 2px 10px rgba(255, 51, 102, 0.5);
    border: 1px solid rgba(255,255,255,0.3);
}

/* BUTTONS */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--green-neon);
    color: #05080e;
    box-shadow: 0 0 25px var(--green-glow);
    animation: glow-pulse 3s infinite;
}
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--green-glow); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.6); }
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); }
.btn-glass {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-color);
    transform: translateY(-3px);
}

/* ═══ GLASS CARD ═══ */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    margin-bottom: 30px;
}
.card-heading {
    font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    font-size: 1.4rem;
    color: var(--green-neon);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.text-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.text-body b { color: var(--text-main); }

/* QUOTE */
.quote-card {
    background: rgba(255, 51, 102, 0.08);
    border-left: 3px solid var(--red-neon);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    color: #ff99b3;
    font-weight: 600;
    margin: 24px 0;
}

/* TOKENOMICS GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.grid-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.grid-item:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
}
.grid-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.grid-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ═══ CHAT SECTION (Chinese meme style) ═══ */
.chat-section {
    margin-top: 10px;
}
.chat-header {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chat-header .online-dot {
    width: 8px;
    height: 8px;
    background: var(--green-neon);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--green-neon);
}

.chat-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.chat-box::-webkit-scrollbar { width: 4px; }
.chat-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.chat-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.chat-avatar.vlad { background: #1a3a2a; }
.chat-avatar.user { background: #2a1a3a; }

.chat-bubble {
    background: var(--chat-other);
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 10px 14px;
    max-width: 75%;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.chat-bubble.mine {
    background: var(--chat-mine);
    border-radius: 12px;
    border-top-right-radius: 4px;
    margin-left: auto;
    color: #c8f7d8;
}
.chat-bubble .name {
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 4px;
    display: block;
}
.chat-bubble .name.vlad { color: var(--green-neon); }
.chat-bubble .name.user { color: var(--gold); }
.chat-bubble .cn { color: #7ecba1; font-size: 0.85rem; margin-top: 4px; display: block; }
.chat-bubble .emoji-big { font-size: 1.8rem; display: block; margin: 4px 0; }

/* CHAT INPUT */
.chat-input-wrap {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: 'Noto Sans SC', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}
.chat-input:focus { border-color: var(--green-neon); }
.chat-input::placeholder { color: #4a5568; }
.chat-send {
    background: var(--green-neon);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 900;
    font-size: 0.9rem;
    color: #05080e;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-send:hover { transform: scale(1.05); }

/* ═══ MEME STICKERS ROW ═══ */
.sticker-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}
.sticker {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.sticker:hover {
    border-color: var(--border-color);
    background: rgba(0, 255, 136, 0.05);
    transform: scale(1.05);
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .glass-card { padding: 24px; }
    h1 { letter-spacing: -1px; }
    .chat-bubble { max-width: 85%; }
    .avatar-wrapper { width: 140px; height: 140px; }
    .cn-title { font-size: 1.4rem; }
}
