/* =================================================================
    YKS REHBERİ - ANA STİL DOSYASI (v4.2 - BİRLEŞTİRİLMİŞ SÜRÜM)
    ================================================================= */

/* === 1. TEMEL AYARLAR VE DEĞİŞKENLER === */
:root {
    --primary: #0d6efd;
    --primary-rgb: 13, 110, 253;
    --primary-light: #e7f1ff;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --light: #f8f9fa;
    --dark: #212529;
    --body-bg: #f8f9fa;
    --border-color: #dee2e6;
    --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    --card-radius: 0.75rem;
    --top-bar-height: 90px;
    --nav-bar-height: 60px;
    --sidebar-width: 260px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark);
    padding-top: calc(var(--top-bar-height) + var(--nav-bar-height));
    transition: padding-top 0.4s ease-in-out;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #0b57d0;
}

/* === 2. HEADER TASARIMI === */
.header-stacked {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: #fff;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-hidden {
    transform: translateY(-100%);
}

.top-brand-bar {
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: height 0.4s ease-in-out, opacity 0.3s ease, padding 0.4s ease, border 0.4s ease;
}

.custom-navbar-bottom {
    height: var(--nav-bar-height);
}

body.scrolled {
    padding-top: var(--nav-bar-height);
}
body.scrolled .top-brand-bar {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: none;
}

.top-brand-bar .navbar-brand {
    padding: 0;
    margin: 0;
}
.animated-brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.header-animation {
    width: 55px;
    height: 45px;
    margin-bottom: -10px;
}
.brand-text {
    font-weight: 700;
    font-size: 2.1rem;
    display: inline-block;
    background: linear-gradient(180deg, #002D62, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 4s ease-in-out infinite alternate;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.custom-navbar-bottom .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #495057;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.custom-navbar-bottom .nav-link i {
    font-size: 1.1rem;
}
.custom-navbar-bottom .nav-link:hover,
.custom-navbar-bottom .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}
.user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.user-avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.btn-user-menu { display: flex; align-items: center; gap: 0.75rem; color: var(--dark); font-weight: 500; text-decoration: none; }
.dropdown-menu { border-radius: var(--card-radius); box-shadow: var(--card-shadow); border: 1px solid var(--border-color); padding: 0.5rem 0; margin-top: 0.75rem !important; }
.dropdown-item { display: flex; align-items: center; padding: 0.75rem 1.25rem; }
.dropdown-item i { width: 25px; text-align: center; }
.menu-badge {
    font-size: 0.7em;
    font-weight: 700;
    padding: 0.3em 0.6em;
    position: relative;
    top: -2px;
    transition: all 0.3s ease;
}
.nav-link.active .menu-badge {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* === 3. GENEL BİLEŞENLER === */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    filter: brightness(90%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.card { 
    border: none; 
    border-radius: var(--card-radius); 
    box-shadow: var(--card-shadow); 
    transition: all 0.3s ease; 
}
.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08); 
}
.card-header { 
    background-color: #fff; 
    border-bottom: 1px solid var(--border-color); 
    font-weight: 600; 
}

.breadcrumb { 
    background-color: #fff; 
    padding: 1rem; 
    border-radius: var(--card-radius); 
    box-shadow: var(--card-shadow); 
}

/* === 4. ANA SAYFA - HERO ALANI VE SLIDER === */
.hero-modern { 
    background-color: #ffffff; 
    padding: 2.5rem 0;
}
.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: start;
}
.hero-content-modern .badge-modern { display: inline-flex; align-items: center; padding: 0.5rem 1rem; background-color: var(--primary-light); color: var(--primary); border-radius: 99px; font-weight: 500; margin-bottom: 1.5rem; }
.hero-content-modern .badge-dot { width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%; margin-right: 0.5rem; }
.hero-title { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--dark); }
.hero-description { font-size: 1.15rem; color: var(--secondary); margin-bottom: 2rem; }
.btn-hero { padding: 1rem 2.5rem; font-size: 1.1rem; font-weight: 600; border-radius: 0.5rem; }
.hero-features { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.feature-item { display: flex; align-items: center; gap: 1rem; }
.feature-icon-wrapper { width: 50px; height: 50px; background-color: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.feature-text h5 { margin-bottom: 0.25rem; font-size: 1.1rem; font-weight: 600; }
.feature-text p { margin-bottom: 0; color: var(--secondary); font-size: 0.9rem; }
.avatar-group img { border: 3px solid white; margin-left: -15px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.avatar-group img:first-child { margin-left: 0; }
.modern-slider-frame {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}
.modern-slider-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}
.slider-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--card-radius) - 8px);
}
.slide-item {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    text-decoration: none;
    display: block;
}
.slide-item.active {
    opacity: 1;
    z-index: 2;
}
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}
.slide-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.modern-slider-frame:hover .slider-nav {
    opacity: 1;
}
.slider-nav.prev { left: 25px; }
.slider-nav.next { right: 25px; }
.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: #fff;
}

