:root {
    --primary: #E56404;
    --primary-rgb: 229, 100, 4;
    --primary-glow: rgba(var(--primary-rgb), 0.5);

    --secondary: #FAD120;
    --secondary-rgb: 250, 209, 32;
    --secondary-glow: rgba(var(--secondary-rgb), 0.5);

    --background: #0A0A0C;
    --surface: #13131f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(19, 19, 31, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, var(--primary-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, var(--secondary-glow) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
}

/* Logo */
/* Header Branding (Logo + Text) */
.header-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

/* Logo */
.logo-container {
    /* Removed margin-bottom */
    display: flex;
    /* Fix for alignment */
}

.brand-logo {
    width: 80px;
    /* Slightly smaller for inline */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(229, 100, 4, 0.6));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0;
    /* Remove bottom margin */
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Animation handled by parent usually, but keep simple here */
}

p.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Social Grid - Fantasy Edition */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    perspective: 1000px;
}

.social-item {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    overflow: hidden;
    /* Floating Animation */
    animation: float 6s ease-in-out infinite;
}

.social-item:nth-child(2) {
    animation-delay: 1s;
}

.social-item:nth-child(3) {
    animation-delay: 2s;
}

/* Active Glows & Colors */
.social-item.discord:hover {
    color: #fff;
    background: #5865F2;
    /* Discord Blurple */
    box-shadow: 0 0 30px #5865F2, 0 0 60px rgba(88, 101, 242, 0.5);
    border-color: #5865F2;
    transform: translateY(-15px) scale(1.1) rotate(10deg);
}

.social-item.facebook:hover {
    color: #fff;
    background: #1877F2;
    /* FB Blue */
    box-shadow: 0 0 30px #1877F2, 0 0 60px rgba(24, 119, 242, 0.5);
    border-color: #1877F2;
    transform: translateY(-15px) scale(1.1) rotate(-10deg);
}

.social-item.instagram:hover {
    color: #fff;
    background: #E1306C;
    /* Insta Pink */
    box-shadow: 0 0 30px #E1306C, 0 0 60px rgba(225, 48, 108, 0.5);
    border-color: #E1306C;
    transform: translateY(-15px) scale(1.1) rotate(5deg);
}

/* Glass Shine Effect */
.social-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.social-item:hover::after {
    left: 125%;
    transition: 0.7s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 1.5rem;
    }
}