/* ==========================================
   İnova Hesap - Gaming Teması (gamesatis.com tarzı)
   ========================================== */

/* ===== CSS DEĞİŞKENLERİ ===== */
:root {
    /* Dark Tema (Varsayılan) */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #1c2333;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2940;
    --bg-header: #0d1117;
    --bg-input: #1c2333;
    
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    
    --accent-primary: #FF6B00;
    --accent-secondary: #00d4aa;
    --accent-warning: #ffd700;
    --accent-danger: #ef4444;
    --accent-info: #3b82f6;
    --accent-success: #10b981;
    --accent-purple: #8b5cf6;
    --accent-neon: #00ff88;
    
    --border-color: #21262d;
    --border-hover: #363b42;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --shadow-glow: rgba(255, 107, 0, 0.15);
    
    --gradient-primary: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    --gradient-secondary: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    --gradient-header: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-card: linear-gradient(145deg, #1a2332 0%, #1f2940 100%);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --transition: all 0.3s ease;
}

/* ===== LIGHT TEMA ===== */
[data-theme="light"] {
    --bg-primary: #f0f2f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;
    --bg-header: #ffffff;
    --bg-input: #f0f2f5;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-glow: rgba(255, 107, 0, 0.1);
    
    --gradient-header: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

/* ===== GENEL STILLER ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ff8533;
}

/* ===== ÜST BİLGİ BARI ===== */
.top-announcement {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ===== HEADER ===== */
.header-main {
    background: var(--bg-header) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-color) !important;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ===== NAVİGASYON MENÜSÜ ===== */
.nav-menu, .main-nav {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.nav-menu a, .main-nav a {
    color: var(--text-primary) !important;
    padding: 12px 18px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .main-nav a:hover,
.nav-menu a.active, .main-nav a.active {
    color: var(--accent-primary) !important;
    border-bottom-color: var(--accent-primary);
    background: rgba(255, 107, 0, 0.05);
}

/* ===== ARAMA ÇUBUĞU ===== */
.search-box, .search-container {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    flex: 1;
    max-width: 500px;
}

.search-box:focus-within, .search-container:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--shadow-glow);
}

.search-box input, .search-container input {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.search-box input::placeholder, .search-container input::placeholder {
    color: var(--text-muted);
}

/* ===== HERO BÖLÜMÜ ===== */
.hero-section, .hero, .banner {
    background: var(--gradient-hero) !important;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,107,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section h1, .hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-style: italic;
}

.hero-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 25px;
}

/* ===== İSTATİSTİK BARI ===== */
.stats-section, .stats-bar {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number, .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary) !important;
    display: block;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ===== KATEGORİ KARTLARI ===== */
.category-card, .game-category {
    background: var(--gradient-card) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card:hover, .game-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover::after {
    opacity: 1;
}

.category-card i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    display: block;
}

.category-card h3, .category-card .category-name {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===== ÜRÜN / İLAN KARTLARI ===== */
.product-card, .listing-card, .item-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover, .listing-card:hover, .item-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 35px var(--shadow-glow);
}

.product-card .card-image, .listing-card .card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.product-card .card-image img, .listing-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

/* Vitrin İlanı etiketi */
.featured-badge, .vitrin-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Satıcı bilgisi */
.seller-info, .seller-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-info);
    display: inline-block;
    margin: 8px 0;
}

/* Fiyat */
.product-price, .listing-price, .price {
    color: var(--accent-primary) !important;
    font-size: 1.2rem;
    font-weight: 800;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-right: 8px;
}

.discount-badge {
    background: var(--accent-danger);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.card-body, .card-content {
    padding: 15px;
}

.card-title {
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== BUTONLAR ===== */
.btn-primary, .btn-action {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover, .btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--gradient-secondary) !important;
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 10px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* ===== SECTION BAŞLIKLARI ===== */
.section-title, .section-heading {
    color: var(--text-primary) !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-primary);
}

/* ===== FOOTER ===== */
footer, .site-footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary) !important;
    padding: 40px 0 20px;
    margin-top: 50px;
}

