/* Website Reset and Custom Dark Theme Variables */
:root {
    --bg-dark: #07040d;
    --bg-surface: #11091f;
    --bg-card: #170d2b;
    --primary-accent: #9266eb;
    --text-main: #f0edf7;
    --text-dim: #9a91b0;
    --border-color: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.content-container, .header-container, .hero-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation Bar */
.site-header {
    background-color: rgba(7, 4, 13, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-logo span {
    color: var(--primary-accent);
}

.site-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 24px;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    padding: 140px 0 60px 0;
    background: linear-gradient(180deg, #110824 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-avatar-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.avatar-ring {
    position: relative;
    width: 130px;
    height: 130px;
}

.site-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-surface);
    background-color: #222;
}

.status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background-color: #f5b041;
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
}

.status-msg {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.hero-text-area h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 8px 0;
}

.hero-lead {
    font-size: 20px;
    font-style: italic;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.tag-row {
    display: flex;
    gap: 8px;
}

.user-pill, .group-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

.user-pill {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
}

.group-pill {
    background-color: rgba(146, 102, 235, 0.15);
    color: #cbbdf2;
    border: 1px solid rgba(146, 102, 235, 0.2);
}

.meta-badges {
    display: flex;
    gap: 12px;
    font-size: 16px;
    opacity: 0.6;
}

/* Global Content Sections */
.main-content {
    padding: 60px 0;
}

.info-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-dim);
    margin-top: -16px;
    margin-bottom: 24px;
}

/* About / Biography block */
.bio-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.status-alert {
    display: inline-block;
    color: #a78bfa;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.bio-paragraph {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.7;
}

.bio-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.footer-label {
    color: var(--text-dim);
}

/* Games layout grids */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.game-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
}

.game-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card);
}

.game-emoji {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.game-card h3 {
    font-size: 15px;
    font-weight: 600;
}

/* Wishlist design layouts */
.wishlist-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wishlist-display-box {
    aspect-ratio: 1.5;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Footer rules */
.site-footer {
    text-align: center;
    padding: 40px 0;
    font-size: 13px;
    color: var(--text-dim);
    border-top: 1px solid var(--border-color);
}

/* Responsiveness scaling tweaks */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .tag-row, .meta-badges {
        justify-content: center;
    }
    .games-grid, .wishlist-wrapper {
        grid-template-columns: 1fr;
    }
    .bio-footer {
        flex-direction: column;
        gap: 4px;
    }
}