* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #050505;
    color: #ffffff;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Üst Navigasyon */
.top-nav {
    position: fixed;
    top: 25px;
    right: 35px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-selector-placeholder {}

.nav-btn {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-register:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    transform: translateY(-1px);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(15, 17, 26, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-badge {
    background: #6366f1;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.user-name {
    font-size: 0.85rem;
    color: #a5b4fc;
    font-weight: 600;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-panel {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #c7d2fe;
    padding: 6px 14px;
    font-size: 0.75rem;
}

.btn-panel:hover {
    background: rgba(99, 102, 241, 0.4);
    color: #fff;
}

.btn-logout {
    background: none;
    border: none;
    color: #f87171;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    padding: 4px;
}

.btn-logout:hover { text-decoration: underline; }

/* Merkez İçerik (Ana Sayfa) */
.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    user-select: none;
}

.brand-title {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(99, 102, 241, 0.4);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.sub-text {
    margin-top: 15px;
    font-size: 0.95rem;
    letter-spacing: 6px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.8;
}

.badge {
    display: inline-block;
    margin-top: 25px;
    padding: 6px 16px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #34d399;
    backdrop-filter: blur(10px);
}

/* Normal Kullanıcı Paneli */
.dashboard-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    padding: 0 20px;
    animation: fadeIn 0.4s ease;
}

.dashboard-card {
    background: rgba(15, 17, 26, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(99, 102, 241, 0.15);
    text-align: left;
}

.dashboard-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.back-home-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.back-home-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.dashboard-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 20px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 12px;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.active-status { color: #34d399; }

/* Şifre Değiştirme Alanı */
.settings-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
}

.settings-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 15px;
}

/* Admin Denetim Paneli */
.admin-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    padding: 60px 20px 20px;
    animation: fadeIn 0.4s ease;
}

.admin-card {
    background: rgba(15, 17, 26, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-sub {
    color: #94a3b8;
    font-size: 0.85rem;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-summary {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #c7d2fe;
}

.table-wrapper {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.users-table th {
    padding: 12px;
    color: #94a3b8;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.users-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pill-active { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; }
.pill-banned { background: rgba(248, 113, 113, 0.2); color: #f87171; }

.action-btn {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 4px;
    margin-bottom: 4px;
}

.btn-ban { background: #f59e0b; color: #000; }
.btn-unban { background: #10b981; color: #fff; }
.btn-delete { background: #ef4444; color: #fff; }
.btn-password { background: #6366f1; color: #fff; }

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

@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.2)); }
    100% { filter: drop-shadow(0 0 35px rgba(99, 102, 241, 0.7)); }
}

/* Modal Tasarımı */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-card {
    background: rgba(15, 17, 26, 0.92);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 35px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.15);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.4rem;
    cursor: pointer;
}

.close-btn:hover { color: #ffffff; }

.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.auth-tab {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.auth-tab.active {
    color: #ffffff;
    position: relative;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366f1;
}

.form-group { margin-bottom: 15px; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

.form-group input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.form-message {
    margin-top: 12px;
    font-size: 0.8rem;
    text-align: center;
    min-height: 18px;
}

.msg-error { color: #f87171; }
.msg-success { color: #34d399; }

@media (max-width: 768px) {
    .top-nav { top: 15px; right: 15px; gap: 8px; }
    .brand-title { font-size: 2.6rem; letter-spacing: 5px; }
    .user-profile { padding: 6px 12px; }
    .auth-card, .dashboard-card, .admin-card { margin: 0 15px; padding: 22px; }
    .dashboard-stats { grid-template-columns: 1fr; }
}