footer h3, footer h4, .site-footer h3, .site-footer h4 {
    color: var(--text-primary) !important;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

footer a, .site-footer a {
    color: var(--text-secondary) !important;
    transition: var(--transition);
}

footer a:hover, .site-footer a:hover {
    color: var(--accent-primary) !important;
}

footer .copyright {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== GÜVENLİK / ÖZELLIK ÇUBUĞU ===== */
.features-bar, .trust-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.feature-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== FORM ELEMANLARI ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
textarea,
select {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
}

/* Form input override for login/register icons */
.form-input {
    padding-left: 2.5rem !important;
}


input:focus, textarea:focus, select:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px var(--shadow-glow);
    outline: none;
}

label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    font-size: 14px;
}

/* ===== DROPDOWN / MODAL ===== */
.dropdown-menu {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.dropdown-menu a {
    color: var(--text-primary) !important;
    padding: 10px 16px;
    display: block;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-primary) !important;
}

/* ===== OYUN MARKALARI BARI ===== */
.brands-bar, .games-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.brands-bar img, .games-bar img {
    height: 35px;
    margin: 0 20px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(30%);
}

.brands-bar img:hover, .games-bar img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
/* ===== VIEWPORT META ===== */
/* Ensure proper mobile viewport - add <meta name="viewport" content="width=device-width, initial-scale=1.0"> to head */

