/* PREMIUM DESIGN SYSTEM BY ANTIGRAVITY */

:root {
    --p-bg: rgba(255, 255, 255, 0.03);
    --p-border: rgba(255, 255, 255, 0.08);
    --p-accent: #00d2ff;
    --p-orange: #ff9d00;
    --p-glass: blur(15px);
}

/* ===== HABER KARTLARI GİRİŞ ANİMASYONU ===== */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card-anim {
    opacity: 0;
    animation: cardFadeIn 0.55s ease-out forwards;
}


/* ===== SECTION HEADER ===== */
.section-header-premium {
    text-align: left;
    margin-bottom: 40px;
}

/* ===== PREMIUM SEARCH BAR ===== */
.search-bar {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--p-border) !important;
    border-radius: 18px !important;
    padding: 8px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 40px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

.search-bar:focus-within {
    border-color: var(--p-accent) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.15) !important;
    transform: translateY(-2px);
}

.search-bar input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 100% !important;
    outline: none !important;
    font-size: 15px !important;
    padding: 10px 0 !important;
}

/* ===== NEWS GRID & CARDS ===== */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px !important;
}

/* HABER BANDI KARTLARININ YENİ TASARIMI */
.card {
    background: rgba(15, 23, 42, 0.4) !important; /* Daha koyu şeffaf arka plan */
    backdrop-filter: blur(10px); /* Cam efekti */
    border: 1px solid rgba(255, 255, 255, 0.05) !important; /* Çok ince sınır hattı */
    border-radius: 16px !important; /* Daha yumuşak köşeler */
    padding: 20px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Kartın üzerindeki o mavi nokta için modern dokunuş */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none !important;
}

/* Mouse ile üzerine gelince (Hover) */
.card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    border-color: rgba(0, 242, 255, 0.4) !important; /* Mavi parlayan sınır */
    background: rgba(15, 23, 42, 0.7) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.1) !important;
}

.card:hover::before {
    opacity: 1;
}

/* Yazıların rengi ve fontu */
.card p, .card div {
    color: #e2e8f0 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

.card-img-wrap {
    height: 200px !important;
    position: relative !important;
    overflow: hidden !important;
}

.card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s ease !important;
}

.card:hover .card-img {
    transform: scale(1.15) !important;
}

.card-tag {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: var(--p-accent) !important;
    color: #000 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.card-content {
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.card-content h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
}

.card-desc {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
}

.card-footer-actions {
    margin-top: auto !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.read-more-btn {
    color: var(--p-accent) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: 0.3s !important;
}

.read-more-btn:hover {
    color: #fff !important;
    letter-spacing: 0.5px;
}

.ai-summary-btn {
    background: rgba(0, 210, 255, 0.1) !important;
    border: 1px solid rgba(0, 210, 255, 0.3) !important;
    color: var(--p-accent) !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
}

.ai-summary-btn:hover {
    background: var(--p-accent) !important;
    color: #000 !important;
}

/* ===== CRYPTO GRID PREMIUM ===== */
.crypto-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

.crypto-card-premium {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--p-border) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    transition: 0.4s !important;
    backdrop-filter: blur(10px);
}

.crypto-card-premium:hover {
    transform: translateY(-8px) !important;
    border-color: var(--p-accent) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
}

.crypto-icon-wrap {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
}

.crypto-info { flex: 1 !important; }
.crypto-symbol { font-size: 12px !important; color: rgba(255,255,255,0.5) !important; font-weight: 700 !important; }
.crypto-price { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; }

.crypto-trend { text-align: right !important; }
.crypto-trend.up { color: #00ff88 !important; }
.crypto-trend.down { color: #ff3366 !important; }

/* ===== SIDEBAR IMPROVEMENTS ===== */
.list-item {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid var(--p-border) !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    transition: 0.3s !important;
}

.list-item:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--p-accent) !important;
    transform: translateX(5px) !important;
}

/* ===== SKELETONS ===== */
.skeleton-card {
    height: 400px !important;
    background: rgba(255,255,255,0.03) !important;
    border-radius: 28px !important;
    position: relative !important;
    overflow: hidden !important;
}

