:root {
    --primary-glow: #ff6b35;
    --secondary-glow: #f7931e;
    --dark-bg: #0a0e17;
    --card-bg: #131922;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --discord-blue: #5865F2;
    --discord-hover: #4752C4;
}

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

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow), transparent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--secondary-glow), transparent);
    bottom: -10%;
    right: -10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--discord-blue), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

/* Auth Card */
.auth-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.6s ease-out;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-glow),
        var(--secondary-glow),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

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

/* Logo */
.logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    animation: logoAppear 0.8s ease-out 0.2s backwards;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-glow), transparent);
    filter: blur(30px);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.logo {
    position: relative;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    /* Logo este static - fără rotație */
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Title */
.title {
    text-align: center;
    margin-bottom: 12px;
    animation: titleAppear 0.8s ease-out 0.4s backwards;
}

.title-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    display: inline-block;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

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

/* Subtitle */
.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
    animation: subtitleAppear 0.8s ease-out 0.5s backwards;
}

@keyframes subtitleAppear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Discord Button */
.discord-btn {
    width: 100%;
    background: var(--discord-blue);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: buttonAppear 0.8s ease-out 0.6s backwards;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(88, 101, 242, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.discord-btn:active {
    transform: translateY(0);
}

.discord-icon {
    width: 24px;
    height: 24px;
}

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

/* Terms */
.terms {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: termsAppear 0.8s ease-out 0.7s backwards;
}

.terms-link {
    color: var(--primary-glow);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.terms-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-glow);
    transition: width 0.3s ease;
}

.terms-link:hover::after {
    width: 100%;
}

.terms-link:hover {
    color: var(--secondary-glow);
}

@keyframes termsAppear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 40px 30px;
    }
    
    .title-main {
        font-size: 40px;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
    }
}