:root {
    --arzen-cyan: #00F2FF;
    --arzen-bg: #05070a;
    --arzen-card: rgba(13, 17, 23, 0.7);
    --admin-red: #ff4d4d;
}

/* GENEL TASARIM */
body {
    background: var(--arzen-bg);
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #05070a; }
::-webkit-scrollbar-thumb { background: #1a1d23; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--arzen-cyan); }

.page-transition {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* CAM EFEKTİ VE KARTLAR */
.glass {
    background: var(--arzen-card);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass:hover { border-color: rgba(0, 242, 255, 0.2); }

/* BUTONLAR */
.btn-main {
    background: var(--arzen-cyan);
    color: black;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-main:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
    transform: scale(1.05) translateY(-2px);
}

.btn-credit {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--arzen-cyan);
    font-weight: 800;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0px rgba(0, 242, 255, 0.2); }
    70% { box-shadow: 0 0 0 12px rgba(0, 242, 255, 0); }
    100% { box-shadow: 0 0 0 0px rgba(0, 242, 255, 0); }
}

/* FORM ELEMANLARI */
input, select, textarea {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    border-radius: 14px;
    padding: 14px;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, textarea:focus { 
    border-color: var(--arzen-cyan) !important; 
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

/* Özel Select Stilleri */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper input[readonly] {
    cursor: pointer;
    user-select: none;
}

#custom-select-dropdown {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* DESTEK SİSTEMİ MESAJLARI */
.ticket-area {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    height: 450px;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.msg {
    max-width: 75%;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    animation: msgPop 0.3s ease-out;
}

@keyframes msgPop { 
    from { opacity: 0; transform: scale(0.9); } 
    to { opacity: 1; transform: scale(1); } 
}

.msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-admin {
    align-self: flex-start;
    background: #2b2d31;
    color: #dbdee1;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* RÜTBELER */
.rank-kurucu { color: #ff4d4d; text-shadow: 0 0 10px rgba(255, 77, 77, 0.3); }
.rank-admin { color: #ff9f43; }
.rank-developer { color: #a29bfe; }
.rank-designer { color: #feca57; }
.rank-müşteri { color: #00d2d3; }
.rank-üye { color: #8395a7; }

/* ANIMASYONLAR */
.glow-text { animation: glow 2s ease-in-out infinite alternate; }
@keyframes glow { 
    from { text-shadow: 0 0 10px #00f2ff44; } 
    to { text-shadow: 0 0 25px #00f2ff88; } 
}

/* NAVBAR ACTIVE STATES */
.nav-link {
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--arzen-cyan), transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--arzen-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    font-weight: 900;
}

.nav-link.active::after {
    width: 100%;
    background: var(--arzen-cyan);
    box-shadow: 0 0 10px var(--arzen-cyan);
}

/* USER DROPDOWN */
#user-dropdown {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#user-dropdown.hidden {
    display: none;
}