.skeleton-card::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent) !important;
    animation: skeleton-wave 1.5s infinite !important;
}

@keyframes skeleton-wave { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== FEATURED CARD SPECIAL STYLE ===== */
.featured-card {
    grid-column: 1 / -1;
    flex-direction: row !important;
    height: 350px !important;
}

.featured-card .card-img-wrap {
    width: 50% !important;
    height: 100% !important;
}

.featured-card .card-content {
    width: 50% !important;
}

@media (max-width: 900px) {
    .featured-card {
        flex-direction: column !important;
        height: auto !important;
    }
    .featured-card .card-img-wrap, .featured-card .card-content {
        width: 100% !important;
    }
}

/* ===== MOBILE RESPONSIVE (≤768px) ===== */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .card-img-wrap {
        height: 180px !important;
    }

    .card-content {
        padding: 18px !important;
    }

    .card-content h3 {
        font-size: 16px !important;
    }

    .featured-card {
        grid-column: auto !important;
    }

    .crypto-grid {
        grid-template-columns: 1fr !important;
    }

    .search-bar {
        padding: 6px 14px !important;
    }

    .section-header-premium h2 {
        font-size: 26px !important;
    }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .card-img-wrap {
        height: 160px !important;
    }

    .card-content {
        padding: 14px !important;
    }

    .card-content h3 {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    .card-desc {
        font-size: 13px !important;
    }

    .crypto-card-premium {
        padding: 14px !important;
        gap: 12px !important;
    }

    .skeleton-card {
        height: 300px !important;
    }
}

/* ===== KOPYALAMA MIKRO-ETKILESIMLERI ===== */
.copy-success {
    background: linear-gradient(135deg, #00b09b, #96c93d) !important;
    border-color: #96c93d !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(150, 201, 61, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.copy-success::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine-effect 0.6s ease;
}

@keyframes shine-effect {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

/* Toast Bildirim Tasarimi */
#toast-notify {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: white;
    padding: 14px 24px;
    border-radius: 16px;
    z-index: 99999;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#toast-notify.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== KOMPAKT KATEGORI DIZINI (DIRECTORY) TASARIMI ===== */
.categories-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.cat-directory-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 15px;
    text-align: left; /* Daha profesyonel durur */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(5px);
}

.cat-directory-card:hover {
    background: rgba(0, 210, 255, 0.04);
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-3px);
}

.cat-card-title {
    color: var(--accent-blue);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    text-align: center;
}

.cat-sub-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    flex: 1;
}

.cat-sub-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
    cursor: pointer;
}

/* Discovery Navigasyon - Masaüstü Premium */
.discovery-nav {
    margin-bottom: 25px !important;
    padding: 12px 20px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(0, 210, 255, 0.2) !important;
}

.btn-discovery {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-discovery-back {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
    border-color: rgba(0, 210, 255, 0.3);
}

.btn-discovery-back:hover {
    background: rgba(0, 210, 255, 0.2);
    transform: translateX(-5px);
}

.btn-discovery-home {
    background: rgba(139, 92, 246, 0.1); /* Mor/Indigo tonu */
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

.btn-discovery-home:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
}

/* Başlık ve Ayırıcı Çizgi */
#tools-header h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

#tools-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    border-radius: 2px;
}

/* Filtre Butonları - Masaüstü Ölçekleme */
@media (min-width: 1024px) {
    .filter-btn {
        padding: 10px 22px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }
}

/* Ziyaret Et Butonu - Premium */
.btn-tool-visit {
    background: linear-gradient(135deg, var(--accent-blue), #0082ad);
    color: white !important;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-tool-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
    filter: brightness(1.1);
}

/* Mobil Başlık Küçültme */
@media (max-width: 600px) {
    #tools-header h2 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        line-height: 1.4;
    }
}


.cat-sub-list li:hover {
    color: var(--accent-blue);
}

.cat-sub-list li .count {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
}

.btn-all-categories {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Kartı kaplasın daha düzenli durur */
    text-align: center;
}

.btn-all-categories:hover {
    background: var(--accent-blue);
    color: #000;
}

@media (max-width: 1200px) {
    .categories-detailed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .categories-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .categories-detailed-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cat-directory-card {
        padding: 15px;
    }
}

