:root {
    --blue-glow: rgba(0, 102, 255, 0.8);
    --red-glow: rgba(255, 20, 20, 0.8);
    --glass-bg: rgba(10, 10, 15, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f0f0f0;
    --text-muted: #d0d0d0;
}

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

body {
    background-color: #050505;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-blurred {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    filter: blur(35px) brightness(0.6);
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Kullanıcının sağladığı resmi arkaplan olarak ayarlıyoruz */
    background-image: url('bg.png'); 
    background-size: cover; /* Arka planı tamamen full'ledik */
    background-repeat: no-repeat;
    background-position: center 15%; /* Biraz daha yukarı kaydırıldı */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.15) 10%, rgba(0,0,0,0.9) 90%),
                linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.95) 100%);
    pointer-events: none;
    z-index: 2;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    padding-bottom: 15vh; /* Orta noktayı yukarı kaydırmak için ekstra alt boşluk eklendi */
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1.5s ease forwards;
}

.main-title-img {
    display: block;
    width: 95%;
    max-width: 650px;
    height: auto;
    margin: 0 auto 0.5rem;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
    animation: floatTitle 6s ease-in-out infinite;
}

@keyframes floatTitle {
    0% { transform: translateY(0px); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)); }
    50% { transform: translateY(-5px); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); }
    100% { transform: translateY(0px); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)); }
}

.brand-logo {
    display: block;
    width: 90%;
    max-width: 500px;
    height: auto;
    margin: -1.5rem auto 2rem; /* "Noxborn logosu ve altındakileri biraz yukarı kaldır" isteği için -1.5rem */
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.9));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0px) scale(1); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.9)); }
    50% { transform: translateY(-10px) scale(1.03); filter: drop-shadow(0 25px 40px rgba(255, 140, 0, 0.5)); }
    100% { transform: translateY(0px) scale(1); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.9)); }
}

.subtitle {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(0.45rem, 2vw, 1.1rem); /* Dar ekranlarda daha da küçülecek */
    line-height: 1.6;
    color: #e8e8e8;
    max-width: 750px;
    margin: 0 auto;
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-shadow: 
        0 1px 0 #444, 
        0 2px 0 #333, 
        0 3px 0 #222, 
        0 4px 3px rgba(0, 0, 0, 0.8),
        0 10px 20px rgba(0,0,0,0.9);
}

.highlight-yellow {
    color: #e6b800; /* Koyu sinematik sarı / altın rengi */
    text-shadow: 
        0 1px 0 #997a00, 
        0 2px 0 #665200, 
        0 4px 5px rgba(230, 184, 0, 0.5),
        0 8px 15px rgba(0, 0, 0, 0.9);
}

.signup-section {
    width: 100%;
    max-width: 750px;
    margin-bottom: 4rem;
    animation: fadeInUp 1.5s ease 0.5s forwards;
    opacity: 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255,255,255,0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg);
    animation: shimmer 7s infinite;
}

.highlight-text {
    font-family: 'Georgia', serif; /* Kaliteli, klasik serif (kibar okunuş) */
    font-style: italic;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #e8e8e8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    text-align: center;
}

.signup-form {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

/* Removed media query to keep form stacked */

.signup-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.signup-form input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.8);
}

.register-btn {
    padding: 1.2rem 2.5rem;
    background: #ffffff;
    color: #050505;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.register-btn:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.25);
}

.register-btn:active {
    transform: translateY(1px);
}

.choice-section {
    display: flex;
    gap: clamp(0.5rem, 3vw, 3rem);
    width: 100%;
    max-width: 900px;
    justify-content: center;
    animation: fadeInUp 1.5s ease 1s forwards;
    opacity: 0;
    flex-wrap: nowrap;
}

.choice-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: 280px;
    height: clamp(60px, 15vw, 100px);
    border: 2px solid;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transform: skewX(-15deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.btn-text {
    font-family: 'Cinzel', serif;
    font-size: clamp(1rem, 5vw, 2rem); /* Eski dengeli boyuta getirildi */
    font-weight: 700; /* Eski kalınlıgına (900 -> 700) getirildi */
    letter-spacing: 3px;
    margin-bottom: 0;
    z-index: 2;
    transform: skewX(15deg);
    transition: transform 0.4s ease, text-shadow 0.4s ease;
    display: inline-block;
}

/* Removed subtext CSS */

/* BUTON EFEKTLERİ */
.blue-btn::before, .red-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--hover-color) 0%, transparent 80%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: 1;
    border-radius: 50%;
}