/* ===== RESPONSIVE - TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .header-main .container {
        padding: 0 15px;
    }
    
    .hero-section h1, .hero h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .card-grid, .product-grid, .listing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* ===== RESPONSIVE - MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* === Announcement Bar === */
    .announcement-bar, .top-announcement {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    /* === Header === */
    .header-main {
        padding: 8px 0 !important;
    }
    
    .header-main .container {
        padding: 0 12px;
        gap: 8px;
    }
    
    .header-main .container > div:first-child {
        gap: 6px !important;
    }
    
    .header-main .container > div:last-child {
        gap: 6px !important;
    }
    
    /* Logo */
    .logo-container {
        max-width: 120px;
    }
    
    .logo-container img, .logo-container svg {
        height: 28px !important;
        width: auto;
    }
    
    /* Header Buttons */
    .btn-login, .btn-register {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
    
    .icon-link {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }
    
    .menu-button {
        width: 34px !important;
        height: 34px !important;
    }
    
    /* === Hero Section === */
    .hero-section, .hero, .banner,
    section[class*="bg-gradient-to-r"][class*="from-indigo-900"] {
        padding: 35px 15px !important;
    }
    
    .hero-section h1, .hero h1,
    section[class*="bg-gradient-to-r"] h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px;
    }
    
    .hero-section p,
    section[class*="bg-gradient-to-r"] p {
        font-size: 0.9rem !important;
        margin-bottom: 20px;
    }
    
    /* Hero Buttons */
    .hero-section .flex, 
    section[class*="bg-gradient-to-r"] .flex.justify-center {
        flex-wrap: wrap;
        gap: 10px !important;
    }
    
    .hero-section a, .hero-section button,
    section[class*="bg-gradient-to-r"] a[class*="bg-"],
    section[class*="bg-gradient-to-r"] a[class*="border"] {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
    
    /* Hero Search */
    .hero-section form, 
    section[class*="bg-gradient-to-r"] form {
        max-width: 100% !important;
    }
    
    .hero-section form > div,
    section[class*="bg-gradient-to-r"] form > div {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-section form input,
    section[class*="bg-gradient-to-r"] form input[type="text"] {
        width: 100% !important;
        font-size: 14px;
    }
    
    .hero-section form button,
    section[class*="bg-gradient-to-r"] form button[type="submit"] {
        width: 100%;
    }
    
    /* === Trust Badges Bar === */
    .trust-badges-bar {
        padding: 15px 0 !important;
    }
    
    .trust-badges-bar .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .trust-badges-bar .flex {
        gap: 8px !important;
    }
    
    .trust-badges-bar .text-2xl,
    .trust-badges-bar .text-3xl {
        font-size: 1.3rem !important;
    }
    
    .trust-badges-bar h4,
    .trust-badges-bar .font-semibold {
        font-size: 0.8rem !important;
    }
    
    .trust-badges-bar p,
    .trust-badges-bar .text-sm {
        font-size: 0.7rem !important;
    }
    
    /* === Stats Section === */
    .stat-section {
        padding: 15px 0;
    }
    
    .stat-section .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
    }
    
    .stat-section .text-3xl,
    .stat-section .text-2xl {
        font-size: 1.3rem !important;
    }
    
    .stat-section .text-sm {
        font-size: 0.75rem !important;
    }
    
    /* === Category Cards === */
    .py-8 .grid[class*="grid-cols"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .category-card, .game-category,
    .py-8 a[class*="rounded"] {
        padding: 15px 10px !important;
    }
    
    .category-card i, 
    .py-8 a .text-3xl,
    .py-8 a .text-4xl {
        font-size: 1.5rem !important;
    }
    
    .category-card h3, .category-card .category-name,
    .py-8 a .text-sm {
        font-size: 0.75rem !important;
    }
    
    /* === Product/Listing Cards === */
    .card-grid, .product-grid, .listing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .card-title {
        font-size: 0.8rem;
    }
    
    .product-price, .listing-price, .price {
        font-size: 1rem;
    }
    
    /* === Section Titles === */
    .section-title, .section-heading,
    section h2 {
        font-size: 1.2rem !important;
        margin-bottom: 15px;
    }
    
    /* === Footer === */
    footer.footer, .site-footer {
        padding: 25px 0 15px !important;
    }
    
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    footer .container {
        padding: 0 15px !important;
    }
    
    footer .footer-bottom {
        padding: 10px 15px !important;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    /* === Side Menu === */
    .side-menu {
        width: 280px !important;
    }
    
    /* === Toast Notifications === */
    .toast-notification {
        left: 10px;
        right: 10px;
        max-width: calc(100vw - 20px);
    }
    
    /* === Theme Toggle === */
    .theme-toggle-btn {
        width: 42px !important;
        height: 42px !important;
        bottom: 70px !important;
        right: 15px !important;
        font-size: 1rem !important;
    }
    
    .live-support-btn {
        bottom: 15px !important;
        right: 15px !important;
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    /* === General === */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Buttons general */
    .btn-primary, .btn-action {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* === Tailwind Grid Override for Mobile === */
    .grid.grid-cols-6,
    .grid.grid-cols-5 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ===== RESPONSIVE - SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    /* Header even more compact */
    .header-main .container {
        padding: 0 8px;
    }
    
    .logo-container {
        max-width: 100px;
    }
    
    .logo-container img, .logo-container svg {
        height: 24px !important;
    }
    
    .btn-login {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
    
    .btn-register {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    /* Hero */
    .hero-section h1, .hero h1,
    section[class*="bg-gradient-to-r"] h1 {
        font-size: 1.25rem !important;
    }
    
    .hero-section p,
    section[class*="bg-gradient-to-r"] p {
        font-size: 0.8rem !important;
    }
    
    /* Trust Badges - Stack vertically on very small */
    .trust-badges-bar .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    
    /* Categories - 3 columns on small */
    .py-8 .grid[class*="grid-cols"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .py-8 a[class*="rounded"] {
        padding: 10px 5px !important;
    }
    
    .py-8 a .text-3xl,
    .py-8 a .text-4xl {
        font-size: 1.2rem !important;
    }
    
    .py-8 a .text-sm {
        font-size: 0.65rem !important;
    }
    
    /* Footer */
    footer .footer-bottom {
        font-size: 0.75rem;
    }
    
    /* Stats */
    .stat-section .text-3xl,
    .stat-section .text-2xl {
        font-size: 1.1rem !important;
    }
}

/* ===== TEMA TOGGLE BUTONU ===== */
.theme-toggle-btn, .theme-toggle-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
    z-index: 9999;
    transition: var(--transition);
    color: white;
    font-size: 20px;
}

.theme-toggle-btn:hover, .theme-toggle-float:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
}

/* ===== TOAST BİLDİRİMLER ===== */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideInRight 0.5s ease, fadeOut 0.5s ease 4.5s forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    font-size: 14px;
    color: white;
}

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}

/* ===== HABERLER BÖLÜMÜ ===== */
.news-card, .blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.news-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-glow);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 30px 0;
}

.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination a:hover, .pagination .active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* ===== BADGE / ETİKET ===== */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.badge-primary { background: rgba(255, 107, 0, 0.15); color: var(--accent-primary); }
.badge-success { background: rgba(16, 185, 129, 0.15); color: var(--accent-success); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--accent-danger); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: var(--accent-info); }

/* ===== TAİLWİND OVERRIDE ===== */
.bg-gray-800, .bg-gray-900, [class*="bg-gray-8"], [class*="bg-gray-9"] {
    background-color: var(--bg-secondary) !important;
}

.bg-white, [class*="bg-white"] {
    background-color: var(--bg-card) !important;
}

.text-gray-300, .text-gray-400 {
    color: var(--text-secondary) !important;
}

.text-white {
    color: var(--text-primary) !important;
}

.border-gray-700, .border-gray-600 {
    border-color: var(--border-color) !important;
}

/* ===== CARD GRID ===== */
.card-grid, .product-grid, .listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

@media (max-width: 640px) {
    .card-grid, .product-grid, .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ===== ANİMASYONLAR ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

/* ===== CANLI DESTEK ===== */
.live-support-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.35);
    z-index: 9998;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.live-support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.5);
}

