﻿/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Yatay kaydÄ±rmayÄ± engeller */
    width: 100%;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f4f6f8;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: #666666;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: #d4af37;
    color: #0a2342;
}

.btn-primary:hover {
    background-color: #a88a2b;
}

.btn-outline {
    border-color: #d4af37;
    color: #d4af37;
}

.btn-outline:hover {
    background-color: #d4af37;
    color: #0a2342;
}

.btn-outline.text-white {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline.text-white:hover {
    background-color: #ffffff;
    color: #0a2342;
}

.btn-lg {
    padding: 15px 40px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2342;
}

.navbar .logo .highlight {
    color: #d4af37;
}

.navbar .nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar .nav-menu .nav-link {
    font-weight: 500;
    color: #0a2342;
}

.navbar .nav-menu .nav-link:hover {
    color: #d4af37;
}

.navbar .menu-toggle {
    display: none;
    cursor: pointer;
}

.navbar .menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #0a2342;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.95), rgba(28, 63, 110, 0.9)), url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero .badge {
    background-color: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #d4af37;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero .stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
}

.hero .stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero .stats .stat-item i {
    font-size: 1.5rem;
    color: #d4af37;
}

.hero .stats .stat-item span {
    font-weight: 600;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Features */
.feature-card {
    padding: 40px 30px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 35, 66, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card .icon-box i {
    font-size: 1.8rem;
    color: #0a2342;
}

/* Course Cards */
.course-card .course-img {
    background-color: #ddd;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.course-card .course-body {
    padding: 25px;
}

.course-card .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 1px;
}

.course-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.course-card p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.course-card .progress-wrapper {
    margin-bottom: 20px;
}

.course-card .progress-wrapper .progress-label {
    font-size: 0.8rem;
    color: #666666;
    display: block;
    margin-bottom: 5px;
}

.course-card .progress-wrapper .progress-bar {
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.course-card .progress-wrapper .progress-bar .fill {
    height: 100%;
    background-color: #28a745;
}

.course-card .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.course-card .course-footer .price {
    font-weight: 700;
    color: #0a2342;
    font-size: 1.1rem;
}

.course-card .course-footer .btn-link {
    color: #0a2342;
    font-weight: 600;
    font-size: 0.9rem;
}
/* Dark Mode - Course Card Footer */
body.dark-mode .course-card .course-footer .btn-link {
    color: #f1f5f9; /* AÃ§Ä±k renkli yazÄ± */
}
body.dark-mode .feature-card .icon-box i {
    color: #f1f5f9; /* AÃ§Ä±k renkli yazÄ± */
}
 
body.dark-mode .disclaimer-section .disclaimer-box is {
    color: #f1f5f9; /* AÃ§Ä±k renkli yazÄ± */
}
.course-card .course-footer .btn-link:hover {
    color: #d4af37;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #ffffff;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.disclaimer-section .disclaimer-box {
    background-color: rgba(10, 35, 66, 0.03);
    border-left: 4px solid #0a2342;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.disclaimer-section .disclaimer-box i {
    color: #0a2342;
    font-size: 1.5rem;
    margin-top: 3px;
}

.disclaimer-section .disclaimer-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.disclaimer-section .disclaimer-box p {
    font-size: 0.9rem;
    color: #666666;
}

/* Footer */
footer {
    background-color: #0a2342;
    color: #ffffff;
    padding-top: 60px;
    margin-top: auto;
}

footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

footer h4 {
    color: #d4af37;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul li a:hover {
    color: #ffffff;
}

footer .footer-bottom {
    background-color: #081c35;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    /* --- Mobile Optimization & Sizing --- */
    html { font-size: 11.5px; } /* Base font biraz daha kÃ¼Ã§Ã¼ltÃ¼ldÃ¼ (12px -> 11.5px) */
    
    h1 { font-size: 1.4rem; word-wrap: break-word; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }

    input, select, textarea {
        font-size: 16px !important; /* iOS zoom engelleme */
        padding: 8px 10px !important; /* Input iÃ§ boÅŸluklarÄ±nÄ± azalt */
    }
    
    .section-padding { padding: 25px 0; }
    .hero { padding: 30px 0; }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }

    .card, .course-main-content, .blog-post-content, .sidebar-widget, .auth-card {
        padding: 12px !important;
    }
    
    .course-card .course-img { height: 120px; }
    .grid-3 { gap: 12px; }

    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .navbar .nav-menu.active {
        left: 0;
    }

    .navbar .menu-toggle {
        display: block;
    }

    .navbar .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .hero-buttons {
        flex-direction: column;
    }

    .hero .stats {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    .hero .hero-buttons {
        width: 100%;
    }

    .hero .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .auth-card {
        padding: 20px;
    }
}

/* --- Extra Small Devices (Phones, 480px and down) --- */
/* Moved after 576px to ensure precedence */
@media (max-width: 480px) {
    html { font-size: 10px; } /* Font boyutu minimuma Ã§ekildi (11px -> 10px) */
    
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .card, .course-main-content, .blog-post-content, .sidebar-widget, .auth-card {
        padding: 10px !important;
    }

    h1 { font-size: 1.2rem; margin-bottom: 0.5rem; }
    h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
    h3 { font-size: 1rem; }
    
    .hero h1 { font-size: 1.3rem; }
    
    .section-padding { padding: 20px 0; }
    .hero { padding: 25px 0; }
    
    .btn {
        padding: 10px 15px; /* ButonlarÄ± kÃ¼Ã§Ã¼lt */
        width: 100%;
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .hero .hero-buttons { gap: 10px; }
    .hero .hero-buttons .btn { width: 100%; margin: 0 0 10px 0; }

    .roadmap-item { padding-left: 35px; }
    .roadmap-marker { left: 5px; width: 24px; height: 24px; font-size: 0.8rem; }
    .roadmap-container::before { left: 5px; }
}

/* --- Auth Pages (Login/Register) --- */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f6f8;
}

.auth-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0a2342;
}
/* Dark Mode - Label */
body.dark-mode .form-group label {
    color: #e5e7eb;
}

.form-group input, .form-group textarea, .form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus, .form-select:focus {
    outline: none;
    border-color: #0a2342;
    box-shadow: 0 0 0 3px rgba(10, 35, 66, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.form-footer a {
    color: #0a2342;
    font-weight: 600;
}

/* --- Dashboard (Profile) --- */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

@media (max-width: 768px) {
    .dashboard-container,
    .courses-layout {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 20px;
    }
}

.dashboard-container > *,
.courses-layout > * {
    min-width: 0;
}


.sidebar {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.sidebar .user-info .avatar {
    width: 80px;
    height: 80px;
    background-color: #0a2342;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 10px;
}

.sidebar .menu-item {
    display: block;
    padding: 12px 15px;
    color: #333333;
    border-radius: 8px;
    margin-bottom: 5px;
}

.sidebar .menu-item:hover, .sidebar .menu-item.active {
    background-color: #f4f6f8;
    color: #0a2342;
    font-weight: 600;
}

.sidebar .menu-item i {
    width: 25px;
}

.dashboard-content h2 {
    margin-bottom: 20px;
}

.dashboard-content .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-content .stats-grid .stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-content .stats-grid .stat-card .icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dashboard-content .stats-grid .stat-card .info h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #0a2342;
}

.dashboard-content .stats-grid .stat-card .info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
}

/* --- Courses Page Layout --- */
.courses-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.filters {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.filters h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filters .filter-group {
    margin-bottom: 20px;
}

.filters .filter-group label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.filters .filter-group label input {
    margin-right: 8px;
}

 

/* --- Settings Page --- */
.settings-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.settings-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
}

/* --- About Page --- */
.team-card {
    text-align: center;
    padding: 30px;
}

.team-card .team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #eee;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 2.5rem;
}

.team-card h4 { margin-bottom: 5px; font-size: 1.2rem; }
.team-card .role { color: #d4af37; font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 10px; }
.team-card p { font-size: 0.9rem; color: #666666; }

/* --- FAQ Page --- */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-item .faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0a2342;
    transition: 0.3s;
}

.faq-item .faq-question:hover {
    background-color: rgba(10, 35, 66, 0.02);
}

.faq-item .faq-question i {
    transition: 0.3s;
}

.faq-item .faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: #666666;
    font-size: 0.95rem;
    border-top: 1px solid #f9f9f9;
}

.faq-item.active .faq-question {
    color: #d4af37;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: #0a2342;
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.contact-info-card .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-card .info-item i {
    color: #d4af37;
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-info-card .info-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-info-card .social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.contact-info-card .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    transition: 0.3s;
}

.contact-info-card .social-links a:hover {
    background: #d4af37;
    color: #0a2342;
}

/* --- Course Detail Page --- */
.course-header {
    background-color: #0a2342;
    color: #ffffff;
    padding: 60px 0 80px;
}

.course-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.course-header .breadcrumb a {
    color: #ffffff;
}

.course-header .breadcrumb a:hover {
    text-decoration: underline;
}

.course-header h1 {
    color: #ffffff;
    margin-bottom: 15px;
}

.course-header .meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.course-header .meta i {
    color: #d4af37;
    margin-right: 5px;
}

.course-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .course-detail-layout {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
}

.course-main-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-main-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

.course-main-content h3:first-child {
    margin-top: 0;
}

.course-main-content p {
    margin-bottom: 15px;
    color: #666666;
}

.curriculum-list {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.curriculum-list .module {
    border-bottom: 1px solid #eee;
}

.curriculum-list .module:last-child {
    border-bottom: none;
}

.curriculum-list .module .module-header {
    background: #f9f9f9;
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.curriculum-list .module .module-content {
    padding: 0;
}

.curriculum-list .module .module-content li {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #666666;
}

.curriculum-list .module .module-content li i {
    color: #0a2342;
    margin-right: 10px;
    font-size: 0.8rem;
}

.curriculum-list .module .module-content li .duration {
    font-size: 0.85rem;
    opacity: 0.7;
}

.course-sidebar-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.course-sidebar-card .preview-video {
    height: 180px;
    background: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0a2342;
    font-size: 3rem;
    cursor: pointer;
}

.course-sidebar-card .price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.course-sidebar-card .price-box .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #0a2342;
}

.course-sidebar-card .price-box .original-price {
    text-decoration: line-through;
    color: #666666;
}

/* --- Checkout Page --- */
.checkout-page {
    padding: 50px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #0a2342;
}

.checkout-header p {
    color: #64748b;
}

.checkout-shell {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.checkout-main-card,
.checkout-side-card,
.checkout-success-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.checkout-main-card {
    padding: 24px;
}

.checkout-block + .checkout-block {
    border-top: 1px solid #eef2f7;
    margin-top: 20px;
    padding-top: 20px;
}

.checkout-block h2 {
    margin-bottom: 14px;
    font-size: 1.15rem;
    color: #0f172a;
}

.checkout-plan-name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.checkout-plan-meta {
    color: #0a2342;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.checkout-plan-summary {
    color: #64748b;
    font-size: 0.94rem;
}

.checkout-price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #334155;
    font-size: 0.95rem;
}

.checkout-price-line.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a2342;
}

.checkout-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-method {
    position: relative;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.checkout-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-method span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.92rem;
}

.checkout-method input:checked + span {
    color: #0a2342;
}

.checkout-method:has(input:checked) {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
}

.checkout-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkout-contact-grid .form-group {
    margin-bottom: 0;
}

.checkout-contact-grid .form-group.full {
    grid-column: 1 / -1;
}

.checkout-confirm {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    font-size: 0.9rem;
}

.checkout-agreement input {
    margin-top: 4px;
}

.checkout-submit-btn {
    border: 0;
    width: 100%;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #0a2342, #1e3c72);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 22px rgba(10, 35, 66, 0.22);
}

.checkout-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(10, 35, 66, 0.28);
}

.checkout-side-card {
    padding: 22px;
    position: sticky;
    top: 95px;
}

.checkout-side-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.checkout-side-card ul {
    list-style: none;
}

.checkout-side-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.9rem;
}