.blue-btn {
    --hover-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 15, 60, 0.9) 0%, #0044cc 100%);
    border-color: #4da6ff;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.6);
}

.red-btn {
    --hover-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(80, 5, 5, 0.9) 0%, #cc0000 100%);
    border-color: #ff4d4d;
    box-shadow: 0 5px 20px rgba(255, 20, 20, 0.6);
}

.choice-btn:hover {
    transform: translateY(-8px) skewX(-15deg) scale(1.05);
}

.choice-btn:hover::before {
    width: 400px;
    height: 400px;
    opacity: 0.5;
}

.blue-btn:hover {
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.8), inset 0 0 20px #4da6ff;
    border-color: #ffffff;
}

.red-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 20, 20, 0.8), inset 0 0 20px #ff4d4d;
    border-color: #ffffff;
}

.blue-btn:hover .btn-text, .red-btn:hover .btn-text {
    text-shadow: 0 0 15px white;
    transform: skewX(15deg) scale(1.05) translateY(0);
}

/* KÜÇÜK EKRANLAR İÇİN */
@media (max-width: 600px) {
    .glass-card {
        padding: 2rem;
    }
    .choice-btn {
        width: 100%;
        max-width: 300px;
        height: 100px;
    }
}

/* ANIMASYONLAR */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
    0% { left: -100%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

/* Geri Dön Butonu */
.epic-back-btn {
    margin-top: 2rem;
    padding: 0.8rem 3rem;
    background: linear-gradient(90deg, #0044cc 0%, #aa00aa 50%, #cc0000 100%);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
    transition: all 0.3s ease;
}

.epic-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

/* --- YENİ ADMİN SAYFASI STİLLERİ --- */
.admin-page {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.95), rgba(5,5,10,0.98));
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.admin-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.admin-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

.admin-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 2px;
}

.blue-column .column-title { color: #4da6ff; text-shadow: 0 0 15px rgba(0, 102, 255, 0.6); }
.red-column .column-title { color: #ff4d4d; text-shadow: 0 0 15px rgba(255, 20, 20, 0.6); }

.user-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.blue-column .user-card {
    border-left: 4px solid #4da6ff;
}

.red-column .user-card {
    border: 2px solid rgba(255, 77, 77, 0.4);
    box-shadow: inset 0 0 10px rgba(255, 20, 20, 0.1);
}

.user-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.user-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    display: block;
}

.user-email {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: block;
}

@media (max-width: 900px) {
    .admin-columns { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; text-align: center; gap: 20px; }
    .admin-title { font-size: 1.8rem; }
}

/* --- ADMİN İŞLEM BUTONLARI --- */
.admin-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.admin-action-btn {
    padding: 0.7rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* --- PDF / YAZDIRMA TASARIMI (A4) --- */
@media print {
    @page { size: A4; margin: 2cm; }
    
    body { background: white !important; color: black !important; }
    .background-container, .content, .admin-actions, .epic-back-btn { display: none !important; }
    
    .admin-page {
        position: static;
        display: block !important;
        background: white !important;
        color: black !important;
        padding: 0;
    }
    
    .admin-header {
        border-bottom: 2px solid black;
        margin-bottom: 30px;
        justify-content: center;
    }
    
    .admin-title {
        color: black !important;
        text-shadow: none !important;
        font-size: 24pt;
    }
    
    .admin-columns {
        display: block !important;
        max-width: 100%;
    }
    
    .admin-column {
        margin-bottom: 40px;
        page-break-inside: avoid;
    }
    
    .column-title {
        color: black !important;
        text-shadow: none !important;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
        font-size: 18pt;
    }
    
    .user-card {
        background: white !important;
        border: 1px solid #eee !important;
        border-left: 5px solid #333 !important;
        color: black !important;
        margin-bottom: 10px;
        page-break-inside: avoid;
    }
    
    .user-name { color: black !important; font-size: 12pt; }
    .user-email { color: #444 !important; font-size: 10pt; }
}