/* ===== HEADER BİLEŞENLERİ TEMA OVERRIDE'LARI ===== */

/* Light temada header bileşenleri */
[data-theme="light"] .header-main {
    background-color: var(--bg-header);
    border-bottom-color: var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-color);
}

[data-theme="light"] .icon-link {
    background-color: rgba(255, 107, 0, 0.08);
    color: var(--accent-primary);
}

[data-theme="light"] .icon-link:hover {
    background-color: var(--accent-primary);
    color: #ffffff;
}

[data-theme="light"] .menu-button {
    background-color: rgba(255, 107, 0, 0.08);
    color: var(--accent-primary);
}

[data-theme="light"] .menu-button:hover {
    background-color: var(--accent-primary);
    color: #ffffff;
}

[data-theme="light"] .side-menu {
    background-color: var(--bg-card);
    box-shadow: 5px 0 25px var(--shadow-color);
}

[data-theme="light"] .dropdown-menu {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: 0 10px 25px var(--shadow-color);
}

[data-theme="light"] .user-button {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06), rgba(0, 100, 200, 0.06));
    border-color: rgba(255, 107, 0, 0.15);
}

[data-theme="light"] .user-button:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(0, 100, 200, 0.12));
    box-shadow: 0 4px 8px var(--shadow-color);
}

[data-theme="light"] .btn-login {
    color: var(--accent-secondary, #2E3192);
    border-color: var(--accent-secondary, #2E3192);
}

[data-theme="light"] .menu-link:hover {
    background-color: rgba(255, 107, 0, 0.05);
}

[data-theme="light"] .announcement-bar {
    background-color: #1a1a2e;
    color: var(--accent-neon, #00ff88);
}

[data-theme="light"] .modal-content {
    background-color: var(--bg-card);
}

[data-theme="light"] .toast {
    background-color: var(--accent-primary);
}

/* Dark temada header (varsayılan ama explicit olsun) */
[data-theme="dark"] .header-main {
    background-color: var(--bg-header);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .side-menu {
    background-color: var(--bg-card);
}

[data-theme="dark"] .dropdown-menu {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

/* ===== TEMA TOGGLE BUTONU ===== */
.theme-toggle-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    z-index: 9997;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px var(--shadow-glow);
}

/* ===== SVG LOGO KONTROLÜ ===== */
/* Dark temada: dark logo goster, light logo gizle */
.logo-dark { display: block !important; }
.logo-light { display: none !important; }

/* Light temada: light logo goster, dark logo gizle */
[data-theme="light"] .logo-dark { display: none !important; }
[data-theme="light"] .logo-light { display: block !important; }


/* ===== HERO SECTION LIGHT TEMA ===== */
[data-theme="light"] .from-indigo-900 {
    --tw-gradient-from: #667eea !important;
}
[data-theme="light"] .via-purple-900 {
    --tw-gradient-via: #764ba2 !important;
    --tw-gradient-stops: var(--tw-gradient-from), #764ba2, var(--tw-gradient-to) !important;
}
[data-theme="light"] .to-indigo-900 {
    --tw-gradient-to: #667eea !important;
}

/* ===== ANNOUNCEMENT BAR LIGHT TEMA ===== */
[data-theme="light"] .announcement-bar {
    background-color: #1e293b;
    color: #00ff88;
}

/* ===== İSTATİSTİK BARI ===== */
[data-theme="light"] .stat-bar,
[data-theme="light"] [class*="bg-gray-900"] {
    background-color: var(--bg-secondary) !important;
}

/* ===== BODY BACKGROUND ===== */
[data-theme="light"] body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}