.checkout-side-card li i {
    color: #d4af37;
    margin-top: 2px;
}

.checkout-success-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 24px;
}

.checkout-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.checkout-success-card h1 {
    margin-bottom: 8px;
}

.checkout-success-card p {
    color: #64748b;
}

.checkout-success-details {
    margin: 20px 0 24px;
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.checkout-success-details div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    color: #334155;
    font-size: 0.95rem;
}

.checkout-success-details div + div {
    border-top: 1px solid #edf2f7;
}

.checkout-success-details strong {
    color: #0f172a;
}

.checkout-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.checkout-alert.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #b42318;
}

.checkout-alert.info {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.3);
    color: #146c43;
}

.shopier-iframe-card,
.shopier-redirect-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
}

.shopier-iframe-title,
.shopier-redirect-title {
    margin-bottom: 10px;
}

.shopier-iframe-meta,
.shopier-redirect-meta {
    margin-bottom: 14px;
    color: #475467;
}

.shopier-iframe {
    width: 100%;
    min-height: 760px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.shopier-iframe-help,
.shopier-redirect-help {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #667085;
}

.shopier-open-btn {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shopier-open-status {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #667085;
}

.shopier-open-status.success {
    color: #146c43;
}

.shopier-open-status.warning {
    color: #b54708;
}

.eft-banka-karti {
    margin-top: 18px;
    background: linear-gradient(145deg, #f8fbff 0%, #eef4ff 45%, #f7faff 100%);
    border: 1px solid #d4def5;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 26px rgba(30, 64, 175, 0.08);
    position: relative;
    overflow: hidden;
}

.eft-banka-karti::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
}

.eft-giris {
    animation: eftKartGiris 0.25s ease-out;
}

@keyframes eftKartGiris {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.eft-ust {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.eft-etiket {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.12);
    color: #1d4ed8;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 6px;
}

.eft-baslik {
    font-size: 1.06rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    line-height: 1.3;
}

.eft-aciklama {
    margin: 4px 0 0;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.4;
}

.eft-logo-kapsayici {
    min-width: 84px;
    max-width: 120px;
    border-radius: 10px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.eft-banka-logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.eft-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.eft-bilgi-karti {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dce7fb;
    border-radius: 10px;
    padding: 10px;
}

.eft-bilgi-etiket {
    font-size: 0.71rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}

.eft-bilgi-deger {
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.eft-iban-kutu {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #c8d8fb;
    border-radius: 12px;
    padding: 12px;
    margin: 10px 0 8px;
    position: relative;
    z-index: 1;
}

.eft-iban-etiket {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 7px;
}

.eft-iban-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.eft-iban-metin {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.97rem;
    color: #0b1f4d;
    font-weight: 700;
    letter-spacing: 0.25px;
    word-break: break-all;
}

.eft-kopyala-btn {
    border: 1px solid #b6c7ef;
    background: #fff;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9px;
    padding: 7px 11px;
    cursor: pointer;
    min-width: 92px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.eft-kopyala-btn:hover {
    border-color: #7c9be8;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.16);
}

.eft-kopyala-btn.is-success {
    background: #ecfdf3;
    border-color: #a7f3d0;
    color: #047857;
}

.eft-kopyala-btn.is-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.eft-yardimci {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.45;
    position: relative;
    z-index: 1;
}

.copy-fallback-area {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    inset: auto;
}

@media (max-width: 600px) {
    .eft-ust {
        flex-direction: column;
    }

    .eft-logo-kapsayici {
        max-width: 160px;
    }

    .eft-grid {
        grid-template-columns: 1fr;
    }

    .eft-iban-satir {
        flex-direction: column;
        align-items: stretch;
    }

    .eft-kopyala-btn {
        width: 100%;
    }
}

body.dark-mode .checkout-page {
    background: linear-gradient(180deg, #111216 0%, #171920 100%);
}

body.dark-mode .checkout-header h1 {
    color: #f1f5f9;
}

body.dark-mode .checkout-header p {
    color: #94a3b8;
}

body.dark-mode .checkout-main-card,
body.dark-mode .checkout-side-card,
body.dark-mode .checkout-success-card,
body.dark-mode .shopier-iframe-card,
body.dark-mode .shopier-redirect-card {
    background: #1b1d23;
    border-color: #2f3541;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

body.dark-mode .checkout-block + .checkout-block {
    border-top-color: #2d333d;
}

body.dark-mode .checkout-block h2,
body.dark-mode .checkout-plan-name,
body.dark-mode .checkout-side-card h3,
body.dark-mode .checkout-success-details strong {
    color: #f1f5f9;
}

body.dark-mode .checkout-plan-meta {
    color: #c6d0dc;
}

body.dark-mode .checkout-plan-summary,
body.dark-mode .checkout-price-line,
body.dark-mode .checkout-agreement,
body.dark-mode .checkout-side-card li,
body.dark-mode .checkout-success-card p,
body.dark-mode .checkout-success-details div,
body.dark-mode .shopier-iframe-meta,
body.dark-mode .shopier-redirect-meta,
body.dark-mode .shopier-iframe-help,
body.dark-mode .shopier-redirect-help,
body.dark-mode .shopier-open-status {
    color: #b2bfce;
}

body.dark-mode .checkout-price-line.total {
    border-top-color: #374151;
    color: #f1f5f9;
}

body.dark-mode .checkout-method {
    border-color: #3a4250;
    background: #151922;
}

body.dark-mode .checkout-method span {
    color: #d9e2ec;
}

body.dark-mode .checkout-method:has(input:checked) {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
}

body.dark-mode .checkout-success-details {
    border-color: #374151;
}

body.dark-mode .checkout-success-details div + div {
    border-top-color: #374151;
}

body.dark-mode .shopier-open-status.success {
    color: #4ade80;
}

body.dark-mode .shopier-open-status.warning {
    color: #fbbf24;
}

@media (max-width: 992px) {
    .checkout-shell {
        grid-template-columns: 1fr;
    }

    .checkout-side-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-page {
        padding: 32px 0 50px;
    }

    .checkout-header h1 {
        font-size: 1.6rem;
    }

    .checkout-main-card {
        padding: 16px;
    }

    .checkout-methods,
    .checkout-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Blog Pages --- */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    margin-bottom: 30px;
}

.blog-card .blog-img {
    height: 240px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .blog-body {
    padding: 25px;
}

.blog-card .blog-body .meta {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 10px;
}

.blog-card .blog-body .meta span {
    margin-right: 15px;
}

.blog-card .blog-body .meta span i {
    color: #d4af37;
    margin-right: 5px;
}

.blog-card .blog-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-card .blog-body h3 a:hover {
    color: #d4af37;
}

.blog-card .blog-body p {
    color: #666666;
    margin-bottom: 20px;
}

.blog-post-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-post-content .post-header { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.blog-post-content .post-meta { color: #666666; font-size: 0.9rem; margin-bottom: 15px; }
.blog-post-content .post-meta i { color: #d4af37; margin-right: 5px; }
.blog-post-content .post-meta span { margin-right: 15px; }

.blog-post-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.blog-post-content h2, .blog-post-content h3 { margin-top: 30px; margin-bottom: 15px; color: #0a2342; }
.blog-post-content p { margin-bottom: 15px; font-size: 1.05rem; line-height: 1.8; color: #444; }

.blog-post-content blockquote {
    border-left: 4px solid #d4af37;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.sidebar-widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-widget h4 { border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; font-size: 1.1rem; color: #0a2342; }
.sidebar-widget ul li { margin-bottom: 12px; }
.sidebar-widget ul li a { color: #666666; display: flex; justify-content: space-between; }
.sidebar-widget ul li a:hover { color: #0a2342; }
.sidebar-widget ul li a span { background: #eee; padding: 2px 8px; border-radius: 10px; font-size: 0.8rem; }
}

/* --- 404 Error Page --- */
.error-section {
    flex: 1;
    background-color: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.error-section .error-content .error-icon {
    font-size: 6rem;
    color: #d4af37;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.error-section .error-content h1 {
    font-size: 8rem;
    color: #0a2342;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px rgba(212, 175, 55, 0.3);
}

.error-section .error-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-section .error-content p {
    color: #666666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* --- Questions Page --- */
.question-card {
    display: flex;
    align-items: center;
    padding: 25px;
    gap: 25px;
    margin-bottom: 20px;
}

.question-card .q-icon {
    width: 70px;
    height: 70px;
    background-color: #f4f6f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0a2342;
    flex-shrink: 0;
}

.question-card .q-content {
    flex: 1;
}

.question-card h4 { margin-bottom: 8px; font-size: 1.2rem; }

.question-card .meta {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 15px;
}

.question-card .meta span { margin-right: 20px; }
.question-card .meta span i { color: #d4af37; margin-right: 5px; }

.question-card .actions { display: flex; gap: 15px; }

@media (max-width: 576px) {
    .question-card {
        flex-direction: column;
        text-align: center;
    }
    .question-card .actions { justify-content: center; }
}

/* --- Notes Page --- */
.note-card {
    text-align: center;
}

.note-card .note-preview {
    height: 160px;
    background-color: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ccc;
    position: relative;
    transition: 0.3s;
}

.note-card .note-preview .badge-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0a2342;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.note-card:hover .note-preview {
    background-color: rgba(10, 35, 66, 0.05);
    color: #0a2342;
}

.note-card .note-body {
    padding: 20px;
}

.note-card .note-body h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.note-card .note-body p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 15px;
}

/* --- Cart Page --- */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item .item-img {
    width: 100px;
    height: 70px;
    background-color: #f4f6f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item .item-details {
    flex: 1;
}

.cart-item .item-details h4 { font-size: 1.1rem; margin-bottom: 5px; }
.cart-item .item-details p { font-size: 0.9rem; color: #666666; margin: 0; }

.cart-item .item-price {
    font-weight: 700;
    color: #0a2342;
    font-size: 1.1rem;
}

.cart-item .remove-btn {
    color: #dc3545;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.cart-item .remove-btn:hover { opacity: 0.7; }

@media (max-width: 576px) {
    .cart-item { flex-direction: column; text-align: center; }
    .cart-item .item-img { width: 100%; height: 150px; }
}

.cart-summary {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.cart-summary h3 { margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.cart-summary .summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; color: #666666; }
.cart-summary .summary-row.total { color: #0a2342; font-weight: 700; font-size: 1.2rem; border-top: 1px solid #eee; padding-top: 15px; margin-top: 10px; }

/* --- Order Success Page --- */
.success-section {
    flex: 1;
    background-color: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.success-section .success-icon {
    width: 100px;
    height: 100px;
    background-color: #28a745;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 30px;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-section .success-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.success-section .success-content h1 { font-size: 2rem; margin-bottom: 15px; color: #0a2342; }
.success-section .success-content p { color: #666666; margin-bottom: 30px; font-size: 1.05rem; }

.success-section .success-content .order-details {
    background: #f4f6f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.success-section .success-content .order-details div { display: flex; justify-content: space-between; margin-bottom: 10px; }
.success-section .success-content .order-details div:last-child { margin-bottom: 0; font-weight: 600; color: #0a2342; }
.success-section .success-content .order-details div span:first-child { color: #666666; }

/* --- Instructor Detail Page --- */
.instructor-header {
    background-color: #f4f6f8;
    padding: 60px 0;
    text-align: center;
}

.instructor-header .instructor-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ffffff;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #0a2342;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
}

.instructor-header h1 { margin-bottom: 5px; }
.instructor-header .role { color: #d4af37; font-weight: 600; font-size: 1.1rem; display: block; margin-bottom: 20px; }

.instructor-header .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.instructor-header .social-links a {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2342;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.instructor-header .social-links a:hover {
    background: #0a2342;
    color: #ffffff;
}

.instructor-bio {
    max-width: 800px;
    margin: 0 auto 60px;
}

.instructor-bio h3 { border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.instructor-bio p { margin-bottom: 15px; color: #666666; }

/* --- Course Slider --- */
.slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.slider-wrapper .slider-container {
    overflow: hidden;
    padding: 10px 0;
    margin: 0 -10px;
}

.slider-wrapper .slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 0 10px;
}

.slider-wrapper .slider-track .slider-item {
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: 300px;
}

.slider-wrapper .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ddd;
    color: #0a2342;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-wrapper .slider-btn:hover {
    background: #0a2342;
    color: #ffffff;
    border-color: #0a2342;
}

.slider-wrapper .slider-btn.prev-btn { left: 0; }
.slider-wrapper .slider-btn.next-btn { right: 0; }

@media (max-width: 992px) {
    .slider-wrapper .slider-track .slider-item {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .slider-wrapper { padding: 0; }
    .slider-wrapper .slider-btn { display: none; }
    .slider-wrapper .slider-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        margin: 0; /* Negatif margin'i sÄ±fÄ±rla (TaÅŸmayÄ± Ã¶nler) */
    }
    .slider-wrapper .slider-container .slider-track { gap: 20px; }
    .slider-wrapper .slider-container .slider-track .slider-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-width: auto;
    }
}

/* --- Dark Mode --- */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .bg-light, 
body.dark-mode .auth-section, 
body.dark-mode .instructor-header, 
body.dark-mode .error-section, 
body.dark-mode .success-section {
    background-color: #181818 !important; /* Bootstrap override */
}

/* Dark Mode - Quiz Container */
body.dark-mode .quiz-container .question-card {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
body.dark-mode .dashboard-content .stats-grid .stat-card .info h3 {
    color: #f1f5f9;
}

/* AÃ§Ä±klama */
body.dark-mode .dashboard-content .stats-grid .stat-card .info p {
    color: #94a3b8;
}
/* Soru metni */
body.dark-mode .quiz-container .question-text {
    color: #d4af37;
}

/* SeÃ§enek kutularÄ± */
body.dark-mode .quiz-container .options label {
    background: #262626;
    border-color: #333;
    color: #e4e4e4;
}

/* Hover efekti */
body.dark-mode .quiz-container .options label:hover {
    background-color: #2f2f2f;
    border-color: #d4af37;
    transform: translateX(5px);
}

/* Radio buton rengi (modern tarayÄ±cÄ±lar) */
body.dark-mode .quiz-container .options input[type="radio"] {
    accent-color: #d4af37;
}

/* DoÄŸru cevap */
body.dark-mode .quiz-container .correct-answer {
    background-color: #1e3a2f !important;
    border-color: #2d6a4f !important;
    color: #7fffb0;
}

/* YanlÄ±ÅŸ cevap */
body.dark-mode .quiz-container .wrong-answer {
    background-color: #3a1e1e !important;
    border-color: #6a2d2d !important;
    color: #ff9b9b;
}

/* Ã‡Ã¶zÃ¼m kutusu */
body.dark-mode .quiz-container .solution-box {
    background: #262626;
    color: #e4e4e4;
    border-left: 5px solid #d4af37;
}

/* Ã‡Ã¶zÃ¼m baÅŸlÄ±ÄŸÄ± */
body.dark-mode .quiz-container .solution-box strong {
    color: #d4af37;
}

/* Ã‡Ã¶zÃ¼mÃ¼ gÃ¶ster butonu */
body.dark-mode .quiz-container .toggle-solution-btn {
    background: #1e1e1e;
    border-color: #d4af37;
    color: #d4af37;
}

/* Hover */
body.dark-mode .quiz-container .toggle-solution-btn:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}



/* Dark Mode - Reader */
body.dark-mode .reader-container {
    background: #1e1e1e;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

/* BaÅŸlÄ±k */
body.dark-mode .reader-header h1 {
    color: #d4af37;
}

/* Header alt Ã§izgi */
body.dark-mode .reader-header {
    border-bottom: 1px solid #333;
}

/* Meta bilgi */
body.dark-mode .reader-header .meta {
    color: #aaa;
}

/* Ä°Ã§erik metni */
body.dark-mode .reader-content {
    color: #e4e4e4;
}

/* Alt baÅŸlÄ±klar */
body.dark-mode .reader-content h2,
body.dark-mode .reader-content h3 {
    color: #d4af37;
}

/* Liste renkleri */
body.dark-mode .reader-content ul,
body.dark-mode .reader-content ol {
    color: #e4e4e4;
}



body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode .logo {
    color: #ffffff;
}

body.dark-mode .text-light, 
body.dark-mode p {
    color: #b0b0b0;
}

body.dark-mode .navbar {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.dark-mode .navbar .nav-link {
    color: #e0e0e0;
}

body.dark-mode .navbar .nav-link:hover {
    color: #d4af37;
}

body.dark-mode .navbar .menu-toggle .bar {
    background-color: #ffffff;
}

body.dark-mode .card, 
body.dark-mode .checkout-form-card, 
body.dark-mode .order-summary-card, 
body.dark-mode .course-main-content, 
body.dark-mode .course-sidebar-card, 
body.dark-mode .blog-post-content, 
body.dark-mode .sidebar-widget, 
body.dark-mode .cart-items, 
body.dark-mode .cart-summary, 
body.dark-mode .settings-card, 
body.dark-mode .dashboard-content .stat-card,
body.dark-mode .filters, 
body.dark-mode .sidebar, 
body.dark-mode .auth-card, 
body.dark-mode .modal-content, 
body.dark-mode .table-responsive, 
body.dark-mode .faq-item {
    background-color: #1e1e1e;
    border-color: #333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

body.dark-mode .card h3, 
body.dark-mode .card h4, 
body.dark-mode .faq-question {
    color: #ffffff;
}

body.dark-mode .form-group input, 
body.dark-mode .form-group textarea, 
body.dark-mode .form-select, 
body.dark-mode .custom-control .checkmark {
    background-color: #2a2a2a;
    border-color: #444;
    color: #ffffff;
}

body.dark-mode .table th, 
body.dark-mode .table td {
    border-bottom-color: #333;
}

body.dark-mode .table tr:hover {
    background-color: rgba(255,255,255,0.05);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #0a2342;
    padding: 0 10px;
    transition: 0.3s;
}

.theme-toggle-btn:hover {
    color: #d4af37;
}

body.dark-mode .theme-toggle-btn {
    color: #d4af37;
}

body.dark-mode .theme-toggle-btn:hover {
    color: #ffffff;
}

/* Dark Mode Specifics for Footer & Disclaimer */
body.dark-mode .disclaimer-section {
    background-color: #1e1e1e;
    border-top-color: #333;
}

body.dark-mode .disclaimer-section .disclaimer-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: #d4af37;
}

body.dark-mode footer {
    background-color: #050b14;
    color: #b0b0b0;
}


.notification-bell
body.dark-mode footer h3, 
body.dark-mode footer h4 {
    color: #ffffff;
}

/* --- Dark Mode: Mobile Menu & Components Override --- */
@media (max-width: 768px) {
    body.dark-mode .navbar .nav-menu {
        background-color: #1e1e1e;
        box-shadow: 0 10px 10px rgba(0,0,0,0.5);
    }
}

body.dark-mode .slider-wrapper .slider-btn {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}

body.dark-mode .slider-wrapper .slider-btn:hover {
    background-color: #d4af37;
    color: #0a2342;
}

/* Gri arka planlÄ± resim alanlarÄ±nÄ± koyulaÅŸtÄ±r */
body.dark-mode .course-card .course-img,
body.dark-mode .blog-card .blog-img,
body.dark-mode .team-card .team-img,
body.dark-mode .cart-item .item-img,
body.dark-mode .note-card .note-preview,
body.dark-mode .question-card .q-icon,
body.dark-mode .instructor-header .instructor-avatar {
    background-color: #2a2a2a;
    color: #b0b0b0;
}

body.dark-mode .instructor-header .instructor-avatar {
    border-color: #1e1e1e;
}

/* MÃ¼fredat ve Listeler */
body.dark-mode .curriculum-list {
    border-color: #333;
}

body.dark-mode .curriculum-list .module {
    border-bottom-color: #333;
}

body.dark-mode .curriculum-list .module .module-header {
    background-color: #252525;
    color: #e0e0e0;
}

body.dark-mode .curriculum-list .module .module-content li {
    border-top-color: #333;
    color: #b0b0b0;
}

body.dark-mode .curriculum-list .module .module-content li i {
    color: #d4af37;
}

/* KenarlÄ±klar ve AyÄ±raÃ§lar */
body.dark-mode .sidebar .user-info,
body.dark-mode .filters h3,
body.dark-mode .settings-card h3,
body.dark-mode .cart-summary h3,
body.dark-mode .cart-summary .summary-row.total,
body.dark-mode .checkout-form-card h3,
body.dark-mode .course-card .course-footer,
body.dark-mode .blog-post-content .post-header,
body.dark-mode .sidebar-widget h4,
body.dark-mode .instructor-bio h3,
body.dark-mode .cart-item,
body.dark-mode .toggle-switch {
    border-color: #333;
}

/* Ã–deme YÃ¶ntemleri */
body.dark-mode .payment-methods .method {
    border-color: #444;
    color: #e0e0e0;
}

body.dark-mode .payment-methods .method.active,
body.dark-mode .payment-methods .method:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #d4af37;
}

body.dark-mode .contact-info-card .social-links a,
body.dark-mode .instructor-header .social-links a {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* BaÅŸlangÄ±Ã§ta gizli */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-banner .cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #333333;
}

.cookie-banner a {
    color: #0a2342;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner .cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-banner .btn-icon {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.cookie-banner .btn-icon:hover {
    color: #0a2342;
}

/* --- Countdown Timer --- */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-container .time-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
    color: #ffffff;
}

.countdown-container .time-box span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1.2;
}

.countdown-container .time-box small {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Scroll to Top Button --- */
#scrollTopBtn {
    display: none; /* BaÅŸlangÄ±Ã§ta gizli */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #d4af37;
    color: #0a2342;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

#scrollTopBtn:hover {
    background-color: #0a2342;
    color: #d4af37;
    transform: translateY(-5px);
}

/* Dark Mode Cookie Banner */
body.dark-mode .cookie-banner {
    background-color: #1e1e1e;
    border-top: 1px solid #333;
}

body.dark-mode .cookie-banner p {
    color: #e0e0e0;
}

body.dark-mode .cookie-banner a {
    color: #d4af37;
}

body.dark-mode .cookie-banner .btn-icon {
    color: #b0b0b0;
}

body.dark-mode .cookie-banner .btn-icon:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .cookie-banner .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- CUSTOM ANIMATED MODAL (TÃ¼m Sayfalar Ä°Ã§in) --- */
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; display: none; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.custom-modal-content { background: white; padding: 40px; border-radius: 20px; text-align: center; max-width: 400px; width: 90%; position: relative; animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 20px 60px rgba(0,0,0,0.3); border: 4px solid #fff; }

.custom-modal-icon { width: 80px; height: 80px; border-radius: 50%; margin: -80px auto 20px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: white; box-shadow: 0 10px 20px rgba(0,0,0,0.2); border: 4px solid #fff; }
.custom-modal-icon.success { background: linear-gradient(135deg, #28a745, #20c997); }
.custom-modal-icon.error { background: linear-gradient(135deg, #dc3545, #f783ac); }
.custom-modal-icon.warning { background: linear-gradient(135deg, #ffc107, #fd7e14); }
.custom-modal-icon.xp { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); animation: bounce 2s infinite; }

.custom-modal-title { font-size: 1.5rem; font-weight: 800; color: #0a2342; margin-bottom: 10px; }
.custom-modal-text { color: #666; margin-bottom: 25px; font-size: 1.05rem; line-height: 1.5; }
.custom-modal-btn { background: #0a2342; color: white; border: none; padding: 12px 35px; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; box-shadow: 0 10px 20px rgba(10, 35, 66, 0.2); }
.custom-modal-btn:hover { transform: translateY(-3px); background: #d4af37; box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3); }
.custom-modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(10, 35, 66, 0.08); color: #0a2342; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; }
.custom-modal-close:hover { background: rgba(10, 35, 66, 0.16); transform: scale(1.05); }
.xp-gain-text { font-size: 2.5rem; font-weight: 900; color: #d4af37; margin-bottom: 20px; display: block; text-shadow: 2px 2px 0px rgba(0,0,0,0.05); }

@keyframes modalPop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
}

/* --- ROADMAP (Ä°LERLEME HARÄ°TASI) --- */
.roadmap-container { position: relative; padding: 20px 0; max-width: 800px; margin: 0 auto; }
.roadmap-container::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #e9ecef; transform: translateX(-50%); z-index: 0; border-radius: 2px; }

.roadmap-item { position: relative; margin-bottom: 40px; width: 100%; display: flex; justify-content: center; align-items: center; z-index: 1; }
.roadmap-item:last-child { margin-bottom: 0; }

.roadmap-content { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); width: 45%; position: relative; border: 1px solid #eee; transition: all 0.3s; }
.roadmap-content h4 { font-size: 1.1rem; margin-bottom: 5px; color: #0a2342; }
.roadmap-content p { font-size: 0.9rem; color: #666; margin-bottom: 10px; }

/* Sol ve SaÄŸ YerleÅŸim */
.roadmap-item:nth-child(odd) .roadmap-content { margin-right: auto; text-align: right; }
.roadmap-item:nth-child(even) .roadmap-content { margin-left: auto; text-align: left; }

/* Ortadaki Yuvarlak Ä°ÅŸaretÃ§i */
.roadmap-marker { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 4px solid #e9ecef; display: flex; align-items: center; justify-content: center; color: #adb5bd; font-weight: bold; z-index: 2; transition: all 0.3s; font-size: 1.2rem; }

/* Durumlar: TamamlandÄ±, Aktif, Kilitli */
.roadmap-item.completed .roadmap-marker { background: #28a745; border-color: #28a745; color: #fff; }
.roadmap-item.completed .roadmap-content { border-left: 5px solid #28a745; }
.roadmap-item.completed:nth-child(odd) .roadmap-content { border-left: none; border-right: 5px solid #28a745; }

.roadmap-item.active .roadmap-marker { background: #fff; border-color: #d4af37; color: #d4af37; box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2); animation: pulse 2s infinite; }
.roadmap-item.active .roadmap-content { border-color: #d4af37; transform: scale(1.02); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.roadmap-item.locked .roadmap-content { opacity: 0.6; background: #f9f9f9; pointer-events: none; filter: grayscale(100%); }
.roadmap-item.locked .roadmap-marker { background: #e9ecef; color: #fff; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .roadmap-container::before { left: 20px; }
    .roadmap-item { justify-content: flex-start; padding-left: 60px; }
    .roadmap-content { width: auto; flex: 1; min-width: 0; text-align: left !important; margin-right: 0 !important; margin-left: 0 !important; }
    .roadmap-item:nth-child(odd) .roadmap-content { border-right: 1px solid #eee; border-left: 5px solid transparent; }
    .roadmap-item.completed:nth-child(odd) .roadmap-content { border-right: 1px solid #eee; border-left: 5px solid #28a745; }
    .roadmap-marker { left: 20px; }
}




/* --- MODERN DAILY TASKS --- */
.task-card { display: flex; align-items: center; padding: 15px; background: #fff; border: 1px solid #f0f0f0; border-radius: 10px; margin-bottom: 12px; transition: all 0.2s; }
.task-card:hover { transform: translateX(5px); border-color: #e0e0e0; }
.task-card.done { background: linear-gradient(to right, #fff, #f9fffb); border-color: #c3e6cb; opacity: 0.8; }

.task-icon { width: 42px; height: 42px; border-radius: 10px; background: #f4f6f8; display: flex; align-items: center; justify-content: center; color: #0a2342; margin-right: 15px; font-size: 1.1rem; flex-shrink: 0; }
.task-card.done .task-icon { background: #d1e7dd; color: #0f5132; }

.task-info { flex: 1; }
.task-title { font-size: 0.9rem; font-weight: 600; color: #0a2342; margin-bottom: 5px; display: block; }
.task-progress { height: 6px; background: #eee; border-radius: 3px; width: 100%; max-width: 200px; overflow: hidden; }
.task-progress-bar { height: 100%; background: #d4af37; border-radius: 3px; transition: width 0.5s; }
.task-card.done .task-progress-bar { background: #28a745; }
.task-meta { font-size: 0.75rem; color: #999; margin-top: 5px; display: flex; justify-content: space-between; max-width: 200px; }

.task-reward { font-weight: 700; font-size: 0.85rem; color: #d4af37; margin-left: 15px; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.task-reward i { font-size: 1.2rem; }

/* Task Claim Button */
.btn-claim {
    background: linear-gradient(135deg, #d4af37 0%, #f3d776 100%);
    color: #0a2342; border: none; padding: 5px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: 0.2s;
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.3); animation: pulse 2s infinite;
}
.btn-claim:hover { transform: scale(1.05); }
.btn-claim:disabled { background: #eee; color: #999; cursor: default; animation: none; box-shadow: none; }

/* --- MODERN BADGE SHOWCASE --- */
.badge-showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; }
.badge-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px 10px; text-align: center; position: relative; transition: all 0.3s; }
.badge-card.locked { opacity: 0.5; filter: grayscale(100%); background: #f9f9f9; }
.badge-card.unlocked { border-color: #d4af37; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1); }
.badge-card.unlocked:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2); }

.badge-icon { font-size: 2.2rem; margin-bottom: 12px; color: #ccc; transition: 0.3s; }
.badge-card.unlocked .badge-icon { color: #d4af37; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); animation: floatBadge 3s ease-in-out infinite; }

.badge-title { font-size: 0.8rem; font-weight: 700; color: #333; line-height: 1.3; margin-bottom: 5px; }
.badge-req { font-size: 0.7rem; color: #999; }

/* --- STREAK (ZÄ°NCÄ°RÄ° KIRMA) --- */
.streak-widget { text-align: center; margin-top: 20px; padding: 15px; background: #fff; border-radius: 12px; border: 1px solid #eee; }
.streak-icon { font-size: 2.5rem; color: #e0e0e0; transition: all 0.5s; display: inline-block; margin-bottom: 5px; }
.streak-icon.active { color: #ff9f43; filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.5)); animation: firePulse 1.5s infinite alternate; }
.streak-info { font-size: 0.9rem; color: #666; font-weight: 600; }
.streak-info strong { color: #0a2342; font-size: 1.1rem; }

@keyframes firePulse { from { transform: scale(1); } to { transform: scale(1.1); } }

/* --- HAFTALIK GÃ–REV Ã‡UBUÄU --- */
.weekly-quest-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 25px; border-radius: 15px; margin-bottom: 30px; position: relative; overflow: hidden; box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3); }
.weekly-quest-card h3 { color: white; font-size: 1.2rem; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; }
.weekly-quest-card p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 15px; }
.weekly-progress-bg { background: rgba(255,255,255,0.2); height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 10px; }
.weekly-progress-fill { background: #fff; height: 100%; border-radius: 5px; transition: width 1s ease; box-shadow: 0 0 10px rgba(255,255,255,0.5); }
.weekly-stats { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; }

/* Konfeti Canvas (Sayfa Ã¼stÃ¼nde gÃ¶rÃ¼nmesi iÃ§in) */
#confetti-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99999; }

/* --- 10. YÃœKLEME EKRANI (LOADER) --- */
#global-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; z-index: 999999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s; }
#global-loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-icon { font-size: 4rem; color: #0a2342; margin-bottom: 15px; animation: hammer 1.5s infinite ease-in-out; }
@keyframes hammer { 0% { transform: rotate(0deg); } 20% { transform: rotate(-30deg); } 40% { transform: rotate(0deg); } 100% { transform: rotate(0deg); } }

/* --- 3. COMBO EFEKTLERÄ° --- */
#combo-display { position: fixed; top: 20%; right: 5%; pointer-events: none; z-index: 1000; text-align: center; opacity: 0; transform: scale(0.5); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#combo-display.active { opacity: 1; transform: scale(1); }
.combo-count { font-size: 4rem; font-weight: 900; color: #ff9f43; text-shadow: 3px 3px 0 #0a2342; display: block; line-height: 1; }
.combo-label { font-size: 1.5rem; font-weight: 700; color: #0a2342; text-transform: uppercase; letter-spacing: 2px; background: #fff; padding: 5px 15px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: inline-block; margin-top: 5px; }

/* --- 2. ÅANS Ã‡ARKI (SPIN WHEEL) --- */
.wheel-container { position: relative; width: 300px; height: 300px; margin: 0 auto 20px; }
.wheel { width: 100%; height: 100%; border-radius: 50%; border: 10px solid #0a2342; position: relative; overflow: hidden; transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1); background: conic-gradient(
    #ff9f43 0deg 60deg, 
    #f368e0 60deg 120deg, 
    #0abde3 120deg 180deg, 
    #1dd1a1 180deg 240deg, 
    #5f27cd 240deg 300deg, 
    #c8d6e5 300deg 360deg
); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.wheel-arrow { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 30px solid #0a2342; z-index: 2; }
.wheel-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: #fff; border-radius: 50%; border: 4px solid #0a2342; z-index: 1; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #0a2342; }

/* --- 9. KELÄ°ME AVI (WORDLE) --- */
.wordle-grid { display: grid; grid-template-rows: repeat(6, 1fr); gap: 5px; margin-bottom: 20px; justify-content: center; }
.wordle-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.wordle-box { width: 50px; height: 50px; border: 2px solid #dee2e6; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; text-transform: uppercase; color: #0a2342; border-radius: 4px; transition: all 0.2s; }
.wordle-box.filled { border-color: #666; }
.wordle-box.correct { background-color: #28a745; color: white; border-color: #28a745; }
.wordle-box.present { background-color: #ffc107; color: white; border-color: #ffc107; }
.wordle-box.absent { background-color: #6c757d; color: white; border-color: #6c757d; }

.keyboard { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.key-row { display: flex; gap: 4px; }
.key { padding: 10px; background: #e9ecef; border-radius: 4px; cursor: pointer; font-weight: 600; min-width: 30px; text-align: center; user-select: none; }
.key:hover { background: #d3d9df; }
.key.wide { min-width: 50px; }

/* --- ÅANS Ã‡ARKI SONUÃ‡ EKRANI (GAMIFIED) --- */
.spin-result-container {
    display: none; /* JS ile aÃ§Ä±lacak */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    width: 100%;
}
.spin-result-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: bounce 1.5s infinite;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}
.spin-result-title { font-size: 2rem; font-weight: 800; color: #0a2342; margin-bottom: 5px; }
.spin-result-xp {
    font-size: 4rem;
    font-weight: 900;
    color: #d4af37;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    animation: pulse 1s infinite;
}
.spin-result-message { font-size: 1.1rem; color: #666; margin-bottom: 25px; font-weight: 500; }

@keyframes zoomIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* --- KELÄ°ME AVI SONUÃ‡ EKRANI --- */
.wordle-result-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    width: 100%;
    padding: 20px 0;
}
.wordle-result-icon { font-size: 5rem; margin-bottom: 15px; animation: bounce 1.5s infinite; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1)); }
.wordle-result-title { font-size: 2rem; font-weight: 800; color: #0a2342; margin-bottom: 5px; }
.wordle-result-word { font-size: 2.5rem; font-weight: 900; color: #0a2342; letter-spacing: 5px; margin: 15px 0; background: #f4f6f8; padding: 10px 20px; border-radius: 10px; border: 2px dashed #d4af37; text-transform: uppercase; }
.wordle-result-message { font-size: 1.1rem; color: #666; margin-bottom: 25px; font-weight: 500; }

@keyframes floatBadge { 0% { transform: translateY(0); } 50% { transform: translateY(-3px); } 100% { transform: translateY(0); } }

/* --- 4. SEVÄ°YE ATLAMA EKRANI (LEVEL UP) --- */
.level-up-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 35, 66, 0.95); z-index: 99999; display: none; justify-content: center; align-items: center; flex-direction: column; text-align: center; color: #fff; backdrop-filter: blur(5px); }
.level-up-content { animation: levelUpPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); position: relative; }
.level-up-title { font-size: 4rem; font-weight: 900; color: #d4af37; text-shadow: 0 0 30px rgba(212, 175, 55, 0.6); margin-bottom: 10px; letter-spacing: 2px; text-transform: uppercase; }
.level-up-text { font-size: 1.5rem; margin-bottom: 40px; opacity: 0.9; font-weight: 300; }
.level-badge-large { width: 180px; height: 180px; background: linear-gradient(135deg, #d4af37, #f3d776); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 6rem; color: #0a2342; font-weight: 800; margin: 0 auto 30px; box-shadow: 0 0 60px rgba(212, 175, 55, 0.5); border: 6px solid #fff; animation: rotateBadge 3s infinite linear; }
.level-up-btn { background: #fff; color: #0a2342; padding: 15px 40px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; border: none; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.level-up-btn:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

@keyframes levelUpPop { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rotateBadge { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }

/* --- 7. GÃœNLÃœK GÄ°RÄ°Å TAKVÄ°MÄ° --- */
/* Calendar Widget */
.calendar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 20px;
    border: 1px solid #eee;

    /* TaÅŸma Ã¶nleme */
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
}

/* Header */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0a2342;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;

    /* Grid taÅŸma fix */
    width: 100%;
    min-width: 0;
}

/* GÃ¼n isimleri */
.calendar-day-name {
    font-size: 0.7rem;
    color: #999;
    font-weight: 600;
    padding-bottom: 5px;
}

/* GÃ¼n hÃ¼creleri */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    color: #333;
    position: relative;
    transition: 0.2s;
    border: 1px solid transparent;

    /* TaÅŸma Ã¶nleme */
    width: 100%;
    min-width: 0;
}

/* BugÃ¼n */
.calendar-day.today {
    border-color: #0a2342;
    font-weight: 700;
    color: #0a2342;
}

/* SeÃ§ili gÃ¼n */
.calendar-day.active {
    background: #d4af37;
    color: #fff;
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

/* BoÅŸ gÃ¼n */
.calendar-day.empty {
    background: none;
}

/* Mobil ayarlarÄ± */
@media (max-width: 768px) {
    .calendar-widget {
        max-width: 100%;
        padding: 15px;
    }

    .calendar-day {
        font-size: 0.8rem;
    }
}
/* Dark Mode - Calendar Widget */
body.dark-mode .calendar-widget {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Header */
body.dark-mode .calendar-header {
    color: #d4af37;
    border-bottom: 1px solid #333;
}

/* GÃ¼n isimleri */
body.dark-mode .calendar-day-name {
    color: #888;
}

/* GÃ¼n hÃ¼creleri */
body.dark-mode .calendar-day {
    color: #e4e4e4;
}

/* Hover efekti (opsiyonel ama gÃ¼zel gÃ¶rÃ¼nÃ¼r) */
body.dark-mode .calendar-day:hover {
    background: #2a2a2a;
}

/* BugÃ¼n */
body.dark-mode .calendar-day.today {
    border-color: #d4af37;
    color: #d4af37;
}

/* Aktif gÃ¼n (zaten altÄ±n ama glow ekleyelim) */
body.dark-mode .calendar-day.active {
    background: #d4af37;
    color: #000;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* BoÅŸ gÃ¼nler */
body.dark-mode .calendar-day.empty {
    background: none;
}

/* Dashboard iÃ§inde grid/flex taÅŸma fix */
.dashboard-container > *,
.courses-layout > * {
    min-width: 0;
}

/* --- 11. LÄ°G SÄ°STEMÄ° --- */
.league-badge { display: inline-block; padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.85rem; color: #fff; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.league-bronz { background: linear-gradient(135deg, #cd7f32, #a05a2c); }
.league-gumus { background: linear-gradient(135deg, #c0c0c0, #999999); }
.league-altin { background: linear-gradient(135deg, #ffd700, #d4af37); }
.league-elmas { background: linear-gradient(135deg, #b9f2ff, #00bfff); color: #0a2342; }

/* --- 12. ALEV MODU (ON FIRE) --- */
body.on-fire { animation: fireBorder 1s infinite alternate; }
@keyframes fireBorder { from { box-shadow: inset 0 0 20px rgba(255, 69, 0, 0.2); } to { box-shadow: inset 0 0 50px rgba(255, 69, 0, 0.5); } }
.fire-effect { position: fixed; bottom: 0; left: 0; width: 100%; height: 100px; background: linear-gradient(to top, rgba(255,69,0,0.3), transparent); pointer-events: none; z-index: 9999; display: none; }
body.on-fire .fire-effect { display: block; }

/* --- 13. SANAL KÃœTÃœPHANE --- */
.library-shelf { background: #5d4037; padding: 20px 20px 5px; border-radius: 8px; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); display: flex; gap: 10px; overflow-x: auto; min-height: 140px; align-items: flex-end; margin-bottom: 30px; border-bottom: 10px solid #3e2723; }
.library-book { width: 40px; height: 100px; background: linear-gradient(90deg, #0a2342, #1e3c72); border-radius: 3px; color: rgba(255,255,255,0.7); writing-mode: vertical-rl; text-align: center; font-size: 0.7rem; padding: 5px; cursor: pointer; transition: 0.3s; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); border-left: 2px solid rgba(255,255,255,0.1); }
.library-book:hover { transform: translateY(-10px) scale(1.1); z-index: 10; background: #d4af37; color: #0a2342; font-weight: bold; }

/* --- 14. SERTÄ°FÄ°KA MÃœHÃœRLEME --- */
.certificate-modal { text-align: center; background: #fff url('https://www.toptal.com/designers/subtlepatterns/uploads/paper.png'); padding: 40px; border: 10px solid #0a2342; position: relative; }
.certificate-stamp { position: absolute; bottom: 20px; right: 20px; width: 150px; height: 150px; border: 5px solid #c0392b; border-radius: 50%; color: #c0392b; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; transform: rotate(-20deg) scale(2); opacity: 0; transition: 0.2s; text-transform: uppercase; letter-spacing: 2px; mask-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/8399/grunge.png'); -webkit-mask-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/8399/grunge.png'); }
.certificate-stamp.stamped { transform: rotate(-20deg) scale(1); opacity: 0.8; animation: stampThud 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes stampThud { 0% { transform: rotate(-20deg) scale(3); opacity: 0; } 100% { transform: rotate(-20deg) scale(1); opacity: 0.8; } }

/* --- 16. SKELETON LOADING --- */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeletonLoading 1.5s infinite; border-radius: 4px; color: transparent !important; pointer-events: none; }
@keyframes skeletonLoading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- 17. 3D TILT KART --- */
.tilt-card { transform-style: preserve-3d; transform: perspective(1000px); }
.tilt-content { transform: translateZ(20px); }

/* --- 18. SCROLL ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- 19. BÄ°LDÄ°RÄ°M Ã‡ANI --- */
.notification-bell { position: relative; cursor: pointer; margin-left: 15px; color: #0a2342; font-size: 1.2rem; }
.notification-bell .badge { position: absolute; top: -5px; right: -5px; background: #dc3545; color: #fff; font-size: 0.6rem; padding: 2px 5px; border-radius: 50%; }
.notification-bell.shake { animation: bellShake 0.5s ease-in-out; }
@keyframes bellShake { 0% { transform: rotate(0); } 20% { transform: rotate(15deg); } 40% { transform: rotate(-15deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-10deg); } 100% { transform: rotate(0); } }
.notification-dropdown { position: absolute; top: 100%; right: 0; width: 320px; background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.15); display: none; z-index: 1000; max-height: 400px; overflow-y: auto; animation: fadeIn 0.2s ease; }
.notification-dropdown.show { display: block; }

.notif-item { padding: 15px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: 0.2s; position: relative; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: #f9f9f9; }
.notif-item.unread { background: #f0f8ff; }
.notif-item.unread::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #d4af37; }

.notif-title { font-weight: 700; font-size: 0.9rem; color: #0a2342; margin-bottom: 4px; }
.notif-msg { font-size: 0.85rem; color: #666; line-height: 1.4; }
.notif-time { font-size: 0.7rem; color: #999; margin-top: 8px; text-align: right; }
.notif-empty { padding: 20px; text-align: center; color: #999; font-size: 0.9rem; }

.notif-header { padding: 10px 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #f8f9fa; border-radius: 8px 8px 0 0; font-size: 0.85rem; font-weight: 600; color: #0a2342; }
.mark-all-btn { font-size: 0.75rem; color: #d4af37; cursor: pointer; }
.mark-all-btn:hover { text-decoration: underline; }

/* Notification Item Layout */
.notif-item { display: flex; align-items: flex-start; gap: 15px; }
.notif-content { flex: 1; }

.notif-icon { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }

/* Notification Types & Colors */
.notif-item.info .notif-icon { background: rgba(23, 162, 184, 0.1); color: #17a2b8; }
.notif-item.success .notif-icon { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.notif-item.warning .notif-icon { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
.notif-item.primary .notif-icon { background: rgba(0, 123, 255, 0.1); color: #007bff; }

.notif-item.success .notif-title { color: #28a745; }
.notif-item.warning .notif-title { color: #ff9f43; }
.notif-item.primary .notif-title { color: #007bff; }

/* Dark Mode Support for Notifications */
body.dark-mode .notification-dropdown { background: #1e1e1e; border-color: #333; }
body.dark-mode .notif-item { border-bottom-color: #333; }
body.dark-mode .notif-item:hover { background: #252525; }
body.dark-mode .notif-item.unread { background: #2a2a2a; }
body.dark-mode .notif-title { color: #e0e0e0; }
body.dark-mode .notif-msg { color: #b0b0b0; }
body.dark-mode .notif-header { background: #252525; border-bottom-color: #333; color: #fff; }
/* Dark Mode - Notification Bell */
body.dark-mode .notification-bell {
    color: #d4af37;
}

/* Badge daha uyumlu olsun (opsiyonel) */
body.dark-mode .notification-bell .badge {
    background: #d4af37;
    color: #000;
}




















/* Dark Mode - Streak Widget */
body.dark-mode .streak-widget {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
}

/* Pasif ikon */
body.dark-mode .streak-icon {
    color: #555;
}

/* Aktif ikon (altÄ±n tema) */
body.dark-mode .streak-icon.active {
    color: #d4af37;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* Bilgi metni */
body.dark-mode .streak-info {
    color: #aaa;
}

/* GÃ¼n sayÄ±sÄ± / gÃ¼Ã§lÃ¼ vurgu */
body.dark-mode .streak-info strong {
    color: #d4af37;
}

/* --- 20. BEÄENÄ° REAKSÄ°YONLARI --- */
.like-btn { cursor: pointer; transition: 0.3s; color: #ccc; font-size: 1.5rem; }
.like-btn.liked { color: #e74c3c; animation: heartBeat 0.5s; }
.floating-heart { position: absolute; color: #e74c3c; font-size: 1.2rem; animation: floatUp 1.5s ease-out forwards; pointer-events: none; }
@keyframes heartBeat { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes floatUp { 0% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(-50px) scale(1.5); opacity: 0; } }

/* --- 21. KARANLIK MOD GEÃ‡Ä°ÅÄ° (RIPPLE) --- */
.theme-transition-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #121212; z-index: 99999; border-radius: 50%; transform: scale(0); pointer-events: none; transition: transform 0.6s ease-in-out; }
.theme-transition-overlay.active { transform: scale(3); }

/* --- 22. BUTON EFEKTLERÄ° (RIPPLE) --- */
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; background: rgba(255, 255, 255, 0.3); border-radius: 50%; transform: scale(0); animation: rippleEffect 0.6s linear; pointer-events: none; }
@keyframes rippleEffect { to { transform: scale(4); opacity: 0; } }

/* --- 20. EVRÄ°MLEÅEN AVATAR --- */
.avatar-container { position: relative; display: inline-block; margin-bottom: 10px; }
.avatar-evolution { transition: all 0.3s; font-size: 2.5rem !important; width: 90px !important; height: 90px !important; }
.avatar-evolution.level-1 { background-color: #6c757d !important; } /* Ã–ÄŸrenci */
.avatar-evolution.level-2 { background-color: #0a2342 !important; border: 3px solid #d4af37; } /* Stajyer */
.avatar-evolution.level-3 { background: linear-gradient(135deg, #0a2342, #1e3c72) !important; box-shadow: 0 0 15px rgba(10, 35, 66, 0.5); } /* Avukat */
.avatar-evolution.level-4 { background: linear-gradient(135deg, #d4af37, #f3d776) !important; color: #0a2342 !important; animation: pulse 2s infinite; } /* Hakim */

/* --- 22. PRESTÄ°J (REBIRTH) --- */
.prestige-badge { position: absolute; bottom: 0; right: 0; background: #e74c3c; color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); font-weight: bold; }
.prestige-btn { background: linear-gradient(45deg, #FFD700, #FDB931); color: #0a2342; border: none; width: 100%; margin-top: 15px; font-weight: bold; padding: 10px; border-radius: 8px; cursor: pointer; animation: shine 3s infinite; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
@keyframes shine { 0% { filter: brightness(1); } 50% { filter: brightness(1.2); } 100% { filter: brightness(1); } }

/* --- 23. PASLANMA EFEKTÄ° --- */
.course-card.rusted { filter: sepia(0.6) grayscale(0.4); opacity: 0.85; transition: 0.3s; position: relative; border-color: #8d6e63; }
.course-card.rusted:hover { filter: none; opacity: 1; }
.course-card.rusted::after { content: '\f0ad'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 10px; right: 10px; font-size: 1.5rem; color: #8d6e63; z-index: 10; opacity: 0.7; transform: rotate(45deg); }
.rusted-tooltip { position: absolute; top: 10px; right: 40px; background: #8d6e63; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; opacity: 0; transition: 0.3s; pointer-events: none; }
.course-card.rusted:hover .rusted-tooltip { opacity: 1; }

/* --- 38. DUYGU ANKETÄ° --- */
.mood-options { display: flex; gap: 15px; justify-content: center; margin-top: 25px; }
.mood-btn { font-size: 2.5rem; background: none; border: 2px solid transparent; cursor: pointer; transition: 0.2s; border-radius: 50%; padding: 10px; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
.mood-btn:hover { transform: scale(1.1); background: #f8f9fa; }
.mood-btn.selected { border-color: #d4af37; background: #fff3cd; transform: scale(1.1); }

/* --- 39. GÃœNLÃœK HUKUK FALI --- */
.horoscope-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; border-radius: 12px; margin-bottom: 20px; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(118, 75, 162, 0.2); }
.horoscope-card i.bg-icon { font-size: 5rem; position: absolute; right: -10px; bottom: -20px; opacity: 0.15; transform: rotate(-20deg); }
.horoscope-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-bottom: 5px; }
.horoscope-text { font-style: italic; font-size: 1.1rem; position: relative; z-index: 1; font-weight: 500; line-height: 1.4; }

/* --- COMPACT DAILY QUEST (GÃ¼nÃ¼n Sorusu - Kompakt) --- */


/* --- DYNAMIC DAILY TASKS (Dinamik GÃ¶revler) --- */
.tasks-container { display: flex; flex-direction: column; gap: 15px; }
.task-card { display: flex; align-items: center; padding: 15px; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; transition: all 0.2s; position: relative; overflow: hidden; }
.task-card:hover { border-color: #e0e0e0; transform: translateX(5px); }
.task-card.done { background: linear-gradient(to right, #fff, #f9fffb); border-color: #c3e6cb; }

.task-icon { width: 45px; height: 45px; border-radius: 12px; background: #f4f6f8; display: flex; align-items: center; justify-content: center; color: #0a2342; margin-right: 15px; font-size: 1.2rem; flex-shrink: 0; }
.task-card.done .task-icon { background: #d1e7dd; color: #0f5132; }

.task-info { flex: 1; }
.task-title { font-size: 0.95rem; font-weight: 600; color: #0a2342; margin-bottom: 8px; display: block; }
.task-progress { height: 6px; background: #eee; border-radius: 3px; width: 100%; max-width: 250px; overflow: hidden; position: relative; }
.task-progress-bar { height: 100%; background: #d4af37; border-radius: 3px; transition: width 0.5s ease; }
.task-card.done .task-progress-bar { background: #28a745; }

.task-meta { font-size: 0.75rem; color: #999; margin-top: 6px; display: flex; justify-content: space-between; max-width: 250px; }

.task-action { margin-left: 15px; text-align: center; min-width: 80px; }
.btn-claim-task { 
    background: linear-gradient(135deg, #d4af37 0%, #f3d776 100%); 
    color: #0a2342; border: none; padding: 8px 15px; border-radius: 20px; 
    font-size: 0.8rem; font-weight: 700; cursor: pointer; 
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3); 
    animation: pulse 2s infinite; 
    transition: 0.2s;
}
.btn-claim-task:hover { transform: scale(1.05); }
.btn-claim-task:disabled { 
    background: #eee; color: #aaa; cursor: default; 
    animation: none; box-shadow: none; transform: none; 
}
.task-xp-badge { font-weight: 700; color: #d4af37; font-size: 0.9rem; display: flex; flex-direction: column; align-items: center; }

/* Progress Bar Animasyonu */
.progress-bar .fill { width: 0; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }
/* =====================================================
   DAILY QUEST - BASE CARD
===================================================== */

.daily-quest-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Badge */
.daily-quest-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #d4af37;
    color: #0a2342;
    padding: 5px 15px;
    border-bottom-left-radius: 15px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =====================================================
   COMPACT QUEST
===================================================== */

.daily-quest-card.compact-quest {
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.daily-quest-card.compact-quest:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* =====================================================
   HEADER
===================================================== */

.dq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 8px;
}

.dq-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0a2342;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dq-xp {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* =====================================================
   TEXT
===================================================== */

.dq-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.dq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a2342;
    margin: 15px 0 20px;
}

/* =====================================================
   OPTIONS
===================================================== */

.dq-options,
.dq-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dq-options label,
.dq-option {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: #555;
}

.dq-options label:hover,
.dq-option:hover {
    background: #fff;
    border-color: #d4af37;
    color: #0a2342;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dq-options input,
.dq-option input {
    margin-right: 10px;
    accent-color: #d4af37;
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 576px) {
    .dq-options-grid,
    .dq-options {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   RESULT
===================================================== */

.dq-result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.dq-result.success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.dq-result.error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c6cb;
}

/* =====================================================
   ROADMAP
===================================================== */

.roadmap-container {
    position: relative;
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #e9ecef;
    transform: translateX(-50%);
    border-radius: 2px;
}

.roadmap-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.roadmap-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 45%;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.roadmap-content h4 { color: #0a2342; }
.roadmap-content p { color: #666; }

/* Marker */
.roadmap-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-weight: bold;
}

/* States */
.roadmap-item.completed .roadmap-marker {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.roadmap-item.active .roadmap-marker {
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 0 0 0 5px rgba(212,175,55,0.2);
}

.roadmap-item.locked .roadmap-content {
    opacity: 0.6;
    background: #f9f9f9;
    filter: grayscale(100%);
}

/* Mobile */
@media (max-width: 768px) {
    .roadmap-container::before { left: 20px; }
    .roadmap-item { padding-left: 60px; justify-content: flex-start; }
    .roadmap-content { width: auto; }
    .roadmap-marker { left: 20px; }
}

/* --- DAILY TASK CARD (GÃœNLÃœK GÃ–REV KARTI) --- */
.daily-task-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.daily-task-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Ä°Ã§erik DÃ¼zeni */
.daily-task-card .task-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.selected-answer {
            border: 2px solid #0a2342 !important;
            background-color: #e2e6ea !important;
}
.daily-task-card .task-icon {
    font-size: 1.5rem;
    color: #0a2342;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.daily-task-card .task-details h5 {
    margin: 0;
    font-size: 1rem;
    color: #0a2342;
    font-weight: 600;
}

.daily-task-card .task-details span {
    font-size: 0.75rem;
    color: #666;
}

.daily-task-card .task-actions {
    display: flex;
    gap: 10px;
}

.daily-task-card.completed {
    background: linear-gradient(to right, #f8fff9, #e6ffec);
    border-color: #c3e6cb;
}

.daily-task-card.completed::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 5rem;
    color: rgba(40, 167, 69, 0.1);
    transform: rotate(-15deg);
    pointer-events: none;
}

.completed-badge {
    background: #28a745;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

/* --- Mobile Responsive (GÃ¼nlÃ¼k GÃ¶revler) --- */
@media (max-width: 768px) {
    .daily-task-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .daily-task-card .task-content {
        width: 100%;
        margin-bottom: 15px;
    }

    .daily-task-card .task-actions {
        width: 100%;
        justify-content: space-between;
    }

    .daily-task-card .task-actions .btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}

/* --- Dark Mode (GÃ¼nlÃ¼k GÃ¶revler) --- */
body.dark-mode .daily-task-card {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .daily-task-card .task-icon {
    color: #d4af37;
}

body.dark-mode .daily-task-card .task-details h5 {
    color: #e0e0e0;
}

body.dark-mode .daily-task-card .task-details span {
    color: #b0b0b0;
}

body.dark-mode .daily-task-card.completed {
    background: linear-gradient(to right, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border-color: #2d6a4f;
}
/* =====================================================
   DARK MODE
   body.dark-mode veya .dark
===================================================== */

body.dark-mode,
.dark {
    background: #121212;
}

/* Cards */
body.dark-mode .daily-quest-card,
.dark .daily-quest-card {
    background: linear-gradient(135deg, #1e1e1e, #181818);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

body.dark-mode .daily-quest-card.compact-quest,
.dark .daily-quest-card.compact-quest {
    background: #1e1e1e;
    border-color: #333;
}

/* Text */
body.dark-mode .dq-text,
body.dark-mode .dq-question,
.dark .dq-text,
.dark .dq-question {
    color: #e0e0e0;
}

body.dark-mode .dq-badge,
.dark .dq-badge {
    color: #d4af37;
}

/* Options */
body.dark-mode .dq-option,
body.dark-mode .dq-options label,
.dark .dq-option,
.dark .dq-options label {
    background: #1a1a1a;
    border-color: #333;
    color: #ccc;
}

body.dark-mode .dq-option:hover,
body.dark-mode .dq-options label:hover,
.dark .dq-option:hover,
.dark .dq-options label:hover {
    background: #222;
    border-color: #d4af37;
    color: #d4af37;
}

/* Result */
body.dark-mode .dq-result.success,
.dark .dq-result.success {
    background: #0f2e24;
    color: #5ee0b3;
    border-color: #1f5c48;
}

body.dark-mode .dq-result.error,
.dark .dq-result.error {
    background: #3a1a1a;
    color: #ff8a8a;
    border-color: #5a2a2a;
}

/* Roadmap Dark */
body.dark-mode .roadmap-content,
.dark .roadmap-content {
    background: #1e1e1e;
    border-color: #333;
    color: #ddd;
}

body.dark-mode .roadmap-container::before,
.dark .roadmap-container::before {
    background: #333;
}

/* GÃ¼nlÃ¼k GÃ¶revler CSS */
.daily-task-item {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border: 1px solid #eee; border-radius: 8px;
    padding: 12px 15px; margin-bottom: 10px; transition: all 0.2s;
}
.daily-task-item:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.daily-task-item.completed { background-color: #f0fff4; border-color: #d1e7dd; }
.daily-task-info { flex: 1; display: flex; align-items: center; gap: 12px; }
.daily-task-info h5 { margin: 0; font-size: 0.95rem; color: #0a2342; font-weight: 600; }
.daily-task-info span { font-size: 0.8rem; color: #666; }
.daily-task-reward { font-weight: 600; color: #d4af37; font-size: 0.9rem; margin: 0 15px; white-space: nowrap; }
.chest-icon { min-width: 30px; text-align: center; color: #ccc; font-size: 1.1rem; }
.chest-icon .btn { margin: 0; }

/* --- LEADERBOARD FIRST PLACE --- */
.leaderboard-first {
    background: linear-gradient(90deg, #fff, #fff9c4, #fff);
    background-size: 200% 100%;
    animation: goldShine 3s linear infinite;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
    font-weight: bold;
    position: relative;
    z-index: 1;
}
.leaderboard-first td {
    border-top: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    color: #b8860b !important;
}
.leaderboard-first td:first-child { border-left: 2px solid #d4af37; border-radius: 10px 0 0 10px; }
.leaderboard-first td:last-child { border-right: 2px solid #d4af37; border-radius: 0 10px 10px 0; }

@keyframes goldShine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* --- QUIZ TAKING PAGES (Soru Ã‡Ã¶zme & YanlÄ±ÅŸ Sorular) --- */
.quiz-container { max-width: 800px; margin: 40px auto; }
.quiz-container .question-card { display: block; background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 25px; border: 1px solid #eee; }
.quiz-container .question-text { font-size: 1.15rem; font-weight: 600; color: #0a2342; margin-bottom: 20px; }
.quiz-container .options { display: flex; flex-direction: column; gap: 12px; }
.quiz-container .options label { display: flex; align-items: center; padding: 18px; border: 2px solid #f1f1f1; border-radius: 10px; margin-bottom: 0; cursor: pointer; transition: all 0.2s; }
.quiz-container .options label:hover { background-color: #f8f9fa; border-color: #d4af37; transform: translateX(5px); }
.quiz-container .options input[type="radio"] { margin-right: 15px; transform: scale(1.2); }
.quiz-container .correct-answer { background-color: #d1e7dd !important; border-color: #badbcc !important; color: #0f5132; font-weight: 600; }
.quiz-container .wrong-answer { background-color: #f8d7da !important; border-color: #f5c6cb !important; color: #842029; opacity: 0.8; }
.quiz-container .solution-box { display: none; margin-top: 20px; padding: 20px; background: #f0f4f8; border-radius: 8px; font-size: 0.95rem; color: #333; border-left: 5px solid #d4af37; animation: fadeIn 0.5s; }
.quiz-container .solution-box strong { color: #0a2342; display: block; margin-bottom: 8px; font-size: 1rem; }
.quiz-container .toggle-solution-btn { display: none; margin-top: 15px; font-size: 0.9rem; cursor: pointer; color: #0a2342; background: #fff; border: 2px solid #0a2342; padding: 8px 20px; border-radius: 50px; transition: all 0.3s; font-weight: 600; }
.quiz-container .toggle-solution-btn:hover { background: #0a2342; color: #fff; box-shadow: 0 5px 15px rgba(10, 35, 66, 0.2); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- READER (Ders Okuma) --- */
.reader-container { max-width: 900px; margin: 40px auto; background: #fff; padding: 60px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); position: relative; }
.reader-header { border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 30px; }
.reader-header h1 { font-size: 2rem; color: #0a2342; margin-bottom: 10px; font-weight: 700; }
.reader-header .meta { color: #666; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.reader-content { font-size: 1.25rem; line-height: 2; color: #2c3e50; font-family: 'Inter', sans-serif; text-align: justify; letter-spacing: 0.01em; }
.reader-content p { margin-bottom: 20px; }
.reader-content h2, .reader-content h3 { color: #0a2342; margin-top: 30px; margin-bottom: 15px; font-weight: 600; }
.reader-content ul, .reader-content ol { margin-bottom: 20px; padding-left: 20px; }
.reader-content li { margin-bottom: 10px; }
@media (max-width: 768px) { .reader-container { padding: 25px; margin: 15px; } }

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    color: #d4af37;
    opacity: 0.1;
    font-weight: bold;
    pointer-events: none;
    z-index: 0;
    display: none;
}

/* --- PRICING (Uyelikler) --- */
.pricing-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 2.35rem;
    color: #0a2342;
    margin-bottom: 12px;
}

.pricing-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.05rem;
}

.pricing-scroll-info {
    margin-top: 12px !important;
    font-size: 0.9rem !important;
    color: #5b6b81 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pricing-scroll-info i {
    color: #0a2342;
}

.pricing-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px 6px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #dbe3ed;
    cursor: grab;
}

.pricing-grid.is-dragging {
    cursor: grabbing;
}

.pricing-grid.is-dragging,
.pricing-grid.is-dragging * {
    user-select: none;
}

.no-text-select,
.no-text-select * {
    user-select: none !important;
}

.pricing-grid::-webkit-scrollbar {
    height: 10px;
}

.pricing-grid::-webkit-scrollbar-track {
    background: #dbe3ed;
    border-radius: 999px;
}

.pricing-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    border-radius: 999px;
}

.pricing-card {
    --plan-accent: #d4af37;
    --plan-soft: rgba(212, 175, 55, 0.16);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--plan-accent);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.09);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 360px;
    width: 360px;
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.pricing-card.featured {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 22px 45px rgba(124, 58, 237, 0.18);
}

.pricing-card.plan-pro { --plan-accent: #7c3aed; --plan-soft: rgba(124, 58, 237, 0.16); }
.pricing-card.plan-avantaj { --plan-accent: #2563eb; --plan-soft: rgba(37, 99, 235, 0.16); }
.pricing-card.plan-yogun { --plan-accent: #ea580c; --plan-soft: rgba(234, 88, 12, 0.16); }
.pricing-card.plan-aylik { --plan-accent: #16a34a; --plan-soft: rgba(22, 163, 74, 0.16); }
.pricing-card.plan-deneme { --plan-accent: #475569; --plan-soft: rgba(71, 85, 105, 0.16); }

.badge-popular {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--plan-accent);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.35px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.plan-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plan-soft);
    color: var(--plan-accent);
    font-size: 1.45rem;
    margin-bottom: 18px;
}

.plan-name {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #0f172a;
}

.plan-sub {
    color: #64748b;
    font-size: 0.94rem;
    margin-bottom: 18px;
    min-height: 52px;
}

.plan-price {
    font-size: 2.2rem;
    line-height: 1.05;
    color: var(--plan-accent);
    margin-bottom: 22px;
    font-weight: 800;
}

.plan-price span {
    font-size: 0.98rem;
    color: #64748b;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    color: #1f2937;
    font-size: 0.94rem;
}

.plan-features li i {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--plan-accent);
    background: var(--plan-soft);
    font-size: 0.72rem;
    margin-top: 2px;
}

.plan-note {
    margin-top: auto;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    border-radius: 11px;
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.plan-note i {
    color: var(--plan-accent);
    margin-top: 2px;
}

.btn-plan {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    background: var(--plan-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 14px 16px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.btn-plan:hover {
    color: #ffffff;
    transform: translateY(-2px);
    filter: brightness(0.94);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.24);
}

body.dark-mode .pricing-section {
    background: linear-gradient(180deg, #111216 0%, #171920 100%);
}

body.dark-mode .pricing-header h2 {
    color: #f8fafc;
}

body.dark-mode .pricing-header p {
    color: #94a3b8;
}

body.dark-mode .pricing-scroll-info {
    color: #b6c0cd !important;
}

body.dark-mode .pricing-scroll-info i {
    color: #d4af37;
}

body.dark-mode .pricing-card {
    background: #1b1d23;
    border-color: #2f3541;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

body.dark-mode .pricing-card.featured {
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 18px 34px rgba(124, 58, 237, 0.24);
}

body.dark-mode .plan-name {
    color: #f1f5f9;
}

body.dark-mode .plan-sub {
    color: #9aa6b2;
}

body.dark-mode .plan-price span {
    color: #94a3b8;
}

body.dark-mode .plan-features li {
    color: #dbe2ea;
}

body.dark-mode .plan-note {
    background: #141821;
    border-color: #303743;
    color: #c8d1dc;
}

body.dark-mode .btn-plan {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

body.dark-mode .badge-popular {
    color: #ffffff;
}

@media (max-width: 1200px) {
    .pricing-grid {
        gap: 18px;
    }

    .pricing-card {
        flex-basis: 340px;
        width: 340px;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 55px 0;
    }

    .pricing-header {
        margin-bottom: 30px;
    }

    .pricing-header h2 {
        font-size: 1.7rem;
    }

    .pricing-header p {
        font-size: 0.95rem;
    }

    .pricing-scroll-info {
        display: none;
    }

    .pricing-grid {
        display: grid;
        overflow: visible;
        scrollbar-width: none;
        padding: 0;
        gap: 16px;
        grid-template-columns: 1fr;
        cursor: default;
    }

    .pricing-card {
        padding: 22px 18px;
        width: 100%;
        flex: 1 1 auto;
    }

    .plan-sub {
        min-height: 0;
    }

    .badge-popular {
        top: 12px;
        right: 12px;
    }
}
/* PDF Export Styles */
.pdf-only-content { display: none; }
#pdf-temp-container { font-family: 'Inter', sans-serif; color: #333; background: #fff; }

/* === iOS Safari Right Overflow HARD FIX === */
@media (max-width: 600px) {

    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        position: relative;
    }

    /* 100vw kaynaklÄ± taÅŸmalarÄ± Ã¶ldÃ¼r */
    .hero,
    .navbar,
    .slider-wrapper,
    .slider-container,
    .slider-track {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Absolute / transform taÅŸmalarÄ± */
    [style*="translate"],
    [class*="slider"],
    [class*="roadmap"] {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* iOS Ã¶zel viewport bug fix */
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: none;
    }

    /* GÃ¼venli alan (notch) */
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    /* Kartlar ve paneller */
    .card,
    .auth-card,
    .sidebar,
    .filters,
    .settings-card,
    .dashboard-content,
    .question-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Grid / flex overflow fix */
    .grid-3,
    .stats-grid,
    .footer-content {
        width: 100%;
        margin: 0;
    }

    /* GÃ¶rseller */
    img, svg, canvas, video {
        max-width: 100%;
        height: auto;
    }
}

  .courses-layout {
            display: flex;
            flex-direction: column;
            padding-top: 40px;
            padding-bottom: 40px;
        }

        .course-grid {
            width: 100%;
        }

        /* --- Grid for course cards --- */
        .grid-3 {
            display: grid;
            grid-template-columns: 1fr; /* Default to 1 column for mobile */
            gap: 20px;
        }

        /* --- Mobile Filter --- */
        .mobile-filter-btn {
            display: flex; /* Show on mobile */
            width: 100%;
            margin-bottom: 20px;
            justify-content: space-between;
            align-items: center;
        }

        .filters {
            display: none; /* Hide filters by default on mobile */
        }

        .filters.active {
            display: block; /* Show when active */
            animation: fadeIn 0.4s ease;
        }
        
        .mobile-filter-btn .fa-chevron-down {
            transition: transform 0.3s ease;
        }
        .mobile-filter-btn.open .fa-chevron-down {
            transform: rotate(180deg);
        }

        /* --- Desktop Layout (Tablet and up) --- */
        @media (min-width: 768px) {
            .courses-layout {
                flex-direction: row;
                gap: 30px;
            }
            .filters {
                display: block !important; /* Always show on desktop */
                flex: 0 0 250px; /* Sidebar width */
            }
            .mobile-filter-btn {
                display: none; /* Hide mobile button on desktop */
            }
            .grid-3 {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

/* --- TICKET SYSTEM STYLES --- */
.ticket-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-open { background-color: rgba(40, 167, 69, 0.1); color: #28a745; }
.status-answered { background-color: rgba(23, 162, 184, 0.1); color: #17a2b8; }
.status-closed { background-color: rgba(108, 117, 125, 0.1); color: #6c757d; }

.priority-badge {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}
.priority-low { background-color: #28a745; box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); }
.priority-medium { background-color: #ffc107; box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
.priority-high { background-color: #dc3545; box-shadow: 0 0 5px rgba(220, 53, 69, 0.5); }

/* Chat Interface */
.chat-box {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.message-item.user {
    align-self: flex-end;
    align-items: flex-end;
}

.message-item.admin {
    align-self: flex-start;
    align-items: flex-start;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    position: relative;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-item.user .message-bubble {
    background-color: #d4af37;
    color: #0a2342;
    border-bottom-right-radius: 2px;
}

.message-item.admin .message-bubble {
    background-color: #e9ecef;
    color: #333;
    border-bottom-left-radius: 2px;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
}

.attachment-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
}
.attachment-link:hover { opacity: 0.8; }

/* Dark Mode Support for Tickets */
body.dark-mode .chat-box {
    background: #1e1e1e;
    border-color: #333;
}
body.dark-mode .message-item.admin .message-bubble {
    background-color: #2a2a2a;
    color: #e0e0e0;
}
body.dark-mode .status-closed {
    background-color: rgba(255, 255, 255, 0.1);
    color: #aaa;
}
body.dark-mode .status-open {
    background-color: rgba(40, 167, 69, 0.2);
}
body.dark-mode .status-answered {
    background-color: rgba(23, 162, 184, 0.2);
}

/* --- Modern Table Design --- */
.table-responsive {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    border: 1px solid #eee;
    background: #fff;
    margin-bottom: 20px;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.table thead tr {
    background: #f8f9fa;
}

.table th {
    padding: 18px 20px;
    font-weight: 700;
    color: #0a2342;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.table td {
    padding: 18px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
    color: #555;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #fcfcfc;
}

.table tbody tr:hover td {
    color: #0a2342;
}

/* Dark Mode Table Overrides */
body.dark-mode .table-responsive {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .table {
    background: #1e1e1e;
}

body.dark-mode .table thead tr {
    background: #252525;
}

body.dark-mode .table th {
    color: #d4af37;
    border-bottom-color: #333;
}

body.dark-mode .table td {
    border-bottom-color: #333;
    color: #b0b0b0;
}

body.dark-mode .table tbody tr:hover {
    background-color: #2a2a2a;
}

body.dark-mode .table tbody tr:hover td {
    color: #fff;
}

/* Custom File Input */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}
.file-upload-input {
    display: none;
}
.file-upload-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4f6f8;
    color: #0a2342;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}
.file-upload-label:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}
.file-name {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
/* Dark mode support */
body.dark-mode .file-upload-label {
    background-color: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}
body.dark-mode .file-upload-label:hover {
    background-color: #333;
}
