* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #00000f;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Particle Container - w0nder.gay style */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particles-js canvas {
    display: block;
    vertical-align: bottom;
    pointer-events: auto;
}

canvas {
    display: block;
    vertical-align: bottom;
}

/* Ana Container */
.login-container {
    display: flex;
    width: 90%;
    max-width: 1000px;
    height: 600px;
    background: rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.3);
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.3);
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 100;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sol Bölüm */
.left-section {
    flex: 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-section::before {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: rotate(0deg) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) translate(20px, -20px);
    }
}

.logo-container {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-shape {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    animation: pulse 4s ease-in-out infinite;
}

.logo-gif {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.logo-gif:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


.brand-name {
    color: white;
    font-size: 48px;
    font-weight: 900;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: -2px;
    margin-top: 20px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Social Logos */
.social-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link i {
    font-size: 24px;
    color: white;
    z-index: 2;
    position: relative;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.social-link:hover i {
    color: white;
}

/* Telegram */
.social-link.telegram {
    background: rgba(0, 136, 204, 0.3);
    border-color: rgba(0, 136, 204, 0.5);
}

.social-link.telegram:hover {
    background: rgba(0, 136, 204, 0.6);
    border-color: rgba(0, 136, 204, 0.8);
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
}

/* Instagram */
.social-link.instagram {
    background: rgba(225, 48, 108, 0.3);
    border-color: rgba(225, 48, 108, 0.5);
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.6);
    border-color: rgba(225, 48, 108, 0.8);
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.4);
}

/* Website */
.social-link.website {
    background: rgba(255, 0, 165, 0.3);
    border-color: rgba(255, 0, 165, 0.5);
}

.social-link.website:hover {
    background: rgba(255, 0, 165, 0.6);
    border-color: rgba(255, 0, 165, 0.8);
    box-shadow: 0 15px 30px rgba(255, 0, 165, 0.4);
}

/* Sağ Bölüm */
.right-section {
    flex: 1;
    background: #1a1a1a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    z-index: 150;
}


.form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #f87171);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.form-subtitle {
    color: #cccccc;
    font-size: 16px;
    font-weight: 500;
}

/* Form Stilleri */
.login-form {
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc2626;
    font-size: 16px;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: #2a2a2a;
    border: 2px solid #444444;
    border-radius: 12px;
    font-size: 16px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.input-group input::placeholder {
    color: #888888;
    font-weight: 400;
}

.input-group input:focus {
    border-color: #dc2626;
    background: #333333;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc2626;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: #b91c1c;
}

/* Error Message */
.error-message {
    min-height: 24px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    padding: 15px 20px;
    border-radius: 10px;
    border: 3px solid #c0392b;
    display: none;
    animation: shake 0.5s ease, pulse 0.5s ease;
    position: relative;
    z-index: 200;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
    letter-spacing: 0.5px;
}

.error-message.show {
    display: block !important;
    opacity: 1 !important;
    animation: shake 0.5s ease, pulse 0.5s ease !important;
}

.error-message strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    text-transform: uppercase;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* Butonlar */
.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.login-btn.loading .btn-text {
    opacity: 0;
}

.login-btn.loading .btn-loader {
    display: block;
}


/* Footer */
.footer-text {
    text-align: center;
    margin-top: 30px;
}

.footer-text p {
    color: #aaaaaa;
    font-size: 12px;
    font-weight: 500;
}

/* Video Container */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-container.show {
    opacity: 1;
    pointer-events: all;
}

.video-container video {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.7);
}

.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-btn i {
    font-size: 16px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        max-width: 400px;
        margin: 20px;
    }

    .left-section {
        height: 200px;
        padding: 30px;
    }

    .logo-shape {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .brand-name {
        font-size: 32px;
    }

    .right-section {
        padding: 40px 30px;
    }

    .form-title {
        font-size: 24px;
    }

    .back-btn {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .video-container video {
        max-width: 95%;
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
        margin: 10px;
        border-radius: 20px;
    }

    .left-section {
        height: 150px;
        padding: 20px;
    }

    .logo-shape {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .brand-name {
        font-size: 28px;
    }

    .right-section {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .input-group input {
        padding: 14px 18px 14px 48px;
        font-size: 15px;
    }

    .login-btn, .free-login-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Extra animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-container {
    animation: fadeIn 0.8s ease-in-out 0.3s both;
}