/* === 5. PROFİL SAYFASI === */
.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}
.profile-sidebar {
    position: sticky;
    top: calc(var(--top-bar-height) + var(--nav-bar-height) + 1.5rem);
    align-self: start;
}
.card-profile .profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: -70px;
}
.card-welcome-pattern {
    position: relative;
    background-color: var(--primary);
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.05) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}
.card-action {
    transition: all 0.2s ease-in-out;
}
.card-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card-action .action-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* === 6. KONU ANLATIMLARI SAYFASI (SIDEBAR) === */
.sidebar { 
    width: var(--sidebar-width); 
    position: sticky !important; 
    top: calc(var(--top-bar-height) + var(--nav-bar-height) + 24px) !important; 
    height: calc(100vh - (var(--top-bar-height) + var(--nav-bar-height)) - 48px) !important; 
    overflow-y: auto; 
    z-index: 10; 
}
.main-content { 
    padding-top: 1.5rem; 
    padding-bottom: 3rem; 
}
.sidebar-tab-link { 
    padding: 0.6rem 1.2rem; 
    font-weight: 600; 
    color: #495057; 
    border-radius: 50px; 
    transition: all 0.3s ease; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
    margin-bottom: 0.5rem; 
}
.sidebar-tab-link:hover,
.sidebar-tab-link.active { 
    background-color: var(--primary-light); 
    color: var(--primary); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2); 
}
.list-group-konular { 
    max-height: 250px; 
    overflow-y: auto; 
}
.list-group-konular::-webkit-scrollbar { width: 6px; }
.list-group-konular::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.1); border-radius: 3px; }

/* === 7. KİMLİK DOĞRULAMA (AUTH) SAYFALARI === */
.auth-wrapper { display: flex; min-height: 100vh; width: 100%; padding-top: 0; }
.auth-info-panel { width: 45%; background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); color: #ffffff; display: flex; flex-direction: column; justify-content: center; padding: 60px 40px; }
.auth-form-panel { width: 55%; background-color: #fff; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-form-container { width: 100%; max-width: 500px; }
.avatar-selection img { width: 60px; height: 60px; object-fit: cover; }
.avatar-selection .btn { padding: 5px; border: 3px solid transparent; border-radius: 50%; transition: all 0.2s ease-in-out; }
.avatar-selection .btn-check:checked + .btn { border-color: var(--primary); transform: scale(1.1); box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5); }
.auth-info-panel .logo { font-size: 24px; font-weight: bold; margin-bottom: 40px; opacity: 0.9; }
.auth-info-panel h1 { font-size: 36px; font-weight: 700; margin-bottom: 15px; line-height: 1.3; }
.auth-info-panel p { font-size: 16px; opacity: 0.85; margin-bottom: 40px; }
.features-list { display: flex; flex-direction: column; gap: 30px; }
.auth-info-panel .feature-item { display: flex; align-items: center; gap: 20px; background: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 15px; transition: all 0.3s ease; }
.auth-info-panel .feature-item:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-5px); }
.auth-info-panel .feature-item i { font-size: 28px; line-height: 1; }
.auth-info-panel .feature-text h4 { font-size: 18px; font-weight: 600; margin: 0 0 5px 0; }
.auth-info-panel .feature-text p { font-size: 14px; margin: 0; opacity: 0.8; }

