@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Inter:wght@400;500;600;700&display=swap');
/*
 * ╔══════════════════════════════════════════════════════════════╗
 * ║   AION NOVA GLOBAL THEME — B3 / Abyss (ember + Fraunces)     ║
 * ║   Ember: #ff7a45  |  Amber: #ffb24d  |  Cream: #f6f1ea      ║
 * ╚══════════════════════════════════════════════════════════════╝
 *
 * Bu dosya manager ve panel layout'larında en son yüklenir.
 * Tüm eski renklerin üzerine !important ile B3 paletini yazar.
 */

/* ═══════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES (ROOT OVERRIDE)
   ═══════════════════════════════════════════════ */
:root {
    --ewa-accent:   #ff7a45 !important;
    --ewa-accent2:  #ffb24d !important;
    --ewa-bg:       #07060a !important;
    --ewa-surface:  #100d16 !important;
    --ewa-border:   rgba(246, 241, 234, 0.15) !important;
    --ewa-muted:    #a8a096 !important;
    --ewa-faint:    #6a635b !important;
    --ewa-text:     #f6f1ea !important;
    /* Eski değişkenler → gold */
    --ewa-green:    #ff7a45 !important;
    --ewa-green-2:  #ffb24d !important;
    --ewa-blue:     #ff7a45 !important;
    --ewa-blue-2:   #ffb24d !important;
}

/* ═══════════════════════════════════════════════
   2. GLOBAL BODY & SCROLLBAR
   ═══════════════════════════════════════════════ */
body {
    background: #07060a !important;
    color: #f6f1ea !important;
}

