:root {
    --bg-color: #050505;
    --card-bg: rgba(25, 25, 25, 0.6);
    --card-border: rgba(255, 215, 0, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-yellow: #FFD700;
    --accent-yellow-hover: #ffea00;
    --glow-color: rgba(255, 215, 0, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: var(--bg-color);
}

/* Floating Side Panels */
.side-panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 390px;
    z-index: 10;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: sideFloat 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.side-panel.left-panel {
    left: calc(25vw - 330px);
    right: auto;
    animation-delay: 0s;
}

.side-panel.right-panel {
    right: calc(25vw - 330px);
    left: auto;
    animation-delay: -1.6s;
}

@media (max-width: 1380px) {
    .side-panel {
        display: none;
    }
}

@keyframes sideFloat {
    0% { transform: translateY(-50%) translateY(0px); }
    100% { transform: translateY(-50%) translateY(-14px); }
}

.side-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.side-panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    flex: 1;
    justify-content: space-between;
    padding-top: 10px;
}

.discord-avatar-wrapper {
    position: relative;
}

.discord-side-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--accent-yellow);
    object-fit: cover;
}

.status-badge-small {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background-color: #23a559;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.side-username {
    font-size: 1.2rem;
    font-weight: 700;
}

.side-tag {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: -6px;
}

.side-id {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.3);
    padding: 4px 8px;
    border-radius: 6px;
}

.side-btn {
    margin-top: 5px;
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    background: #5865F2;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.side-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.bio-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
    text-align: left;
}

.bio-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    width: 100%;
    margin: 4px 0;
}

.bio-stat-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    color: var(--accent-yellow);
    font-weight: 800;
    font-size: 0.85rem;
}

.stat-lbl {
    color: var(--text-secondary);
    font-size: 0.65rem;
    white-space: nowrap;
}

.bio-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
}

.bio-tag {
    font-size: 0.73rem;
    background: rgba(255, 215, 0, 0.08);
    color: var(--accent-yellow);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 5px 8px;
    border-radius: 8px;
    text-align: left;
}

/* Hide side panels on screens where they would overlap */
@media (max-width: 1350px) {
    .side-panel {
        display: none;
    }
}

/* Main Container */
.container {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 1;
}

/* Profile Header */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.avatar-container {
    position: relative;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333, var(--accent-yellow), #333);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    border: 4px solid var(--bg-color);
}

.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: #23a559; /* Traffic light green / Online status */
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 10px rgba(35, 165, 89, 0.6);
}

.username {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.badges {
    display: flex;
    gap: 5px;
    font-size: 1.2rem;
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.join-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

.join-timer {
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    background: rgba(255, 215, 0, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: rgba(25, 25, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 22px;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.45);
    border-top-color: rgba(255, 235, 120, 0.6);
    box-shadow: 0 20px 45px rgba(255, 215, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Details Card */
.details-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.small-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.details-text h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.details-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.server-id-text {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-top: 3px;
}

.server-stats-row {
    display: flex;
    gap: 10px;
    margin: 10px 0 5px 0;
}

.server-stat-pill {
    font-size: 0.8rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: #23a559;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(35, 165, 89, 0.8);
    display: inline-block;
}

.custom-status {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-status i {
    color: var(--accent-yellow);
}

/* Reviews Section */
.reviews-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviews-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.vouch-badge {
    font-size: 0.85rem;
    color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 700px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-stars {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.review-comment {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-style: italic;
    flex: 1;
}

.review-user {
    font-size: 0.78rem;
    color: var(--accent-yellow);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.discord-channel-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
    transition: all 0.25s ease;
}

.discord-channel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

/* Featured Card */
.featured-card {
    background: linear-gradient(145deg, rgba(30, 25, 5, 0.8), rgba(15, 15, 15, 0.8));
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.featured-image {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-yellow);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.featured-info {
    flex: 1;
}

.featured-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.featured-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-controls button {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.music-controls button:hover {
    color: var(--accent-yellow);
    transform: scale(1.1);
}

.music-controls .play-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-yellow);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-controls .play-btn:hover {
    background: var(--accent-yellow-hover);
    color: #000;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Brand Colors */
.social-btn.discord i { color: #5865F2; }
.social-btn.github i { color: #ffffff; }
.social-btn.facebook i { color: #1877F2; }
.social-btn.twitch i { color: #9146FF; }
.social-btn.youtube i { color: #FF0000; }

.social-btn:hover {
    background: var(--accent-yellow);
    color: #000;
    border-color: var(--accent-yellow);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.35);
}

.social-btn:hover i {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: #000 !important;
}

/* Stats & Location */
.stats-location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 12px 30px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    width: fit-content;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.divider {
    width: 1px;
    height: 15px;
    background: rgba(255,255,255,0.2);
}

.stat i, .location i {
    color: var(--accent-yellow);
    margin-right: 5px;
}

/* Quotes Bar */
.quotes-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
    .quotes-bar {
        padding: 20px 15px;
        gap: 15px;
    }
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    opacity: 0.8;
}

.quote-icon.right {
    margin-left: auto;
    align-self: flex-end;
}

.quote-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: opacity 0.5s ease;
}

.quote-author {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.5s ease;
}