/* === 8. FOOTER TASARIMI (MODERN VE DESENLİ) === */
.footer-modern {
    background-color: #1a1a1a; /* Daha koyu bir ana renk */
    color: #adb5bd;
    padding: 5rem 0 0;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    /* Arka plan deseni */
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 20px 20px;
}
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #adb5bd;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}
.footer-brand .footer-description {
    line-height: 1.7;
}
.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 0.75rem 1.25rem;
}
.newsletter-form .form-control::placeholder { color: #adb5bd; }
.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: var(--primary);
}
.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.25rem;
}
.footer-contact li {
    display: flex;
    align-items: center;
}
.footer-contact li i {
    margin-right: 0.75rem;
    color: var(--primary);
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.footer-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer-social .social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: #fff;
}
.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    background-color: rgba(0,0,0,0.2);
}
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    border: none;
    background-color: var(--primary);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem; /* İkon boyutu */
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}
#backToTopBtn:hover {
    filter: brightness(90%);
    transform: scale(1.1);
}
/* === 9. VİDEOLU DERSLER SAYFASI === */
.video-card {
    transition: all 0.3s ease;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1) !important;
}
.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
}
.video-thumbnail img {
    transition: transform 0.4s ease;
}
.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}
.play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-rgb), 0.3);
    color: white;
    font-size: 4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-card:hover .play-icon-overlay {
    opacity: 1;
}
.video-aciklama {
    line-height: 1.8;
}
#likeBtn {
    min-width: 150px;
}
.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.social-share-btn.twitter { background-color: #1DA1F2; }
.social-share-btn.facebook { background-color: #1877F2; }
.social-share-btn.whatsapp { background-color: #25D366; }
.comment-list {
    max-height: 500px;
    overflow-y: auto;
}
.comment-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.comment-content {
    flex-grow: 1;
}
.video-search-form .form-control {
    border-radius: 50px 0 0 50px;
    padding-left: 1.25rem;
}
.video-search-form .btn {
    border-radius: 0 50px 50px 0;
}
.video-search-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
    border-color: var(--primary);
}
.category-filters {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}
.category-btn {
    border-radius: 50px;
    font-weight: 500;
    background-color: var(--light);
    border: 1px solid var(--border-color);
    color: var(--dark);
    transition: all 0.3s ease;
}
.category-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.category-btn.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

/* === 10. KONU ANLATIMLARI (GELİŞMİŞ) === */
.sidebar-konu {
    background-color: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.sidebar-konu .list-group-item {
    font-weight: 500;
    border-radius: 0.5rem !important;
    margin-bottom: 0.25rem;
    border: none;
}
.sidebar-konu .list-group-item.active {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}
.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--card-radius) !important;
    border: 1px solid var(--border-color);
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0.5rem 1rem rgba(var(--primary-rgb), 0.1);
}
.accordion-button {
    padding: 1.25rem 1.5rem;
    background-color: #fff;
}
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: inset 0 -1px 0 var(--border-color);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.konu-linki { 
    padding: 0.9rem 1.5rem; 
    font-size: 1rem; 
    color: var(--dark); 
    display: flex; 
    align-items: center; 
    border-left: 4px solid transparent; 
    transition: all 0.2s ease; 
}
.konu-linki:hover, .konu-linki:focus { 
    background-color: #f8f9fa; 
    color: var(--primary); 
    border-left-color: var(--primary); 
}
.konu-linki i { color: var(--secondary); }
.konu-linki:hover i { color: var(--primary); }
.ders-karti.gizli {
    display: none;
}

/* === 11. DENEME SINAVLARI === */
.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.filter-group .list-group-item {
    font-weight: 500;
    border-radius: 0.5rem !important;
    margin-bottom: 0.25rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}
.filter-group .list-group-item.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.filter-group .list-group-item:not(.active):hover {
    background-color: var(--primary-light);
    color: var(--primary);
}
.exam-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
}
.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow) !important;
    border-color: var(--primary) !important;
}
.exam-card .card-title {
    font-size: 1.2rem;
}
.sinav-karti.gizli {
    display: none;
}
#sonucYokAlert {
    display: none;
}

