:root {
    --primary-glow: #00d2ff;
    --secondary-glow: #3a7bd5;
    --bg-dark: #050505;
    --text-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Image & Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/934-5_rlc_concept_GDC_min.png') center/cover no-repeat;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
}

.hero {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header {
    margin-bottom: 3rem;
}

.logo {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-dim);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Glass Card */
.widget-container {
    width: 100%;
    max-width: 450px;
    perspective: 1000px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 210, 255, 0.15);
}

.widget-header {
    margin-bottom: 1.5rem;
}

.widget-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.widget-header p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Discord Invite Card */
.discord-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #2b2d31; /* Modern Discord dark bg */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.discord-invite-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.discord-invite-card:hover {
    background: #313338;
}

.discord-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.discord-avatar {
    width: 50px;
    height: 50px;
    background: #1e1f22;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.discord-avatar img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.discord-meta {
    text-align: left;
}

.invite-top {
    font-size: 0.7rem;
    font-weight: 800;
    color: #b5bac1;
    display: block;
    margin-bottom: 2px;
}

.server-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.accept-btn {
    background: #248046;
    color: white;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    text-align: center;
}

.discord-invite-card:hover .accept-btn {
    background: #1a6334;
}

footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    .hero {
        padding: 1rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .discord-wrapper {
        height: 450px;
    }
}