/* ===================== AI XP GAMIFICATION SYSTEM ===================== */
.xp-nav-widget {
    background: rgba(255, 157, 0, 0.08) !important;
    border: 1px solid rgba(255, 157, 0, 0.25) !important;
    border-radius: 12px !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    user-select: none !important;
}

.xp-nav-widget:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 157, 0, 0.15) !important;
    box-shadow: 0 0 15px rgba(255, 157, 0, 0.2) !important;
    border-color: rgba(255, 157, 0, 0.5) !important;
}

.xp-nav-lvl {
    color: #ff9d00 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
}

.xp-nav-bar-wrap {
    width: 60px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 3px !important;
    overflow: hidden !important;
}

.xp-nav-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #ff9d00, #ffb300) !important;
    width: 0%;
    transition: width 0.5s ease-out !important;
}

.xp-nav-title {
    font-size: 11px !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* XP Modal Specifics */
.xp-modal-header {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.xp-profile-lvl-large {
    font-size: 54px !important;
    font-weight: 900 !important;
    color: #ff9d00 !important;
    text-shadow: 0 0 20px rgba(255, 157, 0, 0.4) !important;
    margin: 10px 0 !important;
}

.xp-profile-badge-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: rgba(255, 157, 0, 0.1) !important;
    border: 1px solid rgba(255, 157, 0, 0.2) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
}

.xp-large-bar-wrap {
    width: 100% !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin: 15px 0 8px !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

.xp-large-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #ff9d00, #ffb300, #00d2ff) !important;
    width: 0%;
    transition: width 0.5s ease-out !important;
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.5) !important;
}

.xp-progress-text {
    font-size: 12px !important;
    color: var(--text-dim) !important;
    text-align: right !important;
    margin-bottom: 20px !important;
}

/* Badges Grid */
.badges-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.badge-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    padding: 12px 6px !important;
    text-align: center !important;
    font-size: 10px !important;
    transition: all 0.3s ease !important;
    opacity: 0.35;
    filter: grayscale(1);
}

.badge-card.unlocked {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    background: rgba(255, 157, 0, 0.05) !important;
    border-color: rgba(255, 157, 0, 0.3) !important;
    box-shadow: 0 5px 15px rgba(255, 157, 0, 0.05) !important;
}

.badge-card-icon {
    font-size: 28px !important;
    margin-bottom: 6px !important;
}

.badge-card-title {
    font-weight: 700 !important;
    color: #fff !important;
}

/* Tasks list */
.xp-tasks-list {
    margin-top: 20px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 14px !important;
    padding: 15px !important;
}

.xp-task-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    font-size: 12px !important;
}

.xp-task-item:last-child {
    border-bottom: none !important;
}

.xp-task-name {
    color: #e2e8f0 !important;
}

.xp-task-reward {
    color: #ff9d00 !important;
    font-weight: 700 !important;
}

.xp-task-status {
    color: #00ff88 !important;
    font-size: 11px !important;
}

