:root {
    --bg-color: #f3f4f6;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-subtext: #9ca3af;
    --card-social-bg: #e5e7eb;
    --card-social-border: #d1d5db;
    --gradient-start: #111827;
    --gradient-end: #4b5563;
    --status-offline: #ef4444;
    --status-online: #10b981;
    --font-main: 'Inter', sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0b0f19;
        --text-main: #f3f4f6;
        --text-muted: #6b7280;
        --text-subtext: #4b5563;
        --card-social-bg: #111827;
        --card-social-border: #1f2937;
        --gradient-start: #ffffff;
        --gradient-end: #9ca3af;
    }
}
:root.light-theme {
    --bg-color: #f3f4f6;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-subtext: #9ca3af;
    --card-social-bg: #e5e7eb;
    --card-social-border: #d1d5db;
    --gradient-start: #111827;
    --gradient-end: #4b5563;
}
:root.dark-theme {
    --bg-color: #0b0f19;
    --text-main: #f3f4f6;
    --text-muted: #6b7280;
    --text-subtext: #4b5563;
    --card-social-bg: #111827;
    --card-social-border: #1f2937;
    --gradient-start: #ffffff;
    --gradient-end: #9ca3af;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
}
#tsparticles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background: var(--bg-color);
    transition: background 0.3s ease;
}
body {
    background-color: transparent;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    transition: color 0.3s ease;
}
.theme-toggle {
    position: absolute;
    top: max(1.5rem, env(safe-area-inset-top));
    right: max(1.5rem, env(safe-area-inset-right));
    background: var(--card-social-bg);
    border: 1px solid var(--card-social-border);
    border-radius: 50%;
    color: var(--text-main);
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.layout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    padding: 2rem 1rem;
}
.container {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1 {
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.counter-grid {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: clamp(0.4rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    width: 100%;
    overflow-x: hidden;
}
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: clamp(50px, 12vw, 90px);
}
.time-value {
    font-size: clamp(1.6rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.time-unit {
    font-size: clamp(0.5rem, 1.8vw, 0.9rem);
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.4rem;
    letter-spacing: 0.05em;
}
.status-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    width: 100%;
}
.status-row {
    font-size: clamp(0.75rem, 3vw, 0.95rem);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: var(--card-social-bg);
    border-radius: 50px;
    border: 1px solid var(--card-social-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    white-space: nowrap;
    flex: 0 1 auto;
}
.interaction-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    width: 100%;
}
.btn-interaction {
    background: var(--card-social-bg);
    border: 1px solid var(--card-social-border);
    color: var(--text-main);
    padding: 0.7rem 1.4rem;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-decoration: none;
}
.btn-interaction:hover { transform: translateY(-2px); border-color: var(--text-muted); }
.btn-interaction span { opacity: 0.8; font-size: 0.85rem; font-weight: 800; }
.dead-badge {
    background: #ef444422;
    color: #ef4444;
    border: 1px solid #ef444444;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.estimated-badge {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}
.badge {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.badge.online { background-color: var(--status-online); box-shadow: 0 0 10px var(--status-online); }
.badge.offline { background-color: var(--status-offline); }
.video-wrapper { width: 100%; display: flex; justify-content: center; margin-bottom: 2.5rem; }
.video-container { width: 100%; max-width: 750px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.35); border: 1px solid var(--card-social-border); background: #000; }
.video-container iframe { width: 100%; height: 100%; border: none; }
.socials-container { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 56px; height: 54px; border-radius: 50%; background-color: var(--card-social-bg); border: 1px solid var(--card-social-border); color: var(--text-muted); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 6px 18px rgba(0,0,0,0.08); text-decoration: none; }
.social-link i { font-size: 1.6rem; }
.social-link:hover { transform: translateY(-5px) scale(1.1); }
.since-stream-bottom { margin-top: 4rem; opacity: 0.8; transform: scale(0.9); }
[v-cloak] { display: none; }
@media (max-width: 480px) {
    .counter-grid { gap: 0.3rem 0.5rem; flex-wrap: nowrap; }
    .time-block { min-width: 60px; }
    .status-container { flex-direction: column; align-items: center; }
}