::-webkit-scrollbar-thumb        { background: rgba(246, 241, 234, 0.25) !important; }
::-webkit-scrollbar-thumb:hover  { background: #ff7a45 !important; }
::-webkit-scrollbar-track        { background: #07060a !important; }

/* ═══════════════════════════════════════════════
   3. SIDEBAR & NAV LINKS
   ═══════════════════════════════════════════════ */
.sidebar {
    background: #07060a !important;
    border-right-color: rgba(246, 241, 234, 0.08) !important;
}

.nav-link {
    color: #a8a096 !important;
}
.nav-link:hover {
    background: rgba(246, 241, 234, 0.06) !important;
    color: #f6f1ea !important;
}
.nav-link.active {
    background: rgba(246, 241, 234, 0.1) !important;
    color: #ff7a45 !important;
    border-left-color: #ff7a45 !important;
    box-shadow: inset 3px 0 0 #ff7a45 !important;
}
.nav-link.active::before {
    background: #ff7a45 !important;
    box-shadow: 0 0 12px rgba(246, 241, 234, 0.6) !important;
}

/* ═══════════════════════════════════════════════
   4. BUTTONS — btn-ewa, Bootstrap, Tailwind
   ═══════════════════════════════════════════════ */

/* Ana gold gradient buton */
.btn-ewa,
[class*="btn-ewa"]:not(.btn-ewa-outline):not(.btn-ewa-gold) {
    background: linear-gradient(135deg, #ff7a45 0%, #ffd9a0 50%, #ff7a45 100%) !important;
    background-size: 200% auto !important;
    color: #07060a !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
}
.btn-ewa:hover,
[class*="btn-ewa"]:not(.btn-ewa-outline):not(.btn-ewa-gold):hover {
    box-shadow: 0 4px 20px rgba(246, 241, 234, 0.45) !important;
    transform: translateY(-1px) !important;
}
.btn-ewa:active {
    transform: translateY(0) !important;
    box-shadow: 0 0 12px rgba(246, 241, 234, 0.3) !important;
}

/* Outline gold */
.btn-ewa-outline {
    border: 1px solid rgba(246, 241, 234, 0.35) !important;
    color: #ff7a45 !important;
    background: transparent !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
}
.btn-ewa-outline:hover {
    background: rgba(246, 241, 234, 0.08) !important;
    border-color: #ff7a45 !important;
    box-shadow: 0 0 14px rgba(246, 241, 234, 0.2) !important;
}

/* Buy button (shimmer gold) */
.btn-buy, .buy-item-btn {
    background: linear-gradient(90deg,
        #c75a2e 0%, #ff7a45 30%, #ffd9a0 50%, #ff7a45 70%, #c75a2e 100%) !important;
    background-size: 200% auto !important;
    color: #07060a !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    animation: ewa-shimmer 2.8s linear infinite !important;
}
.btn-buy:hover, .buy-item-btn:hover {
    filter: brightness(1.15) !important;
    box-shadow: none !important;
}

@keyframes ewa-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

/* Bootstrap btn-primary → gold */
.btn-primary {
    background: linear-gradient(135deg, #ff7a45 0%, #ffd9a0 100%) !important;
    border-color: #ff7a45 !important;
    color: #07060a !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, #ffb24d 0%, #ffd9a0 100%) !important;
    border-color: #ffb24d !important;
    box-shadow: 0 4px 16px rgba(246, 241, 234, 0.35) !important;
    color: #07060a !important;
}

/* Bootstrap btn-info → gold outline */
.btn-info {
    background: rgba(246, 241, 234, 0.1) !important;
    border-color: rgba(246, 241, 234, 0.4) !important;
    color: #ff7a45 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
    background: rgba(246, 241, 234, 0.2) !important;
    border-color: #ff7a45 !important;
    color: #ffd9a0 !important;
    box-shadow: 0 4px 16px rgba(246, 241, 234, 0.25) !important;
}

/* Bootstrap btn-success → gold */
.btn-success {
    background: linear-gradient(135deg, #ff7a45, #ffb24d) !important;
    border-color: #ff7a45 !important;
    color: #07060a !important;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
    background: linear-gradient(135deg, #ffb24d, #c75a2e) !important;
    border-color: #ffb24d !important;
    box-shadow: 0 4px 16px rgba(246, 241, 234, 0.35) !important;
    color: #07060a !important;
}

/* Bootstrap btn-secondary → gold dim */
.btn-secondary {
    background: rgba(246, 241, 234, 0.07) !important;
    border-color: rgba(246, 241, 234, 0.2) !important;
    color: #a8a096 !important;
}
.btn-secondary:hover {
    background: rgba(246, 241, 234, 0.12) !important;
    border-color: rgba(246, 241, 234, 0.4) !important;
    color: #ff7a45 !important;
}

/* Tailwind green/blue buttons → gold */
.bg-green-500, .bg-green-600, .bg-green-400,
.bg-emerald-500, .bg-emerald-600,
.bg-blue-500, .bg-blue-600, .bg-blue-400,
.bg-cyan-500, .bg-cyan-400 {
    background-color: #ff7a45 !important;
    color: #07060a !important;
}
.hover\:bg-green-600:hover, .hover\:bg-green-500:hover,
.hover\:bg-blue-600:hover, .hover\:bg-blue-500:hover {
    background-color: #ffb24d !important;
}

/* ═══════════════════════════════════════════════
   5. BORDERS — panel cards, tables, inputs
   ═══════════════════════════════════════════════ */
.panel-card,
.stat-card,
.glass-card,
.ewa-table th,
.ewa-table td,
.ewa-input {
    border-color: rgba(246, 241, 234, 0.12) !important;
}
.ewa-input:focus {
    border-color: #ff7a45 !important;
    box-shadow: 0 0 0 3px rgba(246, 241, 234, 0.1) !important;
}

.border-green-500, .border-green-400, .border-green-600,
.border-blue-500, .border-blue-400, .border-cyan-500 {
    border-color: rgba(246, 241, 234, 0.35) !important;
}

/* ═══════════════════════════════════════════════
   6. TEXT COLORS
   ═══════════════════════════════════════════════ */
.text-green-400, .text-green-500, .text-green-600,
.text-emerald-400, .text-emerald-500,
.text-blue-400, .text-blue-500, .text-cyan-400 {
    color: #ff7a45 !important;
}
.text-green-300 { color: #ffd9a0 !important; }

.stat-value { color: #ff7a45 !important; }

/* ═══════════════════════════════════════════════
   7. BADGES
   ═══════════════════════════════════════════════ */
.badge-green {
    background: rgba(246, 241, 234, 0.12) !important;
    color: #ff7a45 !important;
    border: 1px solid rgba(246, 241, 234, 0.2) !important;
}

.badge-light-success,
.badge-success {
    background-color: rgba(246, 241, 234, 0.12) !important;
    color: #ff7a45 !important;
}
.text-success { color: #ff7a45 !important; }
.bg-success   { background-color: #ff7a45 !important; color: #07060a !important; }

/* ═══════════════════════════════════════════════
   8. PANEL CARDS & SURFACES
   ═══════════════════════════════════════════════ */
.panel-card {
    background: rgba(8, 11, 20, 0.92) !important;
    border-color: rgba(246, 241, 234, 0.12) !important;
}
.stat-card {
    background: rgba(8, 11, 20, 0.85) !important;
}

/* ═══════════════════════════════════════════════
   9. TABLES
   ═══════════════════════════════════════════════ */
.ewa-table th {
    color: #a8a096 !important;
    background: rgba(246, 241, 234, 0.03) !important;
    border-bottom-color: rgba(246, 241, 234, 0.12) !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
}
.ewa-table td {
    border-bottom-color: rgba(246, 241, 234, 0.06) !important;
    color: #f6f1ea !important;
}
.ewa-table tr:hover td {
    background: rgba(246, 241, 234, 0.03) !important;
}

/* ═══════════════════════════════════════════════
   10. INPUTS
   ═══════════════════════════════════════════════ */
.ewa-input {
    background: rgba(8, 8, 16, 0.8) !important;
    border-color: rgba(246, 241, 234, 0.15) !important;
    color: #f6f1ea !important;
}
.ewa-input::placeholder { color: #6a635b !important; }

/* ═══════════════════════════════════════════════
   11. ONLINE STATUS DOTS
   ═══════════════════════════════════════════════ */
.online-dot,
.status-dot,
.status-online,
[class*="online-indicator"],
[class*="status-green"] {
    background: #ff7a45 !important;
    box-shadow: 0 0 8px rgba(246, 241, 234, 0.7) !important;
}

/* ═══════════════════════════════════════════════
   12. SHOP — kategori tab, buy butonu
   ═══════════════════════════════════════════════ */
.category-tab {
    background: rgba(8, 11, 20, 0.92) !important;
    border-color: rgba(246, 241, 234, 0.12) !important;
    color: #a8a096 !important;
}
.category-tab:hover {
    border-color: rgba(246, 241, 234, 0.35) !important;
    color: #f6f1ea !important;
}
.category-tab.active,
.category-tab.active-cat {
    background: rgba(246, 241, 234, 0.08) !important;
    border-color: rgba(246, 241, 234, 0.55) !important;
    color: #ff7a45 !important;
    box-shadow: none !important;
}

.cat-tab         { border-color: rgba(246, 241, 234, 0.12) !important; color: #a8a096 !important; }
.cat-tab:hover   { border-color: rgba(246, 241, 234, 0.35) !important; color: #f6f1ea !important; }
.cat-tab.active  {
    background: rgba(246, 241, 234, 0.06) !important;
    border-color: rgba(246, 241, 234, 0.55) !important;
    color: #ff7a45 !important;
}

/* ═══════════════════════════════════════════════
   13. MARKETPLACE
   ═══════════════════════════════════════════════ */
.listing-card {
    background: rgba(8, 11, 20, 0.92) !important;
    border-color: rgba(246, 241, 234, 0.12) !important;
}
.listing-card:hover {
    border-color: rgba(246, 241, 234, 0.3) !important;
}

/* ═══════════════════════════════════════════════
   14. FORUM
   ═══════════════════════════════════════════════ */
.thread-block-header,
.forum-cat-header {
    background: rgba(246, 241, 234, 0.04) !important;
    border-bottom-color: rgba(246, 241, 234, 0.12) !important;
}
.tab-btn.active {
    background: rgba(246, 241, 234, 0.12) !important;
    border-color: #ff7a45 !important;
    color: #ff7a45 !important;
}

/* ═══════════════════════════════════════════════
   15. AUTH PAGES
   ═══════════════════════════════════════════════ */
.auth-steps h2 span,
.auth-accent { color: #ff7a45 !important; }

/* ═══════════════════════════════════════════════
   16. ATTENDANCE / CALENDAR
   ═══════════════════════════════════════════════ */
.day-reward-icon  { color: #ff7a45 !important; }
.streak-badge     { border-color: rgba(246, 241, 234, 0.3) !important; }

/* ═══════════════════════════════════════════════
   17. TOASTR
   ═══════════════════════════════════════════════ */
.toast-success {
    background-color: rgba(8, 11, 20, 0.95) !important;
    border-left: 4px solid #ff7a45 !important;
}
.toast-success .toast-title,
.toast-success .toast-message { color: #f6f1ea !important; }

/* ═══════════════════════════════════════════════
   18. TAILWIND UTILITY OVERRIDES
   ═══════════════════════════════════════════════ */
.text-green-300 { color: #ffd9a0 !important; }
.text-green-400 { color: #ff7a45 !important; }
.text-green-500 { color: #ffb24d !important; }
.text-green-600 { color: #ffb24d !important; }

.bg-green-100 { background-color: rgba(246, 241, 234, 0.07) !important; }
.bg-green-200 { background-color: rgba(246, 241, 234, 0.1)  !important; }
.bg-green-300 { background-color: rgba(246, 241, 234, 0.15) !important; }
.bg-green-400 { background-color: rgba(246, 241, 234, 0.25) !important; }
.bg-green-500 { background-color: #ff7a45 !important; color: #07060a !important; }
.bg-green-600 { background-color: #ffb24d !important; color: #07060a !important; }

.border-green-300 { border-color: rgba(246, 241, 234, 0.25) !important; }
.border-green-400 { border-color: rgba(246, 241, 234, 0.35) !important; }
.border-green-500 { border-color: #ff7a45 !important; }

.ring-green-400, .ring-green-500 { --tw-ring-color: rgba(246, 241, 234, 0.4) !important; }

.text-emerald-400  { color: #ff7a45 !important; }
.text-emerald-500  { color: #ffb24d !important; }
.bg-emerald-500    { background-color: #ff7a45 !important; }
.border-emerald-500 { border-color: #ff7a45 !important; }

/* ═══════════════════════════════════════════════
   19. ACCENT & FOCUS
   ═══════════════════════════════════════════════ */
* { accent-color: #ff7a45; }

*:focus-visible {
    outline-color: #ff7a45 !important;
}

::selection {
    background: rgba(246, 241, 234, 0.2);
    color: #f6f1ea;
}

/* ═══════════════════════════════════════════════
   20. BUTTON SHIMMER EFFECT
   ═══════════════════════════════════════════════ */
.btn-ewa,
.btn-rift,
button.btn-ewa,
a.btn-ewa,
a.btn-rift {
    position: relative !important;
    overflow: hidden !important;
}

.btn-ewa::after,
.btn-rift::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.btn-ewa:hover::after,
.btn-rift:hover::after {
    left: 100%;
}

/* btn-rift → gold (was blue #00d2ff) */
.btn-rift,
a.btn-rift {
    background: linear-gradient(135deg, #ff7a45 0%, #ffd9a0 50%, #ff7a45 100%) !important;
    background-size: 200% auto !important;
    color: #07060a !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    animation: ewa-shimmer 2.8s linear infinite !important;
}
.btn-rift:hover,
a.btn-rift:hover {
    box-shadow: 0 0 26px rgba(246, 241, 234, 0.5),
                0 8px 30px rgba(154, 125, 56, 0.35) !important;
    color: #07060a !important;
}

/* ═══════════════════════════════════════════════
   21. NAV LINK UNDERLINE & HOVER (newMaster blue → gold)
   ═══════════════════════════════════════════════ */
.nav-link::after {
    background: #ff7a45 !important;
}

/* Tailwind hover:text-ewa-accent is blue in newMaster config → override */
.nav-blur .nav-link:hover {
    color: #ff7a45 !important;
}

/* Language dropdown buttons */
.language-dropdown button:hover {
    color: #ff7a45 !important;
}

/* glow-text blue gradient → gold */
.glow-text {
    background: linear-gradient(135deg, #ff7a45, #ffd9a0) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}


/* ═══════════════════════════════════════════════
   22. SHIMMER TITLE — sayfa & bölüm başlıkları
   ═══════════════════════════════════════════════ */
.shimmer-title {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.shimmer-title::before,
.shimmer-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 240, 180, 0.35) 50%,
        transparent 100%
    );
    animation: shimmer-sweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.shimmer-title::after {
    animation-delay: 1.5s;
    opacity: 0.55;
}

@keyframes shimmer-sweep {
    0%   { left: -80%; }
    100% { left: 160%; }
}

/* ═══════════════════════════════════════════════
   23. PREMIUM EFFECTS — Cards, Ripple, Glow, Lightning
   ═══════════════════════════════════════════════ */

/* — Kart Hover Shimmer (utility class) —
   Blade'de card div'ine ewa-shimmer-card ekle → hover'da ışık kayar */
.ewa-shimmer-card {
    position: relative;
    overflow: hidden;
}
.ewa-shimmer-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 35%; height: 200%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(246, 241, 234, 0.07) 45%,
        rgba(232, 201, 109, 0.12) 50%,
        rgba(246, 241, 234, 0.07) 55%,
        transparent 80%
    );
    transform: skewX(-15deg);
    transition: left 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1;
}
.ewa-shimmer-card:hover::before {
    left: 135%;
}

/* — Mevcut panel/stat kartlarına da otomatik sweep — */
.panel-card,
.stat-card,
.glass-card,
.listing-card,
.settings-card,
.riftshade-card {
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.panel-card::before,
.stat-card::before,
.glass-card::before,
.listing-card::before,
.settings-card::before,
.riftshade-card::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 40%; height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(246, 241, 234, 0.05) 50%,
        transparent
    );
    transition: left 0.65s ease;
    pointer-events: none;
    z-index: 1;
}
.panel-card:hover::before,
.stat-card:hover::before,
.glass-card:hover::before,
.listing-card:hover::before,
.settings-card:hover::before,
.riftshade-card:hover::before {
    left: 140%;
}

/* Kart hover'da hafif border parlaması */
.panel-card:hover,
.stat-card:hover,
.glass-card:hover {
    border-color: rgba(246, 241, 234, 0.28) !important;
    box-shadow: 0 0 18px rgba(246, 241, 234, 0.06) !important;
}

/* — Stat Value Glow — */
.stat-card .stat-value,
[class*="stat"] .stat-value {
    text-shadow: 0 0 10px rgba(246, 241, 234, 0.4) !important;
    transition: text-shadow 0.3s ease !important;
}
.stat-card:hover .stat-value {
    text-shadow: 0 0 20px rgba(246, 241, 234, 0.8), 0 0 40px rgba(246, 241, 234, 0.35) !important;
}

/* — Glow Pulse (utility: sayı/badge üzerine ekle) — */
.ewa-glow-pulse {
    animation: ewa-glow-pulse 2.5s ease-in-out infinite;
}
@keyframes ewa-glow-pulse {
    0%, 100% { text-shadow: 0 0 8px rgba(246, 241, 234, 0.35); }
    50%       { text-shadow: 0 0 18px rgba(246, 241, 234, 0.75), 0 0 40px rgba(246, 241, 234, 0.3); }
}

/* Border glow pulse (utility: önemli kart/widget'a ekle) */
.ewa-border-pulse {
    animation: ewa-border-pulse 3s ease-in-out infinite;
}
@keyframes ewa-border-pulse {
    0%, 100% { box-shadow: 0 0 0px rgba(246, 241, 234, 0); border-color: rgba(246, 241, 234, 0.15) !important; }
    50%       { box-shadow: 0 0 22px rgba(246, 241, 234, 0.12); border-color: rgba(246, 241, 234, 0.45) !important; }
}

/* — Button Ripple (click) —
   Mevcut ::after hover sweep'i koruyarak ::before'a ripple ekliyoruz */
.btn-ewa,
.btn-rift,
.btn-primary,
.btn-warning,
.btn-buy,
.buy-item-btn {
    position: relative;
    overflow: hidden;
}
.btn-ewa::before,
.btn-rift::before,
.btn-primary::before,
.btn-warning::before,
.btn-buy::before,
.buy-item-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.22) 0%,
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 2;
}
.btn-ewa:active::before,
.btn-rift:active::before,
.btn-primary:active::before,
.btn-warning:active::before,
.btn-buy:active::before,
.buy-item-btn:active::before {
    opacity: 1;
    transition: opacity 0.05s ease;
}

/* — Lightning Flash (utility: bölüm başlıklarına/stat bloklara ekle) — */
.ewa-lightning {
    position: relative;
    overflow: hidden;
}
.ewa-lightning::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(232, 201, 109, 0.15) 50%,
        transparent 100%
    );
    animation: ewa-lightning-flash 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes ewa-lightning-flash {
    0%, 80%, 100% { opacity: 0; transform: scaleX(0.5); }
    83%            { opacity: 1; transform: scaleX(1); }
    85%            { opacity: 0; }
    87%            { opacity: 0.7; transform: scaleX(0.8); }
    89%            { opacity: 0; }
}

/* — Floating Gold Particles (utility: hero/banner section'a ekle) — */
.ewa-particles {
    position: relative;
}
.ewa-particles::before,
.ewa-particles::after {
    content: '';
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: transparent;
    box-shadow:
        /* scattered gold sparkles — random positions */
         10px  -18px 2px rgba(246, 241, 234, 0.7),
        -15px  -38px 1px rgba(232, 201, 109, 0.5),
         28px  -52px 2px rgba(246, 241, 234, 0.6),
        -22px  -65px 1px rgba(248, 216, 120, 0.4),
         45px  -28px 2px rgba(246, 241, 234, 0.5),
         65px  -48px 1px rgba(154, 125, 56, 0.5),
        -42px  -32px 2px rgba(246, 241, 234, 0.6),
         85px  -15px 1px rgba(232, 201, 109, 0.4),
        -62px  -22px 2px rgba(246, 241, 234, 0.5),
        105px  -58px 1px rgba(246, 241, 234, 0.4),
         52px  -72px 2px rgba(232, 201, 109, 0.5),
        -80px  -45px 1px rgba(246, 241, 234, 0.4),
         32px   -8px 2px rgba(248, 216, 120, 0.3),
        -55px  -80px 1px rgba(246, 241, 234, 0.6),
        120px  -35px 2px rgba(232, 201, 109, 0.3);
    animation: ewa-float-particles 7s linear infinite;
    pointer-events: none;
    z-index: 0;
    top: 80%; left: 50%;
}
.ewa-particles::after {
    animation-delay: -3.5s;
    opacity: 0.55;
    box-shadow:
        -20px  -25px 1px rgba(246, 241, 234, 0.5),
         38px  -42px 2px rgba(232, 201, 109, 0.6),
        -48px  -58px 1px rgba(246, 241, 234, 0.4),
         72px  -32px 2px rgba(248, 216, 120, 0.5),
        -35px  -72px 1px rgba(246, 241, 234, 0.6),
         55px  -68px 2px rgba(154, 125, 56, 0.4),
        -90px  -18px 1px rgba(246, 241, 234, 0.3),
         95px  -55px 2px rgba(232, 201, 109, 0.5),
         18px  -88px 1px rgba(246, 241, 234, 0.4);
}
@keyframes ewa-float-particles {
    0%   { transform: translateY(0)    scale(1);   opacity: 0.9; }
    60%  { transform: translateY(-55px) scale(0.6); opacity: 0.4; }
    100% { transform: translateY(-90px) scale(0.2); opacity: 0;   }
}

/* — Enhanced Input Focus — */
.ewa-input:focus,
.settings-input:focus {
    box-shadow: 0 0 0 2px rgba(246, 241, 234, 0.12),
                0 0 18px rgba(246, 241, 234, 0.08) !important;
}

/* — Smooth transition varsayılanları — */
.btn,
button,
.card,
.panel-card,
.stat-card,
.nav-link,
.listing-card {
    transition-duration: 0.2s !important;
    transition-timing-function: ease !important;
}

/* ═══════════════════════════════════════════════
   24. GLOBAL READABILITY OVERRIDES
   ═══════════════════════════════════════════════ */

/* — Body text — */
body, p, span, div, li, td, th, label, input, textarea, select, a {
    opacity: 1 !important;
}
body {
    font-weight: 400 !important;
}
p, span:not([class*="path"]), li, .fw-normal, [style*="font-weight: 400"], [style*="font-weight:400"] {
    font-weight: 500 !important;
}

/* — Headings — */
h1, .h1 {
    color: #ffffff !important;
    font-weight: 700 !important;
}
h2, .h2 {
    color: #e8dfc8 !important;
    font-weight: 600 !important;
}
h3, .h3 {
    color: #f6f1ea !important;
    font-weight: 500 !important;
}
h4, .h4 { color: #f6f1ea !important; }
h5, .h5 { color: #f6f1ea !important; }
h6, .h6 { color: #f6f1ea !important; }

/* — Metronic text utilities — */
.text-gray-900 { color: #e8dfc8 !important; }
.text-gray-800 { color: #f6f1ea !important; }
.text-gray-700 { color: #c8bda0 !important; }
.text-gray-600 { color: #b8ae90 !important; }
.text-gray-500 { color: rgba(212,201,168,0.7) !important; }
.text-gray-400 { color: rgba(212,201,168,0.6) !important; }
.text-muted     { color: rgba(212,201,168,0.65) !important; }

/* — Sidebar (Metronic) — */
.menu-link .menu-title {
    color: #e8dfc8 !important;
    font-weight: 500 !important;
}
.menu-link:hover .menu-title {
    color: #ff7a45 !important;
}
.menu-link.active .menu-title,
.menu-item.here > .menu-link .menu-title {
    color: #ff7a45 !important;
    font-weight: 600 !important;
}
.menu-section .menu-section-text,
.menu-content,
[data-kt-menu-section] {
    color: rgba(246,241,234,0.65) !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
}
.menu-icon i { color: rgba(212,201,168,0.55) !important; }
.menu-link.active .menu-icon i,
.menu-item.here > .menu-link .menu-icon i { color: #ff7a45 !important; }

/* — Sidebar (user panel custom) — */
.sidebar-nav a {
    color: #e8dfc8 !important;
    font-weight: 500 !important;
}
.sidebar-nav a:hover { color: #ff7a45 !important; }
.sidebar-nav a.active,
.sidebar-nav a[class*="active"] {
    color: #ff7a45 !important;
    font-weight: 600 !important;
}
.sidebar-section-label,
.nav-section-title {
    color: rgba(246,241,234,0.6) !important;
    font-weight: 600 !important;
}

/* — Stat Cards — */
.fs-2x, .fs-2, .fs-1,
.counted,
.stat-value,
.tw-balance-num,
[class*="balance-num"],
[class*="stat-num"] {
    color: #ff7a45 !important;
    font-weight: 700 !important;
}
.fw-semibold.fs-6.text-gray-500,
.stat-label,
.tw-balance-label,
[class*="balance-label"],
[class*="stat-label"] {
    color: rgba(212,201,168,0.8) !important;
}

/* — Tables (Metronic & custom) — */
.table > thead > tr > th,
.table thead th,
th {
    color: rgba(246,241,234,0.75) !important;
    font-weight: 600 !important;
}
.table > tbody > tr > td,
.table tbody td,
td {
    color: #f6f1ea !important;
}
.table .text-muted,
td.text-muted, td span.text-muted,
.fs-7.text-muted, .fs-8.text-muted {
    color: rgba(212,201,168,0.65) !important;
}

/* — Cards (Metronic) — */
.card-title, .card-title .fw-bold, .card-title .fw-semibold {
    color: #e8dfc8 !important;
    font-weight: 600 !important;
}
.card-text, .card-body p, .card-body small {
    color: rgba(212,201,168,0.75) !important;
}
.card-header .text-muted {
    color: rgba(212,201,168,0.65) !important;
}

/* — Badges — */
.badge {
    font-weight: 600 !important;
}
.badge-light-success { color: #4ade80 !important; background: rgba(74,222,128,.1) !important; }
.badge-light-danger  { color: #f87171 !important; background: rgba(248,113,113,.1) !important; }
.badge-light-warning { color: #ffd9a0 !important; background: rgba(232,208,126,.1) !important; }
.badge-light-primary { color: #93c5fd !important; background: rgba(147,197,253,.1) !important; }
.badge-light-info    { color: #67e8f9 !important; background: rgba(103,232,249,.1) !important; }

/* — Form elements — */
label, .form-label, .col-form-label {
    color: #f6f1ea !important;
    font-weight: 500 !important;
}
.form-control, .form-select,
.form-control-solid, .form-select-solid {
    color: #e8dfc8 !important;
}
.form-control::placeholder,
.form-control-solid::placeholder,
input::placeholder, textarea::placeholder {
    color: rgba(212,201,168,0.4) !important;
}
.form-text, .form-helper, .text-muted.fs-7 {
    color: rgba(212,201,168,0.6) !important;
}

/* — Buttons — */
.btn-primary, .btn-success, .btn-ewa, .btn-rift, .btn-buy, .buy-item-btn {
    color: #07060a !important;
    font-weight: 700 !important;
}
.btn-secondary, .btn-light {
    color: #f6f1ea !important;
    font-weight: 500 !important;
}
.btn-danger  { font-weight: 600 !important; }
.btn-warning { color: #07060a !important; font-weight: 700 !important; }

/* — Navbar (public/home) — */
.nav-blur .nav-link,
nav a.nav-link,
.navbar-nav .nav-link {
    color: rgba(212,201,168,0.75) !important;
    font-weight: 500 !important;
}
.nav-blur .nav-link:hover,
nav a.nav-link:hover,
.navbar-nav .nav-link:hover {
    color: #ff7a45 !important;
}
.logo-text, .navbar-brand, .site-name {
    color: #ff7a45 !important;
    font-weight: 700 !important;
}

/* — Footer — */
footer, .footer, .site-footer {
    color: rgba(212,201,168,0.55) !important;
}
footer a, .footer a, .site-footer a {
    color: rgba(212,201,168,0.55) !important;
}
footer a:hover, .footer a:hover, .site-footer a:hover {
    color: #ff7a45 !important;
}

/* — Faction badges — */
.faction-elyos, .race-elyos, [class*="elyos"],
.tw-pvp-elyos {
    color: #ffd9a0 !important;
    font-weight: 600 !important;
}
.faction-asmodian, .race-asmodian, [class*="asmodian"],
.tw-pvp-asmo {
    color: #b87aff !important;
    font-weight: 600 !important;
}

/* — Status indicators — */
.status-online, .badge-online,
[class*="online"]:not([class*="player"]):not(#onlineCount):not(#totalOnline),
.text-success:not(.btn) {
    color: #4ade80 !important;
    font-weight: 600 !important;
}
.text-danger:not(.btn), .text-error { color: #f87171 !important; }
.fw-bold.text-danger { color: #f87171 !important; }
.fw-bold.text-success:not(.btn) { color: #4ade80 !important; }

/* — Code / pre — */
code { color: #ffd9a0 !important; background: rgba(246,241,234,.08) !important; }

/* — Alert boxes — */
.alert-info    { color: #f6f1ea !important; background: rgba(246,241,234,.06) !important; border-color: rgba(246,241,234,.2) !important; }
.alert-success { color: #4ade80 !important; background: rgba(74,222,128,.06) !important; border-color: rgba(74,222,128,.2) !important; }
.alert-danger  { color: #f87171 !important; background: rgba(248,113,113,.06) !important; border-color: rgba(248,113,113,.2) !important; }
.alert-warning { color: #ffd9a0 !important; background: rgba(251,191,36,.06) !important; border-color: rgba(251,191,36,.2) !important; }

/* ═══════════════════════════════════════════════
   25. TYPOGRAPHY & CONTRAST BOOST
   ═══════════════════════════════════════════════ */

/* — Headings: text-shadow glow — */
h1, .h1 { text-shadow: 0 0 24px rgba(246,241,234,0.25), 0 2px 8px rgba(0,0,0,0.6) !important; letter-spacing: 0.02em !important; }
h2, .h2 { text-shadow: 0 0 16px rgba(246,241,234,0.18), 0 1px 6px rgba(0,0,0,0.5) !important; letter-spacing: 0.01em !important; }
h3, .h3, h4, .h4, h5, .h5 { text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important; }

/* — Contrast boost: muted/gray text — */
.text-muted { color: rgba(212,201,168,0.82) !important; }
.text-gray-400 { color: rgba(212,201,168,0.75) !important; }
.text-gray-500 { color: rgba(212,201,168,0.82) !important; }
.text-gray-600 { color: #c0b898 !important; }
.text-gray-700 { color: #d0c5a8 !important; }

/* — Placeholder brighter — */
.form-control::placeholder,
.form-control-solid::placeholder,
input::placeholder, textarea::placeholder {
    color: rgba(212,201,168,0.55) !important;
}

/* — Navbar links brighter — */
.nav-blur .nav-link,
nav a.nav-link,
.navbar-nav .nav-link {
    color: rgba(212,201,168,0.90) !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
}

/* — Sidebar (Metronic manager) — */
.menu-link .menu-title {
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #ede5cf !important;
}
.menu-icon i { color: rgba(212,201,168,0.75) !important; }
.menu-link:hover .menu-icon i { color: #ff7a45 !important; }

/* — Sidebar (user panel) — */
.sidebar-nav a {
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #ede5cf !important;
}
.sidebar-section-label, .nav-section-title {
    color: rgba(246,241,234,0.75) !important;
    letter-spacing: 0.12em !important;
}

/* — Shop: kategori tabları — */
.category-tab, .cat-tab {
    color: #c0b898 !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
}
.category-tab:hover, .cat-tab:hover {
    color: #e8dfc8 !important;
}
.category-tab.active, .category-tab.active-cat,
.cat-tab.active {
    color: #ffd9a0 !important;
    font-weight: 700 !important;
}

/* — Shop başlığı — */
.shop-title, [class*="shop-heading"], [class*="page-title"] h1 {
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-shadow: 0 0 30px rgba(246,241,234,0.3), 0 2px 8px rgba(0,0,0,0.6) !important;
}

/* — Table headers — */
.table > thead > tr > th,
.table thead th, th {
    color: rgba(246,241,234,0.88) !important;
    letter-spacing: 0.05em !important;
}

/* — Card title stronger — */
.card-title, .card-title .fw-bold, .card-title .fw-semibold {
    color: #f0e8d0 !important;
    font-weight: 700 !important;
}

/* — Footer brighter — */
footer, .footer, .site-footer { color: rgba(212,201,168,0.70) !important; }
footer a, .footer a, .site-footer a { color: rgba(212,201,168,0.70) !important; }

/* — Stat labels — */
.stat-label, .tw-balance-label,
[class*="balance-label"], [class*="stat-label"] {
    color: rgba(212,201,168,0.88) !important;
    font-weight: 500 !important;
}

/* ═══════════════════════════════════════════════
   26. COMPACT HEIGHT — 17"/19" monitors (≤860px yükseklik)
   ═══════════════════════════════════════════════ */
@media (max-height: 860px) {

    /* Content wrapper */
    .content-wrap { padding-top: 14px !important; padding-bottom: 14px !important; }

    /* Sidebar daha kompakt */
    .sidebar-logo    { padding: 12px 18px 10px !important; }
    .sidebar-user    { padding: 8px 16px !important; gap: 7px !important; }
    .sidebar-avatar  { width: 32px !important; height: 32px !important; font-size: 13px !important; }
    .sidebar-coins-row { padding: 4px 10px !important; font-size: 11px !important; }
    .nav-link        { padding: 7px 14px !important; }
    .nav-section     { padding: 8px 18px 3px !important; }

    /* Welcome banner */
    .welcome-banner  { padding: 16px 22px !important; margin-bottom: 14px !important; }
    .welcome-name    { font-size: 20px !important; }
    .welcome-eyebrow { margin-bottom: 4px !important; }
    .welcome-sub     { margin-top: 4px !important; font-size: 10px !important; }

    /* Stat kartlar */
    .stat-card  { padding: 13px 14px !important; }
    .stat-value { font-size: 22px !important; }
    .stat-label { margin-top: 3px !important; }
    .stat-icon  { font-size: 22px !important; }

    /* Quick link kartlar */
    .quick-link      { padding: 12px 8px !important; }
    .quick-link-icon { width: 38px !important; height: 38px !important; font-size: 15px !important; }
    .quick-link-label { font-size: 8px !important; }

    /* Section başlık satırı */
    .section-header-row { margin-bottom: 10px !important; }
    .section-eyebrow-title { font-size: 12px !important; }

    /* Karakter kartlar */
    .char-banner  { padding: 12px 14px 10px !important; }
    .char-stats   { padding: 10px 14px !important; gap: 8px !important; }
    .char-footer  { padding: 8px 14px 10px !important; }
    .char-level   { font-size: 20px !important; }
    .char-name    { font-size: 13px !important; }

    /* Sık tekrar eden inline margin-bottom değerleri */
    [style*="margin-bottom:30px"], [style*="margin-bottom: 30px"] { margin-bottom: 14px !important; }
    [style*="margin-bottom:34px"], [style*="margin-bottom: 34px"] { margin-bottom: 16px !important; }
    [style*="margin-bottom:38px"], [style*="margin-bottom: 38px"] { margin-bottom: 18px !important; }
    [style*="margin-bottom:28px"], [style*="margin-bottom: 28px"] { margin-bottom: 12px !important; }
    [style*="margin-bottom:24px"], [style*="margin-bottom: 24px"] { margin-bottom: 10px !important; }
    [style*="margin-bottom:20px"], [style*="margin-bottom: 20px"] { margin-bottom: 10px !important; }

    /* Sık tekrar eden inline padding değerleri */
    [style*="padding:22px 28px"],  [style*="padding: 22px 28px"]  { padding: 14px 18px !important; }
    [style*="padding:28px"],       [style*="padding: 28px"]        { padding: 14px !important; }
    [style*="padding:24px"],       [style*="padding: 24px"]        { padding: 12px !important; }
}

@media (max-height: 720px) {
    .content-wrap   { padding-top: 10px !important; padding-bottom: 10px !important; }
    .welcome-banner { padding: 12px 18px !important; margin-bottom: 10px !important; }
    .welcome-name   { font-size: 17px !important; }
    .stat-card      { padding: 10px 12px !important; }
    .stat-value     { font-size: 19px !important; }
    .quick-link     { padding: 10px 6px !important; }
    .quick-link-icon { width: 32px !important; height: 32px !important; font-size: 13px !important; }
    .nav-link       { padding: 6px 12px !important; font-size: 10px !important; }

    [style*="margin-bottom:30px"], [style*="margin-bottom: 30px"] { margin-bottom: 10px !important; }
    [style*="margin-bottom:34px"], [style*="margin-bottom: 34px"] { margin-bottom: 12px !important; }
    [style*="margin-bottom:38px"], [style*="margin-bottom: 38px"] { margin-bottom: 14px !important; }
}

/* ═══════════════════════════════════════════════
   27. NAVBAR TRANSPARENCY (view cache bypass)
   Body is solid dark; the fixed video background
   shows through the transparent navbar area (top 70px).
   ═══════════════════════════════════════════════ */
.ew-body {
    background: #07060a !important;
}

.ew-nav {
    background: rgba(3,5,13,0.15) !important;
    backdrop-filter: blur(32px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(32px) saturate(1.4) !important;
}

/* ════════════════════════════════════════════════════════════════
   B3 / ABYSS — global type + signature component reskin (appended)
   ════════════════════════════════════════════════════════════════ */
body, .ew-body, input, button, select, textarea {
    font-family: 'Inter', sans-serif !important;
}
h1, h2, h3, h4, .font-serif, .glow-text, .shimmer-title,
.ew-logo-main, .section-title, .page-title {
    font-family: 'Fraunces', serif !important;
    letter-spacing: -0.01em;
}

/* Titles: kill the mustard glow / shimmer, go clean Fraunces */
.glow-text, .shimmer-title {
    color: #f6f1ea !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
    font-weight: 300 !important;
}
.shimmer-title::before, .shimmer-title::after { display: none !important; }

/* Cards: dark hairline panels, ember on hover */
.riftshade-card {
    background: rgba(12,10,16,0.5) !important;
    border: 1px solid rgba(246,241,234,0.10) !important;
    box-shadow: none !important;
    transition: border-color .35s, background .35s, transform .35s !important;
}
.riftshade-card::before { display: none !important; }
.riftshade-card:hover {
    border-color: rgba(255,122,69,0.32) !important;
    background: rgba(20,14,18,0.6) !important;
}
.card-corner-cut { clip-path: none !important; border-radius: 6px !important; }

/* Buttons: outlined ember → fill on hover */
.btn-rift, .btn-ewa, .btn-primary, button.primary {
    background: transparent !important;
    border: 1px solid #ff7a45 !important;
    color: #f6f1ea !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: .3s !important;
}
.btn-rift::before, .btn-rift::after { display: none !important; }
.btn-rift:hover, .btn-ewa:hover, .btn-primary:hover, button.primary:hover {
    background: #ff7a45 !important;
    color: #07060a !important;
    box-shadow: 0 0 26px rgba(255,122,69,0.4) !important;
}

/* Feature/icon chips → hairline circle, ember glyph */
.feature-icon-bg {
    background: transparent !important;
    border: 1px solid rgba(246,241,234,0.12) !important;
    border-radius: 50% !important;
    clip-path: none !important;
}
.feature-icon-bg i, .feature-icon-bg svg { color: #ffb24d !important; }
.feature-number { color: #6a635b !important; font-family: 'Fraunces', serif !important; }

/* Links / accents that were mustard text */
a.text-ewa-accent, .text-ewa-accent { color: #ffb24d !important; }
a.text-ewa-accent:hover { color: #ff7a45 !important; }
