:root {
    --discord-primary: #5865f2;
    --discord-background: #36393f;
    --discord-secondary: #2f3136;
    --discord-text: #ffffff;
    --discord-muted: #b9bbbe;
    --discord-hover: #4752c4;
    --animation-timing: 0.3s;
}

.discord-page {
    background: var(--discord-background);
    min-height: 100vh;
    color: var(--discord-text);
    position: relative;
    overflow-x: hidden;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAr8Yi7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAK0lEQVQ4jWNgQAX/GZABIwOqACMyYEJXwIhugBCGAUwYBjBhGMCEYQATAM6iBvIyeEF8AAAAAElFTkSuQmCC');
    opacity: 0.03;
    pointer-events: none;
}

.return-home {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--discord-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: var(--animation-timing) ease;
    z-index: 100;
}

.return-home:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.discord-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 20px;
}

.discord-card {
    background: var(--discord-secondary);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.presence-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.presence-indicator .dot {
    width: 8px;
    height: 8px;
    background: #43b581;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.discord-banner {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.discord-avatar-wrapper {
    position: absolute;
    bottom: -40px;
    left: 30px;
    z-index: 2;
}

.discord-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 8px solid var(--discord-secondary);
    overflow: hidden;
    position: relative;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.discord-avatar:hover img {
    transform: scale(1.1);
}

.status-ring {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #43b581;
    border: 4px solid var(--discord-secondary);
    border-radius: 50%;
    z-index: 2;
}

.username-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 0 30px;
}

.discord-username {
    font-size: 2rem;
    font-weight: 700;
    color: var(--discord-text);
    margin: 0;
}

.discord-tag {
    color: var(--discord-muted);
    font-size: 1.2rem;
}

.verified-badge {
    color: #43b581;
    font-size: 1.2rem;
}

.discord-badges {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding: 0 30px;
}

.badge {
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.badge:hover {
    transform: translateY(-3px);
}

.badge.nitro {
    background: linear-gradient(45deg, #ff73fa, #f47fff);
}

.badge.boost {
    background: linear-gradient(45deg, #ff73fa, #ff4ecd);
}

.badge.developer {
    background: linear-gradient(45deg, #43b581, #2d825c);
}

.discord-body {
    padding: 30px;
}

.activity-section,
.about-section,
.spotify-section,
.connection-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--discord-primary);
    display: block;
    margin: 10px 0;
}

.current-game {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.current-game img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.game-info {
    flex: 1;
}

.game-name {
    font-weight: 600;
    display: block;
}

.game-details {
    color: var(--discord-muted);
    font-size: 0.9rem;
}

.spotify-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(29, 185, 84, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.album-art {
    position: relative;
    width: 60px;
    height: 60px;
}

.album-art img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


/* Add these styles to your discord-styles.css */

.discord-banner {
    height: 240px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient fallback */
.banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #5865f2,
        #4752c4,
        #7289da,
        #5865f2
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Add subtle overlay */
.discord-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.4)
    );
    pointer-events: none;
}