﻿/**
 * UFUUK REIS - Main Application Styles
 * Centralized CSS for the entire application
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* ============================================
       Background Colors - Refined Slate Palette
       Tum arka plan renklerini buradan degistirin
       ============================================ */
    --color-bg-body: #04070f;         /* Sayfa arka plani */
    --color-bg-card: rgba(12, 18, 34, 0.88);         /* Kart arka plani */
    --color-bg-elevated: rgba(18, 28, 50, 0.88);     /* Yukseltiimis alanlar, hover durumu */
    --color-bg-sidebar: rgba(2, 5, 12, 0.94);      /* Sidebar arka plani */
    --color-bg-deep: rgba(3, 8, 18, 0.88);         /* Cok koyu alanlar (footer vs) */
    --color-bg-input: rgba(5, 12, 25, 0.92);        /* Input alanlari */
    --color-bg-overlay: rgba(0, 0, 0, 0.6); /* Modal overlay */

    /* ============================================
       Border Colors
       ============================================ */
    --color-border: rgba(255, 255, 255, 0.08);      /* Standart border */
    --color-border-light: rgba(255, 255, 255, 0.06); /* Hafif border */
    --color-border-strong: rgba(255, 255, 255, 0.12); /* Belirgin border */

    /* ============================================
       Brand Colors - Ana Marka Renkleri
       ============================================ */
    /* RGB degerleri - Tailwind opacity modifier icin (bg-brand-primary/20 gibi) */
    --color-brand-primary-rgb: 124 92 255;
    --color-brand-primary-dark-rgb: 79 50 216;
    --color-brand-primary-deeper-rgb: 42 18 111;
    --color-brand-primary-light-rgb: 199 182 255;
    --color-brand-primary-active-rgb: 104 71 245;
    /* HEX degerleri - inline style icin */
    --color-brand-primary: #7c5cff;
    --color-brand-primary-dark: #4f32d8;
    --color-brand-primary-deeper: #2a126f;
    --color-brand-primary-light: #c7b6ff;
    --color-brand-primary-active: #6847f5;
    /* Backward compat aliases */
    --color-brand-red: var(--color-brand-primary);
    --color-brand-red-dark: var(--color-brand-primary-dark);
    --color-brand-red-deeper: var(--color-brand-primary-deeper);
    --color-brand-red-light: var(--color-brand-primary-light);
    --color-brand-red-active: var(--color-brand-primary-active);
    --color-brand-amber: var(--color-brand-primary);
    --color-brand-amber-dark: var(--color-brand-primary-dark);
    --color-brand-emerald: #10b981;
    --color-brand-emerald-dark: #059669;
    --color-brand-blue: #36d7ff;
    --color-brand-blue-dark: #1685ff;
    --color-brand-purple: #a855f7;
    --color-brand-purple-dark: #6d28d9;
    --color-brand-orange: #ff4fb3;
    --color-brand-cyan: #22d3ee;

    /* ============================================
       Text Colors
       ============================================ */
    --color-text-primary: #f0f0f0;    /* Ana metin */
    --color-text-secondary: #a1a1aa;  /* Ikincil metin */
    --color-text-muted: #71717a;      /* Soluk metin */
    --color-text-dim: #6b7280;        /* Cok soluk metin */
    --color-text-faint: #4b5563;      /* En soluk metin */
    --color-text-bright: #e5e7eb;     /* Parlak metin */
    --color-text-light: #d1d5db;      /* Acik metin */
    --color-text-white: #ffffff;      /* Beyaz metin */

    /* ============================================
       Status Colors
       ============================================ */
    --color-status-active: #10b981;
    --color-status-ended: #9ca3af;
    --color-status-pending: #f59e0b;
}

/* ============================================
   Base Styles
   ============================================ */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 18% 8%, rgba(58, 142, 255, 0.16) 0%, rgba(58, 142, 255, 0.08) 18%, transparent 42%),
        radial-gradient(circle at 84% 18%, rgba(124, 92, 255, 0.14) 0%, rgba(124, 92, 255, 0.06) 22%, transparent 48%),
        radial-gradient(circle at 52% 96%, rgba(38, 215, 255, 0.08) 0%, transparent 38%),
        linear-gradient(180deg, #050914 0%, #071120 48%, #04070f 100%);
    background-attachment: fixed;
    color: var(--color-text-primary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.032) 18%, transparent 31%),
        linear-gradient(245deg, transparent 12%, rgba(77, 212, 255, 0.05) 36%, transparent 57%),
        repeating-linear-gradient(112deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 58px);
    opacity: 0.72;
    animation: cb-ambient-shift 22s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 28%, rgba(255,255,255,0.065) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 42%, rgba(82,190,255,0.085) 0 1px, transparent 2px),
        radial-gradient(circle at 58% 12%, rgba(165,139,250,0.075) 0 1px, transparent 2px),
        linear-gradient(180deg, rgba(255,255,255,0.022), transparent 26%, rgba(53,168,255,0.032) 62%, transparent 100%);
    background-size: auto, auto, auto, 100% 100%;
    mix-blend-mode: screen;
    opacity: 0.9;
}

#app {
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

img[src*="ufuukreis-logo"],
.footer-logo {
    border-radius: 50% !important;
    object-fit: cover !important;
    background: transparent !important;
}

@keyframes cb-ambient-shift {
    0% { transform: translate3d(-0.8%, -0.6%, 0) scale(1); opacity: 0.56; }
    100% { transform: translate3d(0.8%, 0.6%, 0) scale(1.025); opacity: 0.78; }
}

input,
textarea,
select,
button {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

input:focus,
input:focus-visible,
input:focus-within,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible,
button:focus,
button:focus-visible {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    --tw-ring-shadow: none !important;
    --tw-ring-color: transparent !important;
    --tw-ring-offset-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.site-footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(5, 11, 24, 0.76), rgba(3, 7, 16, 0.92)) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.main-content {
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
    background: transparent !important;
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--color-brand-primary-light) 0%, var(--color-brand-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Section Headers - Consistent Style
   ============================================ */
.section-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-body);
}

::-webkit-scrollbar-thumb {
    background: #353945;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a2a3a;
}

/* ============================================
   Layout - Sidebar
   ============================================ */
@media (min-width: 1024px) {
    .main-content,
    .site-footer {
        margin-left: 280px;
    }

    .main-content.sidebar-collapsed,
    .site-footer.sidebar-collapsed {
        margin-left: 80px;
    }
}

/* ============================================
   Mobile - Global Fixes
   ============================================ */
@media (max-width: 639px) {
    .section-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .section-icon i,
    .section-icon svg {
        width: 16px;
        height: 16px;
    }

    /* Prevent any grid/flex from overflowing on mobile */
    main, section, .grid, [class*="flex"] {
        max-width: 100%;
    }
}

/* ============================================
   Filter Buttons
   ============================================ */
.filter-btn {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.filter-btn:hover {
    background: var(--color-bg-elevated);
    color: white;
    border-color: var(--color-border-strong);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-brand-red) 0%, var(--color-brand-red-dark) 100%);
    color: white;
    border-color: var(--color-brand-red);
    box-shadow: 0 0 20px rgba(38, 186, 193, 0.25);
}

/* ============================================
   Select Styling
   ============================================ */
select option {
    background: var(--color-bg-deep);
    color: white;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.faq-item.open {
    border-color: var(--color-brand-primary);
    background: rgba(38, 186, 193, 0.05);
}

/* ============================================
   Product Card Hover
   ============================================ */
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-brand-primary);
    box-shadow: 0 12px 32px rgba(38, 186, 193, 0.15);
}

/* ============================================
   Countdown Box
   ============================================ */
.countdown-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* ============================================
   Status Badges
   ============================================ */
.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-status-active);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-ended {
    background: rgba(107, 114, 128, 0.15);
    color: var(--color-status-ended);
    border: 1px solid rgba(107, 114, 128, 0.25);
}

/* ============================================
   Podium Colors
   ============================================ */
.avatar-ring.gold {
    background: linear-gradient(135deg, var(--color-brand-primary-light) 0%, var(--color-brand-primary) 100%);
}

.avatar-ring.silver {
    background: linear-gradient(135deg, #e9d5ff 0%, #7c5cff 100%);
}

.avatar-ring.bronze {
    background: linear-gradient(135deg, #fed7aa 0%, #f97316 100%);
}

.podium-rank-badge.gold {
    background: var(--color-brand-primary);
}

.podium-rank-badge.silver {
    background: #7c5cff;
}

.podium-rank-badge.bronze {
    background: #f97316;
}

/* ============================================
   Pagination
   ============================================ */
.page-btn.active {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
    color: white;
}

/* ============================================
   Winner Avatar Overlap
   ============================================ */
.winner-avatar {
    margin-left: -10px;
}

.winner-avatar:first-child {
    margin-left: 0;
}

/* ============================================
   Code Card Mockup
   ============================================ */
.code-card-mockup {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border: 2px solid #34d399;
    color: #34d399;
    font-family: monospace;
    transform: rotate(-5deg);
}

/* ============================================
   Skeleton Loading Animation
   ============================================ */
.skeleton-loading {
    background: linear-gradient(
        90deg,
        var(--color-bg-card) 25%,
        var(--color-bg-elevated) 50%,
        var(--color-bg-card) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Particle Animation (Coin)
   ============================================ */
.particle {
    animation: particle 3s ease-in-out infinite;
}

.particle:nth-child(1) { animation-delay: 0s; }
.particle:nth-child(2) { animation-delay: 0.5s; }
.particle:nth-child(3) { animation-delay: 1s; }
.particle:nth-child(4) { animation-delay: 1.5s; }
.particle:nth-child(5) { animation-delay: 2s; }

@keyframes particle {
    0%, 100% { opacity: 0; transform: scale(0) translateY(0); }
    50% { opacity: 1; transform: scale(1) translateY(-20px); }
}

/* ============================================
   Search Results
   ============================================ */
#search-results.active {
    display: block;
}

/* ============================================
   Bounce Slow Animation
   ============================================ */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* ============================================
   Float Animation
   ============================================ */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(1deg); }
    66% { transform: translateY(-4px) rotate(-1deg); }
}

.animate-float-gentle {
    animation: float-gentle 4s ease-in-out infinite;
}

/* ============================================
   Line Clamp Utilities
   ============================================ */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Card Glow Effects
   ============================================ */
.card-glow-red:hover {
    border-color: rgba(38, 186, 193, 0.4) !important;
    box-shadow: 0 0 30px rgba(38, 186, 193, 0.12), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.card-glow-amber:hover {
    border-color: rgba(38, 186, 193, 0.4) !important;
    box-shadow: 0 0 30px rgba(38, 186, 193, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Stories
   ============================================ */
.story-ring-new {
    background: linear-gradient(135deg, #26bac1, #1e9aa0, #7c5cff, #1e9aa0, #26bac1);
    background-size: 300% 300%;
    animation: story-ring-rotate 3s linear infinite;
}

.story-ring-seen {
    background: rgba(255, 255, 255, 0.15);
}

@keyframes story-ring-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stories-scroll::-webkit-scrollbar {
    display: none;
}

.stories-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.story-image-loading {
    opacity: 0;
    transition: opacity 0.3s;
}

/* ============================================
   Marquee Track
   ============================================ */
.marquee-track {
    /* temiz, border yok */
}

/* ============================================
   Quest History Filter
   ============================================ */
.qh-filter {
    background: var(--color-bg-card);
    border-color: var(--color-border);
    color: var(--color-text-muted);
}

.qh-filter:hover {
    background: var(--color-bg-elevated);
    color: var(--color-text-bright);
    border-color: var(--color-border-strong);
}

.qh-filter.active {
    background: linear-gradient(135deg, #4f32d8 0%, #4f32d8 100%);
    color: white;
    border-color: #4f32d8;
    box-shadow: 0 0 16px rgba(124, 92, 255, 0.2);
}

/* ============================================
   Bonus Filter Active
   ============================================ */
.bl-filter.active {
    background-color: var(--color-brand-red);
    color: white;
    box-shadow: 0 0 15px rgba(38, 186, 193, 0.3);
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee,
    .animate-float,
    .animate-pulse-glow,
    .animate-bounce-slow,
    .animate-float-gentle,
    .particle,
    .skeleton-loading {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Raffle - Status Filter Button
   ============================================ */
.rf-status-btn.active {
    background: linear-gradient(135deg, #4f32d8, #2a126f);
    color: white;
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.3);
}

/* ============================================
   Raffle - Participants Scroll
   ============================================ */
.rf-participants-scroll::-webkit-scrollbar { width: 4px; }
.rf-participants-scroll::-webkit-scrollbar-track { background: transparent; }
.rf-participants-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
.rf-participants-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ============================================
   Raffle - Date Picker
   ============================================ */
.rf-dp-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.rf-dp-overlay.active { opacity: 1; pointer-events: auto; }

.rf-dp-modal {
    position: fixed; left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 9999;
    width: 340px; max-width: 95vw; max-height: 90vh;
    overflow-y: auto;
    opacity: 0; pointer-events: none;
    transition: all .25s ease;
}
.rf-dp-modal.active {
    opacity: 1; pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.rf-dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.rf-dp-day {
    width: 100%; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    border: 2px solid transparent;
    color: #e5e7eb;
}
.rf-dp-day:hover:not(.disabled):not(.empty) { background: rgba(124, 92, 255,0.15); }
.rf-dp-day.selected {
    background: linear-gradient(135deg, #4f32d8, #2a126f);
    color: white;
    border-color: rgba(124, 92, 255,0.5);
}
.rf-dp-day.today:not(.selected) { border-color: rgba(124, 92, 255,0.4); color: #c7b6ff; }
.rf-dp-day.disabled { opacity: 0.2; cursor: not-allowed; pointer-events: none; }
.rf-dp-day.empty { cursor: default; }

/* Scroll Wheels */
.rf-dp-wheel {
    position: relative; height: 150px; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.rf-dp-wheel-inner {
    position: absolute; width: 100%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.rf-dp-wheel-item {
    height: 50px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    color: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all .15s;
    user-select: none;
}
.rf-dp-wheel-item.active { color: #c7b6ff; font-size: 26px; }
.rf-dp-wheel-item.disabled { opacity: 0.1; cursor: not-allowed; }
.rf-dp-wheel-highlight {
    position: absolute; top: 50px; left: 0; right: 0; height: 50px;
    border-top: 1px solid rgba(124, 92, 255,0.3);
    border-bottom: 1px solid rgba(124, 92, 255,0.3);
    background: rgba(124, 92, 255,0.05);
    border-radius: 8px;
    pointer-events: none;
}

/* ==== Cetobaskan: orneğe uygun altin kart gorunumu ==== */
.ss-card, .site-card {
  background: linear-gradient(150deg, #3a3016 0%, #241d0e 45%, #12100a 100%) !important;
  border: 1px solid rgba(124,92,255,0.35) !important;
  box-shadow: inset 0 1px 0 rgba(247,222,139,0.18), 0 6px 18px rgba(0,0,0,0.55) !important;
}
.ss-card:hover, .site-card:hover {
  border-color: rgba(124,92,255,0.75) !important;
  box-shadow: 0 0 26px rgba(124,92,255,0.20), inset 0 1px 0 rgba(247,222,139,0.25), 0 8px 24px rgba(0,0,0,0.55) !important;
  transform: translateY(-4px);
}
.ss-card-bg { background: radial-gradient(ellipse at 50% 0%, rgba(124,92,255,0.10) 0%, transparent 70%) !important; }

/* ==== Cetobaskan: kartlarda marka adi (altin yazi) ==== */
.cb-brand{font-family:Outfit,Inter,sans-serif;font-weight:800;letter-spacing:.5px;
  background:linear-gradient(180deg,#d9c7ff 0%,#7c5cff 55%,#3b1a9f 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  white-space:nowrap;font-size:14px;line-height:1.1;text-align:center;display:inline-block}
.ss-card .cb-brand{font-size:clamp(13px,2.4vw,20px)}
.site-card .cb-brand{font-size:clamp(15px,3vw,25px)}
.marquee-pill .cb-brand{font-size:14px}

/* ==== Cetobaskan: sosyal ikon / lisansli site kart / sidebar gecis ==== */
.cb-social{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;
  color:#7c5cff;border:1px solid rgba(124,92,255,.4);background:rgba(124,92,255,.06);transition:all .2s;text-decoration:none}
.cb-social:hover{background:rgba(124,92,255,.18);color:#d9c7ff;box-shadow:0 0 12px rgba(124,92,255,.3)}
.cb-bonus-card{position:relative;display:block;border-radius:16px;overflow:hidden;line-height:0;
  border:1px solid rgba(124,92,255,.35);box-shadow:0 6px 18px rgba(0,0,0,.5);transition:all .3s;text-decoration:none}
.cb-bonus-card:hover{border-color:rgba(124,92,255,.75);box-shadow:0 0 24px rgba(124,92,255,.2);transform:translateY(-4px)}
.cb-bonus-card img{width:100%;aspect-ratio:1200/342;height:auto;object-fit:cover;object-position:center;display:block}
.cb-bonus-name{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;font-family:Outfit,Inter,sans-serif;
  font-weight:800;font-size:16px;letter-spacing:.5px;color:#d9c7ff;text-align:center;
  background:linear-gradient(to top,rgba(0,0,0,.9),rgba(0,0,0,.4),transparent)}
.sidebar-logo-full,.sidebar-logo-mini{transition:opacity .3s ease,transform .3s ease}

/* ==== Cetobaskan: marquee kucuk + telegram collapse ==== */
.marquee-pill .cb-brand{font-size:12px}
#sidebar[data-collapsed="true"] .tg-text,
#sidebar[data-collapsed="true"] .tg-arrow{display:none !important}
#sidebar[data-collapsed="true"] .telegram-banner{justify-content:center !important;padding:14px 0 !important}
#sidebar[data-collapsed="true"] .telegram-banner .tg-icon{width:26px !important;height:26px !important}

/* ==== Cetobaskan: sidebar nav hover ==== */
.nav-card:hover{background:rgba(124,92,255,.10);color:#d9c7ff !important}
.nav-card:hover i{color:#d9c7ff}

/* ==== Cetobaskan: sidebar widget (çevrimiçi + yıldızlı siteler) ==== */
.cb-online{display:flex;align-items:center;gap:12px;padding:14px;border-radius:12px;background:linear-gradient(135deg,rgba(124,92,255,.12),rgba(124,92,255,.03));border:1px solid rgba(124,92,255,.25)}
.cb-pulse{width:11px;height:11px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.5);animation:cb-pulse 1.8s infinite;flex-shrink:0}
@keyframes cb-pulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.5)}70%{box-shadow:0 0 0 10px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.cb-online-num{font-size:20px;font-weight:800;color:#d9c7ff;line-height:1;font-family:Outfit,Inter,sans-serif}
.cb-online-sub{font-size:11px;color:#a1a1aa;margin-top:3px}
.cb-sites{background:#141418;border:1px solid rgba(124,92,255,.2);border-radius:12px;padding:10px 8px}
.cb-sites-head{font-size:12px;font-weight:700;color:#7c5cff;padding:2px 6px 8px;display:flex;align-items:center;gap:6px}
.cb-site-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:8px;text-decoration:none;transition:background .2s}
.cb-site-row:hover{background:rgba(124,92,255,.08)}
.cb-site-row>span:first-child{font-size:12.5px;font-weight:600;color:#e5e7eb}
.cb-stars{font-size:11px;color:#7c5cff;letter-spacing:1px;white-space:nowrap}
#sidebar[data-collapsed="true"] .cb-sidebar-widget{display:none !important}

.cb-slide video{width:100%;aspect-ratio:1200/342;height:auto;object-fit:cover;display:block}

.cb-card-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;z-index:1}

/* ==== Cetobaskan: İletişim modal ==== */
.cb-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.cb-modal-bg{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}
.cb-modal-card{position:relative;z-index:1;background:#141418;border:1px solid rgba(124,92,255,.35);border-radius:18px;padding:28px 24px;max-width:380px;width:100%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.6),0 0 40px rgba(124,92,255,.1)}
.cb-modal-x{position:absolute;top:10px;right:14px;background:none;border:none;color:#a1a1aa;font-size:28px;cursor:pointer;line-height:1}
.cb-modal-x:hover{color:#7c5cff}
.cb-modal-icon{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:rgba(124,92,255,.12);border:1px solid rgba(124,92,255,.3);display:flex;align-items:center;justify-content:center;color:#7c5cff}
.cb-modal-card h3{font-size:20px;font-weight:800;color:#d9c7ff;margin:0 0 6px;font-family:Outfit,Inter,sans-serif}
.cb-modal-card p{font-size:13px;color:#a1a1aa;margin:0 0 20px}
.cb-modal-soc{display:flex;flex-direction:column;gap:10px}
.cb-soc{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;text-decoration:none;border:1px solid rgba(124,92,255,.2);background:rgba(255,255,255,.02);transition:all .2s;color:#e5e7eb;font-weight:600;font-size:14px}
.cb-soc:hover{border-color:rgba(124,92,255,.5);background:rgba(124,92,255,.08);transform:translateY(-1px)}
.cb-soc svg{width:24px;height:24px;flex-shrink:0}
.cb-soc.yt svg{color:#ff0000}.cb-soc.tg svg{color:#29a9eb}.cb-soc.ig svg{color:#e4405f}

.cb-card-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}

/* ==== Cetobaskan: tum kartlarda donen dikkat cekici isik ==== */
@property --cbang{syntax:"<angle>";initial-value:0deg;inherits:false}
.ss-card::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;pointer-events:none;z-index:5;
  background:conic-gradient(from var(--cbang),transparent 0deg,transparent 205deg,#1f8bff 242deg,#dff6ff 276deg,#55d8ff 306deg,#7c5cff 332deg,transparent 350deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
  animation:cb-cardlight 3.5s linear infinite}
@keyframes cb-cardlight{to{--cbang:360deg}}

/* ==== Ufuuk Reis: Sponsor kartlari (metalik mavi revizyon) ==== */
.cb-spon-card{position:relative;display:block;border-radius:14px;overflow:hidden;border:1px solid rgba(124,92,255,.45);box-shadow:inset 0 1px 0 rgba(157,218,255,.24),0 6px 16px rgba(0,0,0,.5),0 0 24px rgba(31,139,255,.08);text-decoration:none;transition:transform .25s,box-shadow .25s}
.cb-spon-card:hover{transform:translateY(-3px);box-shadow:0 0 24px rgba(44,169,255,.26),0 0 38px rgba(124,92,255,.12),0 8px 22px rgba(0,0,0,.55)}
.cb-spon-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.cb-spon-card video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#06111f}.cb-spon-card{background:linear-gradient(135deg,#163b69 0%,#0b1f3c 42%,#050910 100%)}
.cb-spon-wide img{aspect-ratio:1100/252}
.cb-badge{position:absolute;top:6px;left:50%;transform:translateX(-50%);z-index:3;background:rgba(6,6,9,.9);border:1px solid rgba(124,92,255,.5);color:#d9c7ff;font-size:9px;font-weight:700;padding:2.5px 7px;border-radius:20px;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.5)}
.cb-badge-r{left:auto;right:12px;transform:none;font-size:12px;padding:5px 14px;white-space:normal;max-width:58%;text-align:center;line-height:1.22}
@media(min-width:640px){.cb-badge{font-size:11px;padding:3px 11px;top:8px}}
.cb-spon-card::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;pointer-events:none;z-index:4;background:conic-gradient(from var(--cbang),transparent 0deg,transparent 205deg,#1f8bff 242deg,#dff6ff 276deg,#55d8ff 306deg,#7c5cff 332deg,transparent 350deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;animation:cb-cardlight 3.5s linear infinite}

/* ==== Ufuuk Reis: responsive guvenlik + ince ayarlar ==== */
*{min-width:0}
img,video{max-width:100%}
.cb-slider,.cb-spon-card,.ss-card{max-width:100%}
/* Kucuk telefonlarda rozet ve baslik olculeri */
@media (max-width:400px){
  .cb-badge{font-size:8px;padding:2px 6px;top:5px}
  .cb-spon-card{border-radius:11px}
}
/* Genis masaustunde sponsor kartlari cok buyumesin */
@media (min-width:1024px){
  .cb-spon-card img,.cb-spon-card video{max-height:210px}
}
/* Slider mobilde kenar bosluklari */
@media (max-width:640px){
  .cb-slider-section{max-width:100%}
  /* Genis kartlardaki sag rozet (1000₺ Hoşgeldin) mobilde tasmasin */
  .cb-badge-r{font-size:8px;padding:2px 8px;right:7px}
}

/* ==== Cetobaskan: masaustu icerik ortalama/genislik duzeltmesi ==== */
.cb-slider-section,
section[aria-labelledby="cb-global-title"],
section[aria-labelledby="cb-exclusive-title"],
section[aria-labelledby="cb-rtp-title"],
section[aria-labelledby="cb-kazanc-title"],
section[aria-labelledby="cb-guvenilir-title"]{
  max-width:1080px !important;
  margin-left:auto !important;margin-right:auto !important;
  width:100%;box-sizing:border-box;
}

/* Baslik ikonlari ustteki banner'a degmesin: icerik section'lari arasi bosluk */
section[aria-labelledby="cb-global-title"],
section[aria-labelledby="cb-exclusive-title"],
section[aria-labelledby="cb-rtp-title"],
section[aria-labelledby="cb-kazanc-title"],
section[aria-labelledby="cb-guvenilir-title"]{ margin-top:22px; }

/* ANA SPONSOR: ana reklam alanini daha buyuk ve vitrin gibi goster */
section[aria-labelledby="cb-global-title"]{
  max-width:1500px !important;
  padding-left:clamp(10px,2vw,28px);
  padding-right:clamp(10px,2vw,28px);
}
section[aria-labelledby="cb-global-title"] [data-wide-list="global"]{
  max-width:min(1320px,94vw) !important;
  width:100% !important;
}
section[aria-labelledby="cb-global-title"] .cb-spon-card{
  border-radius:18px;
  box-shadow:
    inset 0 1px 0 rgba(210,244,255,.22),
    0 18px 44px rgba(0,0,0,.42),
    0 0 36px rgba(31,139,255,.16);
}
section[aria-labelledby="cb-global-title"] .cb-spon-wide img,
section[aria-labelledby="cb-global-title"] .cb-spon-card img{
  aspect-ratio:1100/252;
  min-height:260px;
  max-height:none !important;
  object-fit:cover;
}
section[aria-labelledby="cb-global-title"] .cb-badge-r{
  top:12px;
  right:16px;
  font-size:14px;
  padding:6px 18px;
}

@media (min-width:1440px){
  section[aria-labelledby="cb-global-title"] [data-wide-list="global"]{
    max-width:1380px !important;
  }
  section[aria-labelledby="cb-global-title"] .cb-spon-wide img,
  section[aria-labelledby="cb-global-title"] .cb-spon-card img{
    min-height:300px;
  }
}

@media (max-width:900px){
  section[aria-labelledby="cb-global-title"] .cb-spon-wide img,
  section[aria-labelledby="cb-global-title"] .cb-spon-card img{
    min-height:180px;
  }
}

@media (max-width:640px){
  section[aria-labelledby="cb-global-title"] .cb-spon-wide img,
  section[aria-labelledby="cb-global-title"] .cb-spon-card img{
    min-height:132px;
  }
}

/* Slider: crossfade gecis (yatay kaydirma yerine opaklik) -> komsu slide
   kenardan/kosden asla sizmaz; koseler cerceve ic yaricapina (17px) yuvarli */
.cb-slides{display:block !important;position:relative;aspect-ratio:1200/342;width:100%;transform:none !important;transition:none !important}
.cb-slide{position:absolute;inset:0;width:100%;height:100%;border-radius:17px;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .55s ease;z-index:0}
.cb-slide:first-child{opacity:1;z-index:0}
.cb-slide.is-active{opacity:1;pointer-events:auto;z-index:2}
.cb-slide img{width:100%;height:100%;object-fit:cover;border-radius:17px;aspect-ratio:auto !important}



