* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url('../images/login-register.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.auth-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: relative;
    z-index: 2;
}

.auth-left {
    flex: 1;
    max-width: 500px;
    padding-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    width: 350px;
    margin-bottom: 20px;
    margin-left: 100px;
}

.auth-container {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    margin-left: auto;
}

.auth-box {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.auth-logo {
    width: 120px;
    margin-bottom: 15px;
}

h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.subtitle {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 13px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-size: 13px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #f57c00;
    background: rgba(255, 255, 255, 0.1);
}

input::placeholder {
    color: #888;
}

.forgot-password {
    display: block;
    text-align: right;
    color: #4a9eff;
    text-decoration: none;
    font-size: 11px;
    margin-top: 5px;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #f57c00;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 5px;
}

.auth-btn:hover {
    background: #ff9800;
    transform: translateY(-2px);
}

.divider {
    margin: 20px 0;
    color: #888;
    position: relative;
    font-size: 11px;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.discord-btn {
    width: 100%;
    padding: 12px;
    background: #5865F2;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.discord-btn i {
    font-size: 18px;
}

.register-btn,
.login-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 25px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 6px;
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
}

.register-btn:hover,
.login-btn:hover {
    background: rgba(46, 204, 113, 0.25);
    transform: translateY(-2px);
}

.powered-by {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    margin-top: 20px;
    font-weight: 500;
}

/* Responsive Tasarım */
@media (max-width: 480px) {
    .auth-container {
        padding: 15px;
    }

    .auth-box {
        padding: 30px 20px;
    }

    h1 {
        font-size: 22px;
    }

    .auth-btn,
    .discord-btn {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .auth-page {
        padding: 0 20px;
    }

    .auth-left {
        display: none;
        /* Mobilde sol logo gizlenir */
    }

    .auth-container {
        margin: 0 auto;
        padding: 15px;
    }
}

@media (max-width: 1200px) {
    .site-logo {
        margin-left: 50px;
    }
}

@media (max-width: 992px) {
    .site-logo {
        margin-left: 20px;
    }
}

/* Mevcut CSS'e eklenecek */
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.captcha-text {
    font-size: 14px;
    margin-bottom: 20px;
    color: #aaa;
}

.captcha-text i {
    font-size: 24px;
    color: #f57c00;
    margin: 0 5px;
    vertical-align: middle;
}

.captcha-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.captcha-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.captcha-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.captcha-icon i {
    font-size: 30px;
    color: #fff;
}

.captcha-result {
    margin-top: 15px;
    font-size: 14px;
}

.captcha-result .success {
    color: #2ecc71;
}

.captcha-result .error {
    color: #e74c3c;
}