:root { 
            --primary: #00f2fe; 
            --secondary: #4facfe;
            --bg: #0f172a; 
            --card: rgba(30, 41, 59, 0.7); 
            --text: #f8fafc; 
            --red: #ef4444; 
            --word: #2b579a; 
            --excel: #217346; 
            --glass-border: rgba(255, 255, 255, 0.1);
        }
        
        * {
            box-sizing: border-box;
            transition: all 0.3s ease;
        }

        body { 
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
            margin: 0; 
            background: radial-gradient(circle at top right, #1e293b, #0f172a);
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
            color: var(--text); 
            padding-bottom: 80px; 
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* Modern Scrollbar */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #0f172a; }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

        /* NAVBAR (Cam Efekti) */
        nav { 
            background: rgba(15, 23, 42, 0.7); 
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 15px 30px; 
            border-bottom: 1px solid var(--glass-border); 
            position: sticky; 
            top: 0; 
            z-index: 1000; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            flex-wrap: wrap; 
            gap: 15px; 
            display: none; 
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }
        
        .nav-links { display: flex; gap: 15px; flex-wrap: wrap; }
        
        nav a { 
            color: #94a3b8; 
            text-decoration: none; 
            font-weight: 600; 
            cursor: pointer; 
            padding: 10px 18px; 
            font-size: 14px; 
            border-radius: 12px; 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        nav a:hover, nav a.active { 
            color: #fff; 
            background: linear-gradient(135deg, var(--primary), var(--secondary)); 
            box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
            transform: translateY(-2px);
        }
        
        /* USER INFO */
        #user-info-display { 
            font-size: 13px; 
            color: var(--text); 
            background: rgba(255, 255, 255, 0.05); 
            padding: 8px 15px; 
            border-radius: 12px; 
            border: 1px solid var(--glass-border); 
            text-align: right; 
            min-width: 150px; 
            display: none; 
            backdrop-filter: blur(10px);
        }
        
        .admin-badge { 
            background: linear-gradient(135deg, #f59e0b, #d97706); 
            color: black; 
            font-weight: bold; 
            padding: 3px 8px; 
            border-radius: 6px; 
            font-size: 10px; 
            margin-left: 8px; 
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
        }

        /* MODAL & AUTH SCREEN (Giriş Ekranı) */
        #auth-screen, #verify-screen { 
            position: fixed; 
            inset: 0; 
            background: rgba(15, 23, 42, 0.85); 
            backdrop-filter: blur(20px); 
            z-index: 5000; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
        }
        
        .modal-content { 
            background: rgba(30, 41, 59, 0.8); 
            padding: 40px 30px; 
            border-radius: 24px; 
            width: 90%; 
            max-width: 450px; 
            border: 1px solid var(--glass-border); 
            max-height: 90vh; 
            overflow-y: auto; 
            text-align: center; 
            box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
            animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes modalPop {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        #auth-screen h1 {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 2.5rem;
            letter-spacing: 2px;
            margin-bottom: 10px;
            text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
        }

        /* FORMLAR */
        input, select, textarea { 
            width: 100%; 
            padding: 14px 18px; 
            margin: 10px 0; 
            background: rgba(15, 23, 42, 0.6); 
            border: 1px solid var(--glass-border); 
            color: white; 
            border-radius: 12px; 
            font-size: 15px;
            outline: none;
        }
        
        input:focus, select:focus, textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
            background: rgba(15, 23, 42, 0.9);
        }

        button {
            width: 100%; 
            padding: 14px; 
            margin: 10px 0; 
            background: linear-gradient(135deg, var(--primary), var(--secondary)); 
            border: none; 
            color: #0f172a; 
            font-weight: 800;
            font-size: 16px;
            border-radius: 12px; 
            cursor: pointer;
            letter-spacing: 1px;
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
        }

        /* DUYURU PANOSU */
        .announcement-section { 
            background: rgba(30, 41, 59, 0.5); 
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border); 
            border-radius: 20px; 
            padding: 25px; 
            margin-bottom: 30px; 
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }
        
        .announcement-item { 
            background: rgba(15, 23, 42, 0.6); 
            padding: 15px 20px; 
            margin-top: 15px; 
            border-radius: 12px; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            border-left: 4px solid var(--primary); 
        }
        
        .ann-file-link { 
            background: rgba(0, 242, 254, 0.1); 
            color: var(--primary); 
            padding: 8px 15px; 
            border-radius: 8px; 
            text-decoration: none; 
            font-size: 13px; 
            font-weight: bold;
            display: flex; 
            align-items: center; 
            gap: 5px; 
        }
        
        .ann-file-link:hover { 
            background: var(--primary); 
            color: black; 
        }

        /* SLIDER */
        .slider-wrapper { margin-bottom: 30px; display: none; }
        
        .slider-container { 
            width: 100%; 
            height: 350px; 
            background: #000; 
            border-radius: 20px; 
            overflow: hidden; 
            position: relative; 
            border: 1px solid var(--glass-border); 
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        
        .slide { 
            width: 100%; 
            height: 100%; 
            background-size: cover; 
            background-position: center; 
            display: none; 
            position: relative; 
            cursor: pointer; 
        }
        
        .slide:hover { transform: scale(1.02); }
        
        .slide-caption { 
            position: absolute; 
            bottom: 0; 
            left: 0; 
            right: 0; 
            background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); 
            padding: 40px 30px 20px; 
            color: white; 
        }

        .fade { animation-name: fade; animation-duration: 1.5s; }
        @keyframes fade { from {opacity: .4} to {opacity: 1} }

        /* POST KARTI */
        .post-card { 
            background: rgba(30, 41, 59, 0.6); 
            backdrop-filter: blur(12px);
            border-radius: 20px; 
            margin-top: 25px; 
            border: 1px solid var(--glass-border); 
            padding: 25px; 
            position: relative; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0, 242, 254, 0.1);
            border-color: rgba(0, 242, 254, 0.3);
        }
        
        .post-header { 
            display: flex; 
            justify-content: space-between; 
            align-items: flex-start; 
            margin-bottom: 15px; 
        }

        .post-header b {
            font-size: 1.1em;
            color: var(--primary);
            text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
        }
        
        /* MEDYA GÖSTERİMİ */
        .media-carousel { 
            display: flex; 
            overflow-x: auto; 
            gap: 15px; 
            margin-top: 15px; 
            padding-bottom: 10px; 
        }

        .media-carousel::-webkit-scrollbar { height: 6px; }
        
        .media-item { 
            height: 180px; 
            border-radius: 12px; 
            cursor: pointer; 
            border: 1px solid rgba(255,255,255,0.1); 
            object-fit: cover; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .media-item:hover { transform: scale(1.03); border-color: var(--primary); }
        
        /* DOSYA KUTULARI */
        .file-box {
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center;
            width: 130px; 
            height: 160px; 
            background: rgba(15, 23, 42, 0.8); 
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px; 
            text-decoration: none; 
            color: white; 
            flex-shrink: 0; 
        }
        
        .file-box:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 10px 20px rgba(0,0,0,0.4); 
            border-color: var(--primary);
            background: rgba(30, 41, 59, 0.9);
        }
        
        .file-box i { font-size: 45px; margin-bottom: 15px; }
        .file-box span { font-size: 13px; font-weight: bold; }
        
        .pdf-box:hover { color: var(--primary); }
        .word-box:hover { color: #5b9bd5; }
        .excel-box:hover { color: #33c481; }

        .download-all-btn {
            display: block; 
            width: 100%; 
            background: rgba(0, 242, 254, 0.1); 
            color: var(--primary); 
            border: 1px dashed var(--primary);
            padding: 12px; 
            margin-top: 15px; 
            border-radius: 12px; 
            cursor: pointer; 
            text-align: center;
            font-weight: bold;
        }
        
        .download-all-btn:hover { 
            background: var(--primary); 
            color: black; 
            border-style: solid;
        }

        /* ORTAK */
        .action-container { display: flex; gap: 15px; }
        
        .icon-btn { 
            cursor: pointer; 
            border: none; 
            background: rgba(255,255,255,0.05); 
            color: #94a3b8; 
            font-size: 20px; 
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .icon-btn:hover { background: rgba(255,255,255,0.1); color: white; }

        .fav-btn.active { 
            color: #ef4444; 
            background: rgba(239, 68, 68, 0.1);
            transform: scale(1.1); 
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
        }
        
        .report-btn:hover { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
        
        .complaint-card { 
            background: rgba(69, 26, 26, 0.5); 
            border: 1px solid rgba(185, 28, 28, 0.5); 
            padding: 20px; 
            border-radius: 16px; 
            margin-bottom: 15px; 
            text-align: left; 
            backdrop-filter: blur(10px);
        }

        .container { padding: 30px 20px; max-width: 850px; margin: auto; display: none; }
        .hidden { display: none !important; }

        /* FAB BUTTON */
        .fab { 
            position: fixed; 
            bottom: 30px; 
            right: 30px; 
            width: 65px; 
            height: 65px; 
            background: linear-gradient(135deg, var(--primary), var(--secondary)); 
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 30px; 
            cursor: pointer; 
            color: #0f172a; 
            box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4); 
            z-index: 2000; 
            display: none; 
        }

        .fab:hover { transform: scale(1.1) rotate(90deg); box-shadow: 0 15px 35px rgba(0, 242, 254, 0.6); }
        
        /* MODAL BG */
        .modal-bg { 
            position: fixed; 
            inset: 0; 
            background: rgba(0,0,0,0.8); 
            backdrop-filter: blur(8px);
            z-index: 4000; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
        }

        /* SKELETON LOADING */
        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }
        
        .skeleton-card {
            background: rgba(30, 41, 59, 0.5);
            border-radius: 20px;
            padding: 25px;
            margin-top: 25px;
            border: 1px solid var(--glass-border);
        }
        
        .skeleton-line {
            height: 16px;
            border-radius: 8px;
            background: linear-gradient(90deg, rgba(30,41,59,0.5) 0%, rgba(51,65,85,0.8) 50%, rgba(30,41,59,0.5) 100%);
            background-size: 1000px 100%;
            animation: shimmer 1.5s infinite linear;
            margin-bottom: 12px;
        }
        
        .skeleton-title { height: 24px; width: 60%; margin-bottom: 15px; }
        .skeleton-text { height: 14px; width: 100%; }
        .skeleton-text.short { width: 70%; }
        .skeleton-media {
            height: 160px; width: 160px; border-radius: 12px; margin-top: 10px;
            background: linear-gradient(90deg, rgba(30,41,59,0.5) 0%, rgba(51,65,85,0.8) 50%, rgba(30,41,59,0.5) 100%);
            background-size: 1000px 100%;
            animation: shimmer 1.5s infinite linear;
        }
        .skeleton-header { display: flex; justify-content: space-between; margin-bottom: 15px; }
        .skeleton-badge {
            width: 100px; height: 16px; border-radius: 8px;
            background: linear-gradient(90deg, rgba(30,41,59,0.5) 0%, rgba(51,65,85,0.8) 50%, rgba(30,41,59,0.5) 100%);
            background-size: 1000px 100%;
            animation: shimmer 1.5s infinite linear;
        }   
        /* ARKA PLAN SEÇİCİ PANELİ */
        .bg-panel-btn {
            position: fixed;
            bottom: 105px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: rgba(30, 41, 59, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            cursor: pointer;
            color: var(--primary);
            box-shadow: 0 5px 20px rgba(0,0,0,0.4);
            z-index: 2000;
            border: 1px solid var(--glass-border);
        }
        
        .bg-panel-btn:hover {
            transform: scale(1.1);
            background: var(--primary);
            color: #0f172a;
            box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
        }
        
        .bg-panel {
            position: fixed;
            bottom: 180px;
            right: 30px;
            background: rgba(30, 41, 59, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 20px;
            border: 1px solid var(--glass-border);
            z-index: 1999;
            width: 280px;
            display: none;
            box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        }
        
        .bg-panel.show {
            display: block;
            animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .bg-panel h4 {
            margin: 0 0 15px 0;
            font-size: 15px;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .bg-preview {
            width: 100%;
            height: 70px;
            background-size: cover;
            background-position: center;
            border-radius: 12px;
            margin-bottom: 10px;
            cursor: pointer;
            border: 2px solid transparent;
        }
        
        .bg-preview:hover {
            border-color: var(--primary);
            transform: scale(1.02);
        }
        
        #custom-bg-url {
            font-size: 13px;
            padding: 10px;
            margin: 8px 0;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid var(--glass-border);
            color: white;
            border-radius: 10px;
            width: 100%;
        }
        
        .bg-panel button {
            font-size: 13px;
            padding: 10px;
            margin-top: 8px;
            border-radius: 10px;
        } 
        
        /* SİL BUTONU HOVER EFEKTİ */
        .btn-delete {
            background: #b91c1c;
            color: white;
            border: 1px solid #ef4444;
            transition: all 0.3s ease;
        }
        
        .btn-delete:hover {
            background: #ef4444;
            color: white;
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
            transform: translateY(-2px) scale(1.02);
            border-color: #fca5a5;
        }

        /* VİTRİNE EKLE BUTONU HOVER EFEKTİ */
        .btn-slider {
            background: #d97706;
            color: white;
            border: 1px solid #f59e0b;
            transition: all 0.3s ease;
        }
        
        .btn-slider:hover {
            background: #f59e0b;
            color: black;
            box-shadow: 0 0 15px rgba(245, 158, 11, 0.7);
            transform: translateY(-2px) scale(1.02);
            border-color: #fbbf24;
        }
/* DAHA FAZLA DOSYA BUTONU */

.media-more-btn {
    min-width: 130px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.12);
    border: 1px dashed var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.media-more-btn i {
    font-size: 32px;
}

.media-more-btn:hover {
    background: var(--primary);
    color: #0f172a;
    transform: scale(1.03);
}

/* TÜM DOSYALAR GALERİSİ */

.media-grid-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.media-grid-content {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 20px;
}

.media-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.media-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

@media(max-width: 600px) {
    .media-grid-modal {
        padding: 10px;
    }

    .media-grid-content {
        padding: 12px;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