/* Level Up Pop-up */
.lvl-up-toast {
    display: none; /* Sayfa yüklenirken gizli tut */
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translate(-50%, -200%) !important;
    background: linear-gradient(135deg, #18181b, #09090b) !important;
    border: 2px solid #ff9d00 !important;
    border-radius: 20px !important;
    padding: 20px 40px !important;
    z-index: 1000000 !important;
    text-align: center !important;
    box-shadow: 0 20px 50px rgba(255, 157, 0, 0.3), 0 0 30px rgba(255, 157, 0, 0.2) !important;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease !important;
    width: 90% !important;
    max-width: 400px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.lvl-up-toast.show {
    display: block !important; /* Göründüğünde görünür yap */
    transform: translate(-50%, 20px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.lvl-up-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #ff9d00 !important;
    letter-spacing: 2px !important;
    margin-bottom: 5px !important;
    text-shadow: 0 0 10px rgba(255, 157, 0, 0.4) !important;
}

/* ===================== NEWS RELATED CONTENT FLOW ===================== */
.related-news-section {
    margin-top: 35px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.related-news-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.related-news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 15px !important;
}

.related-news-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.related-news-card:hover {
    background: rgba(0, 210, 255, 0.04) !important;
    border-color: rgba(0, 210, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.related-news-cat {
    font-size: 10px !important;
    color: var(--accent-blue) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

.related-news-card h4 {
    font-size: 13px !important;
    color: #fff !important;
    margin: 0 !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Mobile specific styling adjustments */
@media (max-width: 768px) {
    .xp-nav-widget {
        padding: 4px 8px !important;
    }
    .xp-nav-bar-wrap {
        display: none !important; /* Hide progress bar in thin navs */
    }
    .xp-nav-title {
        display: none !important; /* Hide title in thin navs */
    }
}

/* ===================== WELCOME ONBOARDING MODAL ===================== */
.welcome-badge-icon {
    font-size: 40px !important;
    margin-bottom: 15px !important;
    display: inline-block !important;
    animation: bounceActive 2s infinite ease-in-out !important;
}

@keyframes bounceActive {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.welcome-title-gradient {
    font-size: 24px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #00d2ff 0%, #0077b6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 10px !important;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.1) !important;
}

.welcome-intro-text {
    font-size: 14px !important;
    color: var(--text-dim) !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
}

.welcome-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 25px !important;
}

@media (max-width: 480px) {
    .welcome-features-grid {
        grid-template-columns: 1fr !important;
    }
}

.welcome-feature-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    padding: 15px !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important; /* Tıklanabilir olduğunu hissettir */
}

.welcome-feature-card:hover {
    background: rgba(0, 210, 255, 0.04) !important;
    border-color: rgba(0, 210, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

.welcome-feature-card-full {
    grid-column: span 2 !important;
}

@media (max-width: 480px) {
    .welcome-feature-card-full {
        grid-column: span 1 !important;
    }
}

.welcome-feature-icon {
    font-size: 20px !important;
    margin-bottom: 8px !important;
}

.welcome-feature-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 4px !important;
}

.welcome-feature-desc {
    font-size: 11px !important;
    color: var(--text-dim) !important;
    line-height: 1.4 !important;
}

.welcome-actions-row {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    margin-top: 10px !important;
}

@media (max-width: 480px) {
    .welcome-actions-row {
        flex-direction: column !important;
    }
}

.welcome-btn {
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.welcome-btn:hover {
    transform: translateY(-2px) !important;
}

.welcome-btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0077b6 100%) !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25) !important;
    flex: 1.3 !important;
}

.welcome-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4) !important;
    filter: brightness(1.1) !important;
}

.welcome-btn-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex: 1 !important;
}

.welcome-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===================== NAVBAR & XP WIDGET RESPONSIVE FIXES ===================== */
.nav-links a, .nav-links li, .btn-menu-item {
    white-space: nowrap !important;
}

@media screen and (max-width: 1400px) {
    nav, nav.scrolled, .navbar {
        padding: 10px 2% !important;
    }
    .nav-links {
        gap: 15px !important;
    }
    .nav-links a {
        font-size: 14px !important;
    }
    .logo {
        min-width: 150px !important;
    }
}

.xp-nav-widget {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.xp-nav-lvl, .xp-nav-title {
    white-space: nowrap !important;
}

@media screen and (max-width: 1100px) {
    /* Hide socials in navbar on tablet/mobile to free up space */
    .nav-socials {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    /* Force mobile navbar to stay in a single row without wrapping */
    nav, .navbar {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        height: 60px !important;
        padding: 0 15px !important;
        top: 0 !important;
    }
    
    .logo {
        min-width: auto !important;
        flex-shrink: 1 !important;
    }
    
    .logo span {
        font-size: 15px !important; /* Slightly smaller text so it fits */
    }
    
    .nav-right-actions {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure the XP widget doesn't cause shifting on tiny screens */
    .xp-nav-widget {
        padding: 4px 8px !important;
        gap: 4px !important;
    }
}

@media screen and (max-width: 400px) {
    .logo span {
        font-size: 13px !important; /* Even smaller logo text on very narrow devices */
    }
    .nav-right-actions {
        gap: 5px !important;
    }
    .xp-nav-widget {
        padding: 4px 6px !important;
    }
}