/* === 12. ANİMASYONLAR === */
@keyframes pulse-glow {
    from {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    to {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 15px rgba(var(--primary-rgb), 0.25);
    }
}

/* === 13. MOBİL UYUMLULUK === */
@media (min-width: 992px) {
    .main-content {
        margin-left: var(--sidebar-width) !important;
    }
}
@media (max-width: 991.98px) {
    .custom-navbar-bottom .navbar-toggler { order: -1; margin-right: auto; }
    .custom-navbar-bottom .navbar-collapse {
        background-color: #ffffff;
        padding: 1.5rem;
        margin-top: 0.75rem;
        border-radius: var(--card-radius);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border: 1px solid var(--border-color);
    }
    .custom-navbar-bottom .navbar-nav { align-items: flex-start; width: 100%; }
    .custom-navbar-bottom .nav-link { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .navbar-actions {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: flex-start;
    }
    .user-name { display: inline-block !important; }
    .navbar-actions .btn-light { display: none; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; margin-bottom: 2rem; }
    .hero-features { text-align: left; }
    .hero-title { font-size: 2.5rem; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; top: auto; }
    .card-profile .profile-avatar { margin-top: 0; width: 100px; height: 100px; }
    .auth-wrapper { flex-direction: column; }
    .auth-info-panel, .auth-form-panel { width: 100%; }
    .auth-info-panel { min-height: 300px; padding: 2rem; text-align: center; }
}

/* =================================================================
    YENİ EKLENEN BÖLÜM: FORUM ROZET ANİMASYONLARI (v5 - İkon Görünürlük Düzeltmesi)
    ================================================================= */

/* Rozetlerin yan yana durması için container */
.user-badges-container {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}

/* Her bir rozetin ana sarmalayıcısı */
.animated-badge-wrapper {
    position: relative !important;
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden; 
    /* ARKA PLAN RENGİNİ BURADAN KALDIRIYORUZ, ÇÜNKÜ İKONUN ARKASINDAKİ ZEMİNİ ::after İLE OLUŞTURACAĞIZ */
}

/* İkonun kendisi */
.badge-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
    z-index: 3; /* İkonu en üste alıyoruz */
}

.badge-icon img {
    max-width: 70%; 
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1) !important; 
}

.badge-icon i {
    font-size: 20px; 
    color: #fff !important; 
}

/* ANİMASYONUN KENDİSİ: Dönen Çerçeve */
.card-header .animated-badge-wrapper::before,
.comment-item .animated-badge-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-bg, conic-gradient(red, yellow, lime, aqua, blue, magenta, red)) !important;
    animation: spin 3s linear infinite !important;
    z-index: 1 !important; /* Dönen çerçeveyi en arkaya gönderiyoruz */
}

/* YENİ EKLENEN KISIM: İkonun arkasındaki beyaz diski oluşturur */
.card-header .animated-badge-wrapper::after,
.comment-item .animated-badge-wrapper::after {
    content: '' !important;
    position: absolute !important;
    inset: 0; /* Wrapper ile aynı boyutta */
    background-color: var(--gradient-bg, black) !important; /* Dönen renkle aynı renk yapar */
    border-radius: 50%;
    z-index: 2 !important; /* Dönen çerçevenin üzerinde, ikonun arkasında */
}

@keyframes spin {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}
/* =================================================================
    YKS REHBERİ - FORUM/YORUM ROZET ANİMASYONLARI
    ================================================================= */

/* Rozetlerin yan yana durması için container */
.user-badges-container {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}

/* Her bir rozetin ana sarmalayıcısı */
.animated-badge-wrapper {
    position: relative !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden; 
}

/* İkonun kendisi */
.badge-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
    z-index: 3; /* İkonu en üste alıyoruz */
}

.badge-icon img {
    max-width: 70%; 
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1) !important; /* Resim tabanlı ikonları beyaz yapar */
}

.badge-icon i {
    font-size: 20px; 
    color: #fff !important; /* Font Awesome ikonlarını beyaz yapar */
}

/* ANİMASYONUN KENDİSİ: Dönen Çerçeve */
/* Tüm yorum alanlarını kapsayacak şekilde seçicileri genişletiyoruz */
.card-header .animated-badge-wrapper::before,
.comment-item .animated-badge-wrapper::before,
.comment .animated-badge-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-bg, conic-gradient(red, yellow, lime, aqua, blue, magenta, red)) !important;
    animation: spin 3s linear infinite !important;
    z-index: 1 !important; /* Dönen çerçeveyi en arkaya gönderiyoruz */
}

/* İkonun arkasındaki renkli diski oluşturur */
.card-header .animated-badge-wrapper::after,
.comment-item .animated-badge-wrapper::after,
.comment .animated-badge-wrapper::after {
    content: '' !important;
    position: absolute !important;
    inset: 0; /* Wrapper ile aynı boyutta */
    background-color: var(--gradient-bg, black) !important; /* Dönen renkle aynı renk yapar */
    border-radius: 50%;
    z-index: 2 !important; /* Dönen çerçevenin üzerinde, ikonun arkasında */
}

@keyframes spin {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}
.comment-avatar { width: 40px; height: 40px; object-fit: cover; border-radius: 50%;}