:root {
    --bg-dark: #050200;
    --bg-panel: rgba(30, 15, 10, 0.4);
    --primary-orange: #f97316;
    --gold: #fbbf24;
    --red-accent: #ef4444;
    --text-main: #ffffff;
    --text-muted: #d6d3d1;
    --glass-border: rgba(251, 191, 36, 0.15);
    --font-main: 'Inter', sans-serif;
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent scrolling on desktop */
}

/* Background */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; }
.background-glow {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(239, 68, 68, 0.08) 0%, transparent 60%);
    z-index: -2; pointer-events: none;
}

/* Container */
.container {
    width: 95%;
    max-width: 1200px;
    height: 90vh; /* Fits on screen */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
}

/* Columns */
.col-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Common Card Style */
.bento-card {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-quart);
}

.bento-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.1);
}

/* Profile Card */
.profile-card {
    flex: 2; /* Take more space in left col */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1a1a2e, #000);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    border: 2px solid var(--gold);
    position: relative;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.status-dot {
    position: absolute; bottom: 5px; right: 5px; width: 18px; height: 18px;
    background: var(--gold); border: 3px solid #000; border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.profile-names h1 { font-size: 2rem; margin-bottom: 5px; display: inline-flex; align-items: center; gap: 8px; }
.verified { color: var(--primary-orange); font-size: 1.2rem; }
.status-text { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.badge { background: rgba(251, 191, 36, 0.1); color: var(--gold); padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; border: 1px solid rgba(251, 191, 36, 0.3); }

.profile-bio { margin: 20px 0; font-size: 0.95rem; line-height: 1.6; color: #ccc; }
.website-link { color: var(--primary-orange); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.website-link:hover { color: var(--gold); text-decoration: underline; }

/* Stats Row */
.stats-row {
    display: flex;
    gap: 15px;
    flex: 1;
}

.stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
}

.stat-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 5px; }
.stat-value { font-size: 1.8rem; font-weight: 700; display: block; }
.stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
.mini-footer { text-align: center; color: var(--text-muted); font-size: 0.8rem; padding: 10px; }

/* Right Column */
.section-label { font-size: 0.8rem; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }

/* Links Grid */
.links-container { flex: 2; display: flex; flex-direction: column; }
.links-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    overflow-y: auto;
    padding-right: 5px;
    margin-top: 10px; /* Added spacing to prevent overlap with title on hover */
    padding-top: 10px; /* Extra breathing room */
}

@media (max-width: 1400px) {
    .links-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Scrollbar styling */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.link-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.link-btn i { font-size: 1.8rem; color: var(--text-muted); transition: color 0.3s; }
.link-btn span { font-size: 0.9rem; font-weight: 500; }

.link-btn:hover { 
    background: rgba(251, 191, 36, 0.1); 
    border-color: var(--primary-orange); 
    transform: translateY(-5px); 
    z-index: 2; /* Ensure it stays above siblings if needed, though grid handles this usually */
}
.link-btn:hover i { color: var(--primary-orange); }

/* Services Section */
.services-container { flex: 1.2; display: flex; flex-direction: column; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,0,0,0.2));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: var(--gold);
    background: rgba(251, 191, 36, 0.05);
}

.service-item i { color: var(--primary-orange); font-size: 1.2rem; }
.service-item span { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }

/* Reviews */
.reviews-container { flex: 1.5; display: flex; flex-direction: column; }
.reviews-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.review-item {
    min-width: 280px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.r-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem; }
.r-avatar.orange { background: linear-gradient(135deg, var(--primary-orange), var(--gold)); color: #000; }
.r-meta { display: flex; flex-direction: column; }
.r-name { font-size: 0.85rem; font-weight: 700; }
.r-stars { color: var(--gold); font-size: 0.65rem; }
.r-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* Responsive */
@media (max-width: 900px) {
    body { height: auto; overflow-y: auto; padding: 20px 0; }
    .container { height: auto; max-width: 100%; }
    .bento-grid { grid-template-columns: 1fr; gap: 20px; }
    .profile-card { min-height: 300px; }
    .stats-row { min-height: 120px; }
    .links-container, .reviews-container { min-height: auto; }
}
