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

:root {
    --orange-primary: #ff6b00;
    --orange-secondary: #ff8533;
    --orange-dark: #cc5500;
    --black-primary: #0a0a0a;
    --black-secondary: #1a1a1a;
    --black-tertiary: #2d2d2d;
    --gray-light: #f5f5f5;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --error-color: #ff4444;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Animasyonlu Arkaplan Elementleri */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

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

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

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--orange-secondary) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--orange-dark) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 50px) scale(1.1); }
    50% { transform: translate(0, 100px) scale(0.9); }
    75% { transform: translate(-50px, 50px) scale(1.05); }
}

/* Particle Network Animation */
.particle-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--orange-primary) 1px, transparent 1px),
        radial-gradient(circle, var(--orange-secondary) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    animation: particleMove 60s linear infinite;
    opacity: 0.1;
}

@keyframes particleMove {
    0% { background-position: 0 0, 25px 25px; }
    100% { background-position: 1000px 1000px, 1025px 1025px; }
}

/* Login Wrapper */
.login-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Login Card */
.login-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 0, 0.1);
    border-radius: 30px;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: cardAppear 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Brand Section */
.brand {
    text-align: center;
    margin-bottom: 40px;
}

.logo-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 2s infinite;
    position: relative;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: ripple 2s infinite;
}

.logo-icon {
    font-size: 40px;
    color: var(--text-primary);
    animation: rotate 10s linear infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px var(--orange-primary); }
    50% { box-shadow: 0 0 40px var(--orange-secondary); }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-title {
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    animation: slideUp 0.6s ease-out;
}

.brand-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    animation: slideUp 0.8s ease-out;
}

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

/* Error Message */
.error-message {
    background: rgba(255, 68, 68, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Form Groups */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange-primary);
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 18px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--orange-primary);
}

.form-input:focus + .input-icon {
    color: var(--orange-secondary);
    transform: translateY(-50%) scale(1.1);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-input:focus ~ .input-border {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: var(--orange-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--text-secondary);
    border-radius: 5px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.forgot-link {
    color: var(--orange-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Login Button */
.login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    border: none;
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.login-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;
}

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

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

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

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-btn.loading .btn-text {
    opacity: 0;
}

.login-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Social Login */
.social-login {
    text-align: center;
    margin-bottom: 25px;
}

.social-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.social-text::before,
.social-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(255, 107, 0, 0.3);
}

.social-text::before {
    left: 0;
}

.social-text::after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 107, 0, 0.3);
    background: transparent;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-btn:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    transform: translateY(-3px);
}

/* Signup Link */
.signup-link {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.signup-link a {
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        padding: 40px 30px;
    }
    
    .brand-title {
        font-size: 28px;
    }
    
    .orb {
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}