:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --card-hover: #1a1a1a;
    --border-color: #262626;
    --border-hover: #404040;
    --text-primary: #ededed;
    --text-secondary: #999999;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    width: 100%;
}

.bento-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.bento-card:hover {
    background-color: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Span utilities for grid */
.span-2 {
    grid-column: span 2;
}

/* Hero Card Styling */
.card-hero {
    background: linear-gradient(135deg, #141414 0%, #1c1c1c 100%);
    border-color: #333;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 16px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.card-hero h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.nickname {
    color: var(--text-secondary);
    font-weight: 500;
}

.role {
    font-size: 15px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #fff;
    color: #000;
}

.btn-primary:hover {
    background-color: #e5e5e5;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Card General Elements */
.card-icon {
    font-size: 24px;
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.bento-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.external-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 16px;
    display: inline-block;
}

/* Highlight card */
.highlight {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(145deg, #141414, #121824);
}

/* Now list */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.now-list {
    list-style: none;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* YouTube Card */
.card-youtube .yt-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.card-youtube .card-icon {
    margin-bottom: 0;
    background: rgba(255, 0, 0, 0.1);
    padding: 12px;
    border-radius: 12px;
}

/* Clock Display */
.clock-display {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 6px 0;
    font-variant-numeric: tabular-nums;
}

.tz-sub {
    font-size: 11px;
}

footer {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Grid for Tablets and Phones */
@media (max-width: 850px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 550px) {
    .bento-container {
        grid-template-columns: 1fr;
    }
    .span-2 {
        grid-column: span 1;
    }
    body {
        padding: 12px 8px;
    }
}