:root {
    --primary-color: #FF4B6E;
    --secondary-color: #6C63FF;
    --accent-color: #FFD93D;
    --background-color: #F8F9FA;
    --surface-color: #FFFFFF;
    --text-color: #2D3436;
    --text-light: #636E72;
    --border-color: #E9ECEF;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    --smooth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-padding: clamp(1rem, 5vw, 2rem);
    --border-radius: 20px;
    --header-height: 70px;
}

/* Global layout: sticky footer and no horizontal scroll */
html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
/* Header and footer should not flex-grow/shrink */
body > header { flex: 0 0 auto; }
footer.footer { margin-top: auto; flex-shrink: 0; width: 100%; }
/* Ensure the main content area fills remaining height regardless of wrapper naming */
/* Sadece global içerik sarmalayıcısı esnesin */
main.page-content,
body > .page-content { display: flex; flex-direction: column; flex: 1 0 auto; }

/* === Infographic steps (popup) — eşit oklar ve boşluklar === */
.css-infographic {
  --step-gap: 44px;         /* ayırıcı genişliği */
  display: flex;
  flex-direction: row;      /* tek satırda adımlar ve ayırıcılar */
  align-items: flex-start;
  justify-content: center;
  gap: 0;                   /* boşluğu .step-sep belirler */
  flex-wrap: wrap;          /* dar ekranda taşma olmasın */
  max-width: 100%;
  padding: 0 8px;           /* kenarlarda güvenlik payı */
  box-sizing: border-box;
}

/* Yeni yapı: üst sıra ikonlar + ayırıcılar, alt sıra etiketler + boşluk placeholder'ları */
.css-infographic .step { display: flex; flex-direction: column; align-items: center; margin: 0; gap: 8px; width: 128px; flex: 0 0 128px; min-width: 0; }
.css-infographic .step-label {
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  margin-top: 6px;
}
.css-infographic .step-sep-placeholder {
  width: var(--step-gap);
}
.css-infographic .infographic-step {
  display: inline-flex;
  flex-direction: column;   /* metin ikonun altına */
  align-items: center;
  gap: 6px;                 /* ikon ile metin arası */
  margin: 0;                /* varsayılan marginleri sıfırla */
}
.css-infographic .infographic-step > * { margin: 0 !important; padding: 0 !important; }
.css-infographic .step-icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff; display: flex; align-items: center; justify-content: center;
  position: relative;       /* oka referans noktası */
}
.css-infographic .step-text {
  white-space: nowrap;       /* metin yan yana kalsın (Hediye Oluştur) */
  font-weight: 600;
  text-align: center;
}
/* Eski dairesel okları tamamen gizle */
.css-infographic .step-arrow { display: none !important; }
/* Adımlar arası ayırıcı: tam ortada, sabit genişlikte chevron */
.css-infographic .step-sep {
  flex: 0 0 var(--step-gap);
  width: var(--step-gap);
  height: 36px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.css-infographic .step-sep::before {
  content: '';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg);
  width: 8px; height: 8px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}
@media (max-width: 640px) {
  /* Kredi pili ve buton taşmasını kesin engelle */
  .section-header { flex-wrap: wrap; }
  .section-header .user-credits { padding: 0.7rem 1rem; gap: 0.5rem; overflow: visible; white-space: normal; }
  .section-header .user-credits span { min-width: 0; white-space: nowrap; }
  .section-header .user-credits .btn { min-width: 120px; padding: 0.65rem 0.9rem; font-size: 0.9rem; }
}
@media (max-width: 600px) {
  /* Section header credit pill: never clip at medium mobiles */
  .section-header { flex-wrap: wrap; }
  .section-header .user-credits { max-width: none !important; overflow: visible !important; white-space: normal !important; padding: 0.7rem 1rem; gap: 0.5rem; }
  .section-header .user-credits span { min-width: 0; white-space: nowrap; }
  .section-header .user-credits .btn { min-width: 118px; padding: 0.6rem 0.9rem; font-size: 0.9rem; }
}
@media (max-width: 600px) {
  /* Fluid grid for medium-narrow devices (e.g., 540px) */
  .css-infographic { width: 100%; padding: 0 2px; display: grid; --sep-fr: 0.035fr; grid-template-columns: 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr; align-items: start; column-gap: 0; box-sizing: border-box; }
  .css-infographic::-webkit-scrollbar { display: none; }
  .css-infographic .step { width: auto; flex: initial; min-width: 0; gap: 6px; }
  .css-infographic .step-icon { width: clamp(24px, 5vw, 30px); height: clamp(24px, 5vw, 30px); flex-basis: clamp(24px, 5vw, 30px); }
  .css-infographic .step-sep { width: 100%; height: clamp(20px, 5vw, 28px); justify-self: center; }
  .css-infographic .step-sep::before { width: clamp(4px, 0.9vw, 5px); height: clamp(4px, 0.9vw, 5px); }
  .css-infographic .step-label { font-size: clamp(9.6px, 2.1vw, 11.8px); white-space: normal; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; word-break: break-word; }
}
@media (max-width: 480px) {
  /* Fractional separators: total columns = 100% */
  .css-infographic { width: 100%; padding: 0 4px; display: grid; --sep-fr: 0.05fr; grid-template-columns: 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr; align-items: start; column-gap: 0; box-sizing: border-box; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .css-infographic::-webkit-scrollbar { display: none; }
  .css-infographic .step { width: auto; flex: initial; min-width: 0; gap: 5px; }
  .css-infographic .step-icon { width: clamp(22px, 6.2vw, 28px); height: clamp(22px, 6.2vw, 28px); flex-basis: clamp(22px, 6.2vw, 28px); }
  .css-infographic .step-sep { width: 100%; height: clamp(20px, 6.2vw, 28px); justify-self: center; scroll-snap-align: center; }
  .css-infographic .step-sep::before { width: clamp(4px, 1.1vw, 5px); height: clamp(4px, 1.1vw, 5px); }
  .css-infographic .step-label { font-size: clamp(9.8px, 2.7vw, 11.5px); white-space: normal; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; word-break: break-word; }
}

/* Daha dar mobil: 401–360px arası daha sıkı ayarlar */
@media (max-width: 400px) {
  /* Fractional separators: total columns = 100% */
  .css-infographic { width: 100%; padding: 0 2px; display: grid; --sep-fr: 0.06fr; grid-template-columns: 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr; align-items: start; column-gap: 0; box-sizing: border-box; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .css-infographic::-webkit-scrollbar { display: none; }
  .css-infographic .step { width: auto; flex: initial; min-width: 0; gap: 3px; }
  .css-infographic .step-sep { width: 100%; height: clamp(16px, 5.5vw, 20px); justify-self: center; scroll-snap-align: center; }
  .css-infographic .step-sep::before { width: clamp(3px, 0.9vw, 3.5px); height: clamp(3px, 0.9vw, 3.5px); }
  .css-infographic .step-icon { width: clamp(18px, 6.5vw, 22px); height: clamp(18px, 6.5vw, 22px); flex-basis: clamp(18px, 6.5vw, 22px); }
  .css-infographic .step-label { font-size: clamp(8.5px, 2.8vw, 10px); white-space: normal; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; word-break: break-word; }
}

@media (max-width: 360px) {
  /* Fractional separators: total columns = 100% */
  .css-infographic { width: 100%; padding: 0 2px; display: grid; --sep-fr: 0.05fr; grid-template-columns: 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr var(--sep-fr) 1fr; align-items: start; column-gap: 0; box-sizing: border-box; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .css-infographic::-webkit-scrollbar { display: none; }
  .css-infographic .step { width: auto; flex: initial; min-width: 0; gap: 3px; }
  .css-infographic .step-sep { width: 100%; height: clamp(14px, 5.5vw, 18px); justify-self: center; scroll-snap-align: center; }
  .css-infographic .step-sep::before { width: clamp(2.8px, 0.9vw, 3.2px); height: clamp(2.8px, 0.9vw, 3.2px); }
  .css-infographic .step-icon { width: clamp(16px, 6.5vw, 20px); height: clamp(16px, 6.5vw, 20px); flex-basis: clamp(16px, 6.5vw, 20px); }
  .css-infographic .step-label { font-size: clamp(8.5px, 2.7vw, 9.8px); white-space: normal; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; word-break: break-word; }
}

/* === Popup buttons: unify type, size and alignment === */
.popup-buttons {
    display: flex;
    gap: 10px;
    justify-content: center; /* masaüstünde ortala */
    align-items: center;
    flex-wrap: wrap; /* dar ekranlarda alt satıra geçsin */
    margin-top: 1rem;
}
.popup-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    min-width: 200px;           /* eşit genişlik tabanı */
    padding: 0 18px;
    border-radius: 999px;       /* aynı tip: kapsül şekli */
    font-weight: 600;
    border-width: 2px;          /* kalınlık eşitlensin, renkler korunur */
    border-style: solid;
}
.popup-buttons .btn i { font-size: 1rem; margin-right: 6px; }
@media (max-width: 480px) {
  .popup-buttons .btn { min-width: 0; width: 100%; }
}

/* Dar masaüstü/tablet: içerik sığmazsa menü tarzına geç (kredi hep görünür) */
@media (min-width: 769px) and (max-width: 992px) {
    .header > .container { padding-right: 8px; }
    .header .mobile-menu-toggle { display: block !important; margin-right: 2px; }
    .header .nav-menu {
        display: none !important; /* inline desktop kuralını geçersiz kıl */
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--surface-color);
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
        box-shadow: var(--card-shadow);
        z-index: 999;
    }
    .header .nav-menu.active { display: flex !important; }
    .header .nav-link { width: 100%; text-align: center; padding: 0.8rem; display: flex; align-items: center; justify-content: center; }
}

/* Kredi pili 992px ve altı ekranlarda her zaman görünsün */
@media (max-width: 992px) {
    .mobile-credits { display: flex !important; margin-left: auto; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 6px; }
    .mobile-menu-toggle { margin-right: 6px; }
    /* Sağ kenara biraz daha yaklaşsın ve sabit olsun */
    .header > .container { padding-right: 6px; }
}

/* Orta-geniş masaüstü (navbar sığdırma iyileştirmesi) */
@media (min-width: 769px) and (max-width: 1200px) {
    .header > .container { padding: 0 1rem; }
    .logo-image { height: 48px; margin-right: 8px; }
    .nav-menu { gap: 0.5rem; }
    .nav-link { padding: 0.45rem 0.6rem; }
    /* Kredi pili daraltsın ve taşma yapmasın */
    .user-credits { max-width: 160px; padding: 0.45rem 0.6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header ve Navigasyon Stilleri */
.header {
    background: var(--surface-color);
    box-shadow: var(--card-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header > .container { padding: 0 var(--container-padding); }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0; /* padding konteynere taşındı */
    width: 100%;
}

/* Header çocukları taşma yapmasın diye shrink izni */
.header-content > * { min-width: 0; }

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 55px;
    width: auto;
    margin-right: 12px;
    margin-top: -5px;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Ana Navigasyon */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap; /* varsayılan: sarma yok, hizalama korunur */
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    transition: var(--smooth-transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 75, 110, 0.1);
}

/* Kullanıcı Kredileri */
.user-credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 75, 110, 0.1);
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

.user-credits i {
    color: var(--primary-color);
}

/* Auth Butonları */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
}

/* Mobil Menü Toggle Butonu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--smooth-transition);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    /* Header sağ blok: kredi + hamburger her zaman en sağda hizalansın */
    .header .header-content { display: flex; align-items: center; justify-content: flex-start !important; }
    .header .header-left { flex: 0 0 auto; }
    .mobile-credits { margin-left: auto !important; margin-right: 6px !important; display: flex; align-items: center; }
    .header .mobile-menu-toggle {
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        /* Giriş yapılmadığında hamburger tek başına en sağa itilsin */
        margin-left: auto !important;
        margin-right: 6px !important;
    }
    /* Giriş yapıldığında kredi rozetinden sonra hamburger gelsin (auto margin yerine sabit boşluk) */
    .mobile-credits + .mobile-menu-toggle {
        margin-left: 6px !important;
        margin-right: 6px !important;
    }
    /* Bazı sayfalarda container'a verilen relative + ekstra padding'i nötrle */
    .header > .container { position: static !important; padding-right: 6px !important; padding-left: 6px; }
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--surface-color);
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
        box-shadow: var(--card-shadow);
        z-index: 999;
    }

/* kaldırıldı: nav-menu masaüstünde sarmaz, hizalama korunur */

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* === DÜZELTME 1: Bu seçici daha spesifik hale getirildi === */
    .nav-menu .user-credits {
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }

    .auth-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
    }

    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .header-content {
        padding: 0 0.8rem;
    }

    .logo-text {
        display: none;
    }
    
    .logo-image {
        height: 50px;
        margin-right: 0;
        margin-top: -3px;
    }
}

/* Tablet Görünümü */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
    }

    .auth-buttons {
        gap: 0.5rem;
    }
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2) 0%, transparent 30%);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

/* Game Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.game-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--smooth-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 500px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow, 0 15px 30px rgba(0, 0, 0, 0.1));
}

.game-image {
    position: relative;
    /*height: 220px;*/
    overflow: hidden;
    background-color: var(--background-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: var(--background-color);
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.02) 0%, 
        rgba(0,0,0,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.game-info h3 {
    margin-bottom: 0.8rem;
    color: var(--heading-color, var(--text-color));
    font-size: 1.25rem;
    line-height: 1.3;
}

.game-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Sol ve sağ ögeleri aynı hizada tut */
    margin-top: auto;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.voice-price {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    flex-direction: row; /* İkon solda, yazı sağda */
    align-items: center;
    gap: 0.5rem; /* Arada boşluk */
    white-space: nowrap; /* Tek satırda kalsın */
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.3rem 0;
    margin-top: 0.5rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
    order: -1; /* Üste gelsin; fiyat ve buton alt satırda kalsın */
}

.voice-price::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4V5z'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3C/svg%3E") no-repeat center/contain;
}

.info-footer .btn {
    order: 1;
    margin-left: auto; /* Sağda hizala */
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--smooth-transition);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: none;
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    body {
        overflow-x: hidden;
    }

    .hero {
        margin: 0; /* kenar boşluklarını kaldır, tam genişlik olsun */
        padding: 2rem;
        border-radius: 0; /* köşeleri düz yap */
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .hero-buttons .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        backdrop-filter: blur(5px);
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem var(--container-padding);
    }

    /* Mobilde açıklama metni görünür kalsın */
    .game-description {
        display: block !important;
        overflow: visible !important;
        text-overflow: initial !important;
        white-space: normal !important;
        -webkit-line-clamp: initial !important;
        -webkit-box-orient: initial !important;
        max-height: none !important;
        margin-bottom: 0.75rem;
    }

    .game-card {
        margin: 0 auto;
        max-width: 400px;
        max-height: none; /* Yüksekliği kısıtlama, içerik sığsın */
    }

    /*.game-image {*/
    /* height: 180px;*/
    /*}*/
    
    .info-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-footer .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card, .feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Tablet ve Desktop İyileştirmeleri */
@media (min-width: 769px) {
    .hero {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .game-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--hover-shadow);
    }

    .game-card:hover .game-image img {
        transform: scale(1.03);
    }
}

/* Features Section - İyileştirilmiş */
.features {
    padding: 5rem 0;
    background: white;
    border-radius: 30px;
    margin: 2rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: var(--smooth-transition);
    background: var(--background-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* === DÜZELTME 2: Bu kural iyileştirildi === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Eklendi: Sığmazsa alt satıra atar */
    gap: 1rem; /* Eklendi: Öğeler arasında boşluk bırakır */
    margin-bottom: 2rem;
    overflow: visible; /* içerdeki rozet/buton kesilmesin */
}

/* Kredi rozetinin ve butonun taşmasını önle */
.section-header > * { min-width: 0; }
.section-header .price-tag { max-width: 50vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.section-header .user-credits { max-width: none; overflow: visible; white-space: normal; margin-right: 8px; }
.section-header .btn { flex: 0 0 auto; }

@media (max-width: 768px) {
  .section-header { justify-content: space-between; }
  .section-header .price-tag { max-width: 46vw; }
  .section-header .user-credits { max-width: none; }
}

/* Tablet/dar masaüstü için .section-header kenar boşlukları ve genişlikler */
@media (max-width: 992px) {
  .section-header { padding-right: 14px; padding-left: 12px; }
  .section-header .price-tag { max-width: 44vw; }
  .section-header .user-credits { max-width: none; }
}

/* Tablet genişliğinde de sağ boşluk güvenliği */
@media (min-width: 993px) and (max-width: 1200px) {
  .section-header { padding-right: 16px; }
}

/* iPad / dar tablet aralığı için ekstra güvenlik (820–912px) */
@media (min-width: 820px) and (max-width: 912px) {
  .section-header { padding-right: 18px; }
  .section-header .price-tag { max-width: 42vw; }
  .section-header .user-credits { max-width: none; }
}

/* Payment Styles */
.payment-container {
    padding: 2rem 0;
}

.payment-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.payment-details {
    margin-top: 2rem;
}

.package-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.package-info .credits {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.package-info .price {
    font-size: 1.5rem;
    font-weight: bold;
}

.payment-info {
    margin-top: 1rem;
    text-align: center;
    color: #666;
}

.payment-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Error Pages */
.error-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

.error-content h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-content p {
    color: #666;
    margin-bottom: 2rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Auth Styles */
.auth-container {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255,75,110,0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
    border-radius: 30px 30px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--smooth-transition);
    padding: 0.3rem 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        border-radius: 20px 20px 0 0;
        padding: 2rem 0 1rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul li a:hover {
        transform: translateX(0) scale(1.05);
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card, .feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Game card boyutunu da ayarlayalım */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.game-card {
    max-width: 350px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--smooth-transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Görünümü */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        padding: 0.7rem 1.2rem;
    }
}

/* Kredi Paketleri Stilleri */
.credits-container {
    margin-top: var(--header-height);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.credit-package {
    flex: 0 1 250px;
    background: var(--surface-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--smooth-transition);
    margin: 0.5rem;
}

.credit-package h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.credit-amount {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.discount-text {
    color: #2ecc71;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.credit-package .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--smooth-transition);
}

.credit-package .btn:hover {
    background: #ff3355;
    transform: translateY(-2px);
}

.credit-package:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .credits-container {
        padding: 1.5rem;
    }
    
    .credit-package {
        flex: 0 1 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .credits-container {
        padding: 1rem;
    }

    .credit-package {
        flex: 0 1 100%;
        max-width: 350px;
    }
}

/* Header içinde logo konumlandırma */
.header-left {
    display: flex;
    align-items: center;
    padding-left: 5px;
}

/* Kredi fiyat etiketi */
.price-tag {
    order: 0;
    margin-right: auto;
    background: var(--primary-light, rgba(255, 75, 110, 0.1));
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.price-tag i {
    font-size: 0.8rem;
}

/* Auth Formları için Stiller */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 40px;
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
}

.auth-box {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    margin-bottom: 40px;
    transition: var(--smooth-transition);
    animation: fadeIn 0.3s ease-out;
}

.auth-box h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 500;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #CBD5E0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: var(--smooth-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.auth-form .form-control:hover {
    border-color: #A0AEC0;
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 75, 110, 0.15);
    outline: none;
}

.auth-form .btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: var(--smooth-transition);
}

.auth-form .btn:hover {
    background-color: #ff3355;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--smooth-transition);
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Alert Stilleri */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* reCAPTCHA Özel Stiller - Hizalama Düzeltmesi */
.g-recaptcha {
    margin: 0 0 1.5rem;
    width: 100% !important;
    display: block;
    text-align: left;
}

.g-recaptcha > div {
    margin: 0;
    display: inline-block;
}

.g-recaptcha iframe {
    display: block;
    margin: 0 auto;
}

/* Mobil görünüm için özel ayarlar */
@media (max-width: 480px) {
    .g-recaptcha {
        transform-origin: left top;
        -webkit-transform-origin: left top;
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
    }
}

/* Telefon numara girişi için ek stiller */
input[type="tel"].form-control {
    letter-spacing: 0.5px;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .auth-box {
        max-width: 100%;
        padding: 25px;
        margin: 0 15px 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .input-group,
    .form-row .form-group {
        width: 100%;
    }
    
    .input-group {
        margin-bottom: 1.2rem;
    }
    
    .g-recaptcha {
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding-top: 20px;
    }
    
    .auth-box {
        padding: 20px;
    }
    
    .auth-form .btn {
        padding: 0.8rem;
    }
    
    /* reCAPTCHA mobil görünüm düzeltmesi */
    .g-recaptcha {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        margin: 0 auto 20px;
        overflow: hidden; /* Taşmaları önleme */
    }
}

/* Yan yana form alanları için stil */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

/* Register sayfası için özel stiller */
.register-box {
    max-width: 500px;
}

/* Daha küçük ekranlar için form satırlarını dikey yap */
@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Şifre gereksinimleri için tooltip */
.password-requirements {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Input grupları için ek stiller */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group .form-control {
    padding-left: 2.5rem;
}

.input-group-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
}

/* Form Checkbox Stilleri - Beni Hatırla için */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    padding-top: 1px;
    transition: color 0.3s ease;
}

.form-check:hover .form-check-label {
    color: var(--primary-color);
}

/* Mobil ekranlar için uyumlu hale getirme */
@media (max-width: 768px) {
    .form-check {
        margin-bottom: 12px;
    }
    
    .form-check-input {
        width: 16px;
        height: 16px;
    }
    
    .form-check-label {
        font-size: 0.85rem;
    }
}

/* Müşteri Yorumları Bölümü Stilleri */
.testimonials {
    padding: 60px 0;
    background-color: #fdf2f4;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544v-2.26zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828v-2.83zm0 5.657L11.314 44.97l-1.414 1.414L0 36.485v-2.83zm0 5.657L8.485 47.8l-1.414 1.414L0 42.142v-2.83zm0 5.657l5.657 5.657-1.414 1.415L0 47.8v-2.83zm0 5.657l2.828 2.83-1.414 1.413L0 53.456v-2.83zM54.627 60L30 35.373 5.373 60H8.2L30 38.2 51.8 60h2.827zm-5.656 0L30 41.03 11.03 60h2.828L30 43.858 46.142 60h2.83zm-5.656 0L30 46.686 16.686 60h2.83L30 49.515 40.485 60h2.83zm-5.657 0L30 52.343 22.344 60h2.83L30 55.172 34.828 60h2.83zM32 60l-2-2-2 2h4zM59.716 0l-28 28 1.414 1.414L60 2.544V.283zm0 5.657L34.26 30.313l1.414 1.413L60 8.2V5.374zm0 5.656L37.087 30.97l1.414 1.415L60 13.86v-2.83zm0 5.657l-19.8 19.8 1.415 1.413L60 19.514v-2.83zm0 5.657l-16.97 16.97 1.414 1.415L60 25.172v-2.83zM60 28L45.858 42.142l1.414 1.414L60 30.828V28zm0 5.657L48.686 44.97l1.414 1.414L60 36.485v-2.83zm0 5.657L51.515 47.8l1.414 1.414L60 42.142v-2.83zm0 5.657l-5.657 5.657 1.414 1.415L60 47.8v-2.83zm0 5.657l-2.828 2.83 1.414 1.413L60 53.456v-2.83zm0 5.657L39.9 16.385l1.414-1.414L30 3.658 18.686 14.97l1.415 1.415 9.9-9.9 9.9 9.9zm-2.83 2.828l1.415-1.414L30 9.313 21.515 17.8l1.414 1.413L30 12.142l7.07 7.07zm-2.827 2.83l1.414-1.416L30 14.97l-5.657 5.657 1.414 1.415L30 17.8l4.243 4.242zm-2.83 2.827l1.415-1.414L30 20.626l-2.828 2.83 1.414 1.414L30 23.456l1.414 1.414z' fill='%23ff4b6e' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nav-arrow i {
    font-size: 1rem;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
    padding: 10px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4b6e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(255, 75, 110, 0.3);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: #333;
}

.testimonial-product {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-rating {
    display: flex;
    color: #FFD700;
    font-size: 0.95rem;
}

.testimonial-content {
    flex: 1;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-date {
    color: #999;
    font-size: 0.85rem;
    text-align: right;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.testimonials-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 75, 110, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Tablet görünüm ayarlamaları */
@media (min-width: 768px) and (max-width: 1023px) {
    .testimonials-container {
        max-width: 90%;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* Mobil görünüm ayarlamaları */
@media (max-width: 767px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .testimonials-container {
        max-width: 95%;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .nav-arrow {
        width: 36px;
        height: 36px;
    }
}

/* Auth Popup Stilleri */
.auth-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.auth-popup.active {
    opacity: 1;
    visibility: visible;
}

.auth-popup-container {
    background-color: var(--surface-color);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.auth-popup.active .auth-popup-container {
    transform: translateY(0) scale(1);
}

.auth-popup-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6384 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.auth-popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.auth-close-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.auth-close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.auth-popup-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.auth-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    flex: 1;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.auth-tab.active::after {
    background-color: var(--primary-color);
}

.auth-tab-content {
    display: none;
    animation: fadeIn 0.3s forwards;
}

.auth-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form {
    margin-bottom: 15px;
}

.auth-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.auth-form .form-row .input-group {
    flex: 1;
}

.auth-form .input-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-form .input-group-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--surface-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 75, 110, 0.1);
    outline: none;
}

.auth-form .form-control:focus + .input-group-icon {
    color: var(--primary-color);
}

.auth-form .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.auth-form .form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.auth-form .form-check-label {
    font-size: 0.9rem;
    cursor: pointer;
}

.auth-form .btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6384 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.2);
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 75, 110, 0.3);
}

.auth-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 75, 110, 0.2);
}

.auth-form .alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form .alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
}

.auth-form .alert-error {
    background-color: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.auth-form .alert-error::before {
    content: '\f071';
}

.auth-form .alert-success {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-form .alert-success::before {
    content: '\f058';
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-links a:hover {
    text-decoration: underline;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input {
    margin-right: 10px;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

/* Mobil Görünüm Düzenlemeleri */
@media (max-width: 768px) {
    .auth-popup-container {
        width: 95%;
        max-height: 95vh; /* Yüksekliği artır */
        margin: 0;
    }
    
    .auth-popup-header {
        padding: 12px 16px; /* Başlık alanını daralt */
    }
    
    .auth-popup-header h2 {
        font-size: 1.1rem; /* Başlık yazısını küçült */
    }
    
    .auth-popup-content {
        padding: 14px; /* İçerik padding'ini azalt */
        max-height: calc(95vh - 48px); /* Header yüksekliği çıkarılmış max yükseklik */
    }
    
    .auth-tabs {
        margin-bottom: 15px; /* Tab margin azalt */
    }
    
    .auth-tab {
        padding: 8px 5px; /* Tab padding azalt */
        font-size: 0.85rem; /* Tab yazı boyutu küçült */
    }
    
    .auth-form .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0; /* Satırlar arası boşluğu kaldır */
    }
    
    .auth-form .input-group {
        margin-bottom: 10px; /* Giriş alanları arası boşluğu azalt */
    }
    
    .auth-form .form-control {
        padding: 10px 10px 10px 35px; /* Giriş alanları yüksekliğini azalt */
        font-size: 0.9rem; /* Yazı boyutu küçült */
        min-height: 0; /* Minimum yükseklik kısıtlamasını kaldır */
        height: 40px; /* Sabit yükseklik belirle */
    }
    
    .auth-form .input-group-icon {
        left: 10px; /* İkon konumunu ayarla */
        font-size: 0.9rem; /* İkon boyutunu küçült */
    }
    
    .auth-form .form-check {
        margin-bottom: 10px; /* Checkbox alt boşluğunu azalt */
    }
    
    .auth-form .form-check-input {
        width: 16px;
        height: 16px;
    }
    
    .auth-form .form-check-label {
        font-size: 0.8rem;
    }
    
    .auth-form .btn-primary {
        padding: 10px; /* Buton yüksekliğini azalt */
        font-size: 0.9rem;
    }
    
    .auth-links {
        margin-top: 10px; /* Link boşluğunu azalt */
    }
    
    .auth-links a {
        font-size: 0.8rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem; /* Şartlar metin boyutunu küçült */
        line-height: 1.2;
    }
    
    /* reCAPTCHA ölçeklendirme */
    .g-recaptcha {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        transform-origin: left top;
        -webkit-transform-origin: left top;
        margin-bottom: 10px; /* Alt boşluğu azalt */
    }
    
    .auth-form .alert {
        padding: 8px 12px;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
}

/* Çok küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .auth-popup-container {
        width: 98%;
        max-height: 98vh;
        border-radius: 15px; /* Kenar yuvarlaklığını azalt */
    }
    
    .auth-popup-header {
        padding: 10px 12px;
    }
    
    .auth-popup-header h2 {
        font-size: 1rem;
    }
    
    .auth-close-button {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    
    .auth-popup-content {
        padding: 10px;
    }
    
    .auth-form .form-control {
        height: 38px;
        padding: 8px 8px 8px 32px;
        font-size: 0.85rem;
    }
    
    .auth-form .input-group-icon {
        font-size: 0.85rem;
    }
    
    .auth-form .btn-primary {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    /* reCAPTCHA daha da küçült */
    .g-recaptcha {
        transform: scale(0.75);
        -webkit-transform: scale(0.75);
    }
    
    /* Diğer yazı tiplerini küçült */
    .auth-tab {
        font-size: 0.8rem;
    }
    
    .checkbox-label {
        font-size: 0.75rem;
    }
    
    .auth-links a {
        font-size: 0.75rem;
    }
}

/* Error input animasyonu için still */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-input {
    border-color: #ef4444 !important;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}



    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.75);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .popup-container {
        background-color: #fff;
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        border-radius: 12px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transform: translateY(30px);
        transition: transform 0.4s ease;
    }
    
    .popup-overlay.active .popup-container {
        transform: translateY(0);
    }
    
    .popup-header {
        padding: 20px;
        background: linear-gradient(135deg, var(--primary-color) 0%, #ff4b6e 100%);
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .popup-header h2 {
        margin: 0;
        font-size: 1.5rem;
    }
    
    .close-button {
        background: transparent;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    
    .close-button:hover {
        transform: rotate(90deg);
    }
    
    .popup-content {
        padding: 25px;
        overflow-y: auto;
    }
    
    .popup-section {
        margin-bottom: 20px;
    }
    
    .popup-section h3 {
        color: var(--primary-color);
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .popup-image {
        width: 100%;
        margin: 20px 0;
        text-align: center;
    }
    
    .popup-image img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .popup-buttons {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    
    .btn-outline-info {
        background-color: transparent;
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .btn-outline-info:hover {
        background-color: rgba(255, 75, 110, 0.1);
    }
    
    @media (max-width: 768px) {
        .popup-container {
            width: 95%;
            max-height: 100vh;
        }
        
        .popup-header {
            padding: 10px 15px;
        }
        
        .popup-header h2 {
            font-size: 1rem;
        }
        
        .popup-content {
            padding: 10px;
            overflow-y: auto;
        }
        
        .popup-section {
            margin-bottom: 10px;
        }
        
        .popup-section h3 {
            font-size: 0.95rem;
            margin-bottom: 5px;
        }
        
        .popup-section p {
            font-size: 0.85rem;
            margin-bottom: 8px;
            line-height: 1.3;
        }
        
        .popup-image {
            margin: 8px 0;
        }
        
        .css-infographic {
            padding: 8px;
            margin: 5px 0;
        }
        
        .css-infographic {
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: center !important;
            height: 80px;
        }
        
        .infographic-step {
            flex: 0 0 auto !important;
            flex-direction: column !important;
            text-align: center !important;
            width: auto !important;
            min-width: 60px !important;
            max-width: 70px !important;
            margin: 0 2px !important;
            padding: 5px !important;
        }
        
        .step-icon {
            width: 30px !important;
            height: 30px !important;
            font-size: 0.8rem !important;
            margin: 0 auto 3px !important;
        }
        
        .step-text {
            font-size: 0.7rem !important;
            margin-top: 2px !important;
        }
        
        .step-arrow {
            transform: rotate(0deg) !important;
            position: absolute !important;
            right: -5px !important;
            top: 12px !important;
            font-size: 0.7rem !important;
            margin: 0 !important;
        }
        
        .popup-buttons {
            margin-top: 10px;
            gap: 8px;
        }
        
        .popup-buttons .btn {
            padding: 6px 10px;
            font-size: 0.85rem;
        }
    }
    
    @media (max-height: 600px) and (max-width: 768px) {
        .popup-header {
            padding: 6px 10px;
        }
        
        .popup-content {
            padding: 6px;
        }
        
        .popup-section h3 {
            font-size: 0.9rem;
        }
        
        .popup-section p {
            font-size: 0.8rem;
            line-height: 1.2;
            margin-bottom: 6px;
        }
        
        .css-infographic {
            height: 70px;
        }
        
        .step-icon {
            width: 25px !important;
            height: 25px !important;
        }
    }
    
    /* CSS ile oluşturulan infografik için stiller - Masaüstü düzeltmeleri */
    .css-infographic {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(252,228,236,0.9));
        border-radius: 10px;
        padding: 20px;
        margin: 20px 0;
        box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    }
    
    .infographic-step {
        display: flex;
        align-items: center;
        position: relative;
        padding: 0;
        margin: 0 15px;
        width: auto;
        min-width: 120px;
        max-width: 150px;
    }
    
    .step-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        background: linear-gradient(135deg, var(--primary-color) 0%, #ff4b6e 100%);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        box-shadow: 0 4px 10px rgba(255,75,110,0.3);
        margin-right: 10px;
    }
    
    .step-arrow {
        position: absolute;
        right: -25px;
        top: 50%;
        transform: translateY(-50%);
        color: #ff4b6e;
        font-size: 1rem;
        z-index: 2;
        background-color: rgba(255, 255, 255, 0.9);
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .step-text {
        font-weight: 500;
        color: #333;
        white-space: nowrap;
        font-size: 0.95rem;
    }
    
    /* Mobil düzenlemeler */
    @media (max-width: 768px) {
        .css-infographic {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding: 10px 5px;
            height: auto;
            overflow-x: visible;
        }
        
        .infographic-step {
            flex: 0 0 auto;
            flex-direction: column;
            text-align: center;
            margin: 0 5px;
            width: auto;
            min-width: 70px;
            max-width: 80px;
            padding: 5px;
            justify-content: flex-start;
            align-items: center;
        }
        
        .step-icon {
            width: 36px;
            height: 36px;
            min-width: 36px;
            font-size: 0.9rem;
            margin: 0 auto 6px;
        }
        
        .step-text {
            font-size: 0.75rem;
            margin: 0;
            text-align: center;
            width: 100%;
        }
        
        .step-arrow {
            position: absolute;
            right: -8px;
            top: 13px;
            font-size: 0.8rem;
        }
    }
    
    /* Çok küçük ekranlar için */
    @media (max-width: 480px) {
        .infographic-step {
            min-width: 65px;
            margin: 0 2px;
        }
        
        .step-icon {
            width: 32px;
            height: 32px;
            min-width: 32px;
            font-size: 0.8rem;
        }
        
        .step-text {
            font-size: 0.7rem;
        }
        
        .step-arrow {
            right: -6px;
            top: 10px;
            font-size: 0.7rem;
        }
    }



    /* Günlük İstatistik Bölümü Stilleri */
    .daily-stats {
        padding: 30px 0;
        background-color: #f9f5f8;
        position: relative;
        overflow: hidden;
    }
    
    .daily-stats::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ff4b6e' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
        opacity: 0.5;
        z-index: 1;
    }
    
    .stats-card {
        background: linear-gradient(135deg, #ffffff 0%, #fdf6f9 100%);
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(255, 75, 110, 0.15);
        padding: 25px 30px;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
        overflow: hidden;
        border: 1px solid rgba(255, 75, 110, 0.1);
    }
    
    .stats-card::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, rgba(255, 75, 110, 0.05) 0%, rgba(255, 75, 110, 0.1) 100%);
        border-radius: 60% 0 0 0;
        z-index: -1;
    }
    
    .stats-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--primary-color) 0%, #ff4b6e 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        margin-right: 25px;
        box-shadow: 0 8px 15px rgba(255, 75, 110, 0.25);
    }
    
    .stats-content {
        flex: 1;
    }
    
    .stats-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    
    .stats-header h3 {
        color: #333;
        font-size: 1.2rem;
        margin: 0;
        font-weight: 600;
    }
    
    .stats-live-indicator {
        display: flex;
        align-items: center;
        font-size: 0.8rem;
        color: #22c55e;
        font-weight: 500;
    }
    
    .pulse-dot {
        width: 8px;
        height: 8px;
        background-color: #22c55e;
        border-radius: 50%;
        margin-right: 6px;
        position: relative;
    }
    
    .pulse-dot::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #22c55e;
        border-radius: 50%;
        animation: pulse 2s infinite;
        z-index: 0;
    }
    
    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.8;
        }
        70% {
            transform: scale(2);
            opacity: 0;
        }
        100% {
            transform: scale(1);
            opacity: 0;
        }
    }
    
    .stats-counter {
        display: flex;
        align-items: baseline;
        margin-bottom: 10px;
    }
    
    #gift-counter {
        font-size: 3rem;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
        margin-right: 10px;
        font-feature-settings: "tnum";
        font-variant-numeric: tabular-nums;
    }
    
    .stats-label {
        font-size: 1.2rem;
        color: #666;
    }
    
    .stats-trend {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        color: #666;
    }
    
    .stats-trend i {
        color: #22c55e;
        margin-right: 6px;
    }
    
    /* Mobil Düzenlemeler */
    @media (max-width: 768px) {
        .daily-stats {
            padding: 20px 0;
        }
        
        .stats-card {
            padding: 20px;
            flex-direction: column;
            text-align: center;
        }
        
        .stats-icon {
            margin-right: 0;
            margin-bottom: 15px;
            width: 60px;
            height: 60px;
            min-width: 60px;
            font-size: 1.5rem;
        }
        
        .stats-header {
            flex-direction: column;
            gap: 8px;
        }
        
        .stats-header h3 {
            font-size: 1.1rem;
        }
        
        .stats-counter {
            justify-content: center;
        }
        
        #gift-counter {
            font-size: 2.5rem;
        }
        
        .stats-label {
            font-size: 1rem;
        }
        
        .stats-trend {
            justify-content: center;
            font-size: 0.85rem;
        }
        
        /* Sağ alt köşe kesimini mobilde küçült */
        .stats-card::after {
            width: 80px;
            height: 80px;
            border-radius: 50% 0 0 0;
        }
    }
    
    /* Küçük Ekranlar */
    @media (max-width: 480px) {
        .stats-card {
            padding: 15px;
        }
        
        .stats-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
            font-size: 1.3rem;
            margin-bottom: 12px;
        }
        
        .stats-header h3 {
            font-size: 1rem;
        }
        
        #gift-counter {
            font-size: 2.2rem;
        }
        
        .stats-label {
            font-size: 0.9rem;
        }
        
        /* Küçük ekranlarda daha da küçült */
        .stats-card::after {
            width: 60px;
            height: 60px;
            border-radius: 45% 0 0 0;
        }
    }



    /* Hero Section stillerini düzenleyelim */
    .hero {
        padding-top: 0; /* Üst padding'i tamamen kaldır */
        margin-top: 0; /* Üst margin'i de kaldır */
    }

    /* Promo Banner ayarlamaları */
    .promo-banner {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        padding: 6px 0;
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 5;
        margin-top: 70px;
        margin-bottom: 0; /* Negatif margin yerine 0 kullanalım */
    }

    .promo-banner::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
        pointer-events: none;
        z-index: 1;
    }

    .banner-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 2;
        color: white;
    }

    .banner-icon {
        flex: 0 0 auto;
        font-size: 1.5rem;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }

    .banner-text {
        flex: 1;
    }

    .banner-text h3 {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .banner-text p {
        display: none; /* Alt açıklamayı kaldıralım */
    }

    .banner-text .highlight {
        background-color: #ff4b6e;
        padding: 1px 6px;
        border-radius: 4px;
        display: inline-block;
        margin: 0 4px;
        animation: fadeInOut 2s infinite;
    }

    @keyframes fadeInOut {
        0%, 100% { opacity: 0.8; }
        50% { opacity: 1; }
    }

    .banner-button {
        flex: 0 0 auto;
        background-color: white;
        color: #25D366;
        padding: 5px 12px;
        border-radius: 30px;
        font-weight: 600;
        font-size: 0.85rem;
        text-decoration: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .banner-button i {
        font-size: 1rem;
    }

    .banner-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        background-color: #f8f8f8;
    }

    /* Hero container ayarlamaları */
    .hero .container {
        padding-top: 15px; /* Container'a bir üst padding verelim */
    }

    /* Mobil uyumluluk için düzenlemeler */
    @media (max-width: 768px) {
        .promo-banner {
            margin-top: 60px;
            margin-bottom: 0;
            padding: 8px 0; /* Daha fazla dikey boşluk */
        }
        
        .banner-content {
            flex-direction: row;
            text-align: left;
            padding: 0;
            align-items: center;
        }
        
        .banner-icon {
            width: 36px; /* Daha büyük ikon */
            height: 36px;
            font-size: 1.3rem;
            margin-right: 10px;
            animation: pulse 2s infinite; /* Animasyonu koruyalım */
        }
        
        .banner-text {
            margin-bottom: 0;
            flex: 1; /* Banner yazısı maksimum alan kaplasın */
        }
        
        .banner-text h3 {
            font-size: 0.9rem; /* Daha büyük yazı */
            font-weight: 700; /* Daha kalın yazı */
            line-height: 1.3; /* Satır yüksekliği arttı */
        }
        
        .banner-text .highlight {
            padding: 2px 6px; /* Daha belirgin highlight */
            margin: 0 4px;
            font-weight: 700;
        }
        
        .banner-button {
            padding: 6px 12px; /* Daha büyük buton */
            font-size: 0.8rem;
            font-weight: 700;
            min-width: 100px; /* Minimum genişlik */
            justify-content: center; /* İçeriği ortala */
        }
        
        .banner-button i {
            font-size: 0.95rem;
        }
        
        .hero {
            padding-top: 0;
        }
        
        .hero .container {
            padding-top: 15px; /* Biraz daha fazla boşluk */
        }
    }

    /* Çok küçük ekranlar için */
    @media (max-width: 480px) {
        .promo-banner {
            padding: 7px 0;
        }
        
        .banner-icon {
            width: 32px;
            height: 32px;
            font-size: 1.15rem;
            margin-right: 8px;
        }
        
        .banner-text h3 {
            font-size: 0.85rem;
        }
        
        .banner-text .highlight {
            padding: 2px 5px;
            margin: 0 3px;
        }
        
        .banner-button {
            padding: 5px 10px;
            font-size: 0.75rem;
            min-width: 90px;
        }
        
        .banner-button i {
            font-size: 0.9rem;
        }
    }

    /* Promo Banner container düzenlemeleri */
    .promo-banner .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    @media (max-width: 768px) {
        .promo-banner .container {
            padding: 0 10px; /* Mobilde kenar boşluklarını azaltalım */
            width: 100%;
        }
    }



    /* Referanslar butonu için stil düzeltmeleri - Eksik olan bu kısmı ekliyoruz */
    .game-image {
        position: relative;
        overflow: hidden;
    }
    
    .references-button {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 75, 110, 0.9);
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        text-decoration: none;
        z-index: 2;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .references-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        background: var(--primary-color);
    }
    
    /* Nasıl Kullanılır buton stili düzeltmesi */
    .btn-outline {
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.7);
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .btn-outline:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
    
    @media (max-width: 768px) {
        .references-button {
            padding: 4px 8px;
            font-size: 0.75rem;
        }
        
        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: center;
        }
        
        .btn {
            min-width: 140px;
            text-align: center;
            justify-content: center;
        }
    }



    /* WhatsApp İletişim Buton Stili */
    .btn-whatsapp {
        background-color: #25D366;
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        border: none;
        font-weight: 500;
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.2);
    }
    
    .btn-whatsapp:hover {
        background-color: #128C7E;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    
    /* Mobil görünüm için WhatsApp butonu düzenlemesi */
    @media (max-width: 768px) {
        .popup-buttons {
            flex-direction: column;
            width: 100%;
        }
        
        .popup-buttons .btn {
            width: 100%;
            margin-bottom: 8px;
            justify-content: center;
        }
        
        .btn-whatsapp {
            order: 1; /* Sıralamada en alta gelsin */
        }
    }



/* Yeni Öğretici Stilleri */
.tutorial-container {
    max-width: 650px;
}

.tutorial-steps {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.tutorial-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px 0;
}

.tutorial-step.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.5s forwards;
}

.tutorial-step-icon {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6384 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
    box-shadow: 0 8px 20px rgba(255, 75, 110, 0.2);
}

.tutorial-step-content {
    flex: 1;
}

.tutorial-step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tutorial-step-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.tutorial-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tutorial-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tutorial-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tutorial-nav-button {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.tutorial-nav-button:not(:disabled):hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tutorial-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tutorial-dots {
    display: flex;
    gap: 8px;
}

.tutorial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tutorial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .tutorial-step {
        flex-direction: column;
    }
    
    .tutorial-step-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .tutorial-steps {
        min-height: 450px;
    }
}

/* Error input animasyonu için stil */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-input {
    border-color: #ef4444 !important;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}



/* CSS ile Oluşturulmuş Görsel Bileşenler */
.tutorial-css-visual {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kredi Yükleme Görseli */
.credits-visual {
    background: linear-gradient(135deg, #f5f7fa 0%, #e5e9f2 100%);
    padding: 20px;
}

.credit-card {
    width: 90%;
    max-width: 350px;
    height: 170px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6384 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(255, 75, 110, 0.25);
    padding: 15px;
    display: flex;
    flex-direction: column;
    color: white;
    position: relative;
    overflow: hidden;
}

.credit-card::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    top: -30%;
    left: -30%;
    opacity: 0.4;
}

.credit-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.credit-card-logo {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-card-chip {
    width: 35px;
    height: 25px;
    background: linear-gradient(135deg, #ffd700 0%, #ffcc00 100%);
    border-radius: 5px;
    position: relative;
}

.credit-card-chip::before, .credit-card-chip::after {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.1);
}

.credit-card-chip::before {
    top: 5px;
    left: 5px;
    right: 5px;
    height: 2px;
}

.credit-card-chip::after {
    top: 10px;
    left: 5px;
    right: 5px;
    height: 2px;
}

.credit-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.credit-card-amount {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.credit-card-packages {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.credit-package {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-align: center;
    flex: 1;
}

.credit-card-footer {
    margin-top: 10px;
    text-align: center;
}

.purchase-button {
    background: white;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Hediye Seçimi Görseli */
.gifts-visual {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 15px;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.gift-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    height: 70px;
}

.gift-item.selected {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 75, 110, 0.2);
    transform: scale(1.05);
}

.gift-icon {
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.select-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Oluşturma Görseli */
.create-visual {
    background: linear-gradient(135deg, #f5f5f5 0%, #eaeaea 100%);
    padding: 15px;
}

.create-form {
    width: 90%;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6384 100%);
    padding: 10px 15px;
    color: white;
    text-align: center;
}

.form-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.form-body {
    padding: 15px;
}

.form-field {
    margin-bottom: 10px;
}

.field-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.field-input {
    height: 20px;
    background: #f5f5f5;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.field-input.textarea {
    height: 40px;
}

.field-input.file {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    height: 30px;
}

.form-footer {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.create-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6384 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(255, 75, 110, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-button.pulse {
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 75, 110, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 75, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 75, 110, 0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .tutorial-css-visual {
        height: 180px;
    }
    
    .credit-card {
        height: 150px;
    }
    
    .credit-card-logo {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .credit-card-amount {
        font-size: 1.6rem;
    }
    
    .gift-grid {
        gap: 10px;
    }
    
    .gift-item {
        padding: 8px;
        height: 60px;
    }
    
    .gift-icon {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .gift-name {
        font-size: 0.8rem;
    }
}

/* Error input animasyonu için stil */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-input {
    border-color: #ef4444 !important;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

/* Hikaye Listesi Paylaşım Butonları */
.story-card {
    position: relative;
}

.share-toggle {
    position: relative;
    z-index: 10;
}

.share-toggle button {
    min-width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.share-toggle .copy-link-btn {
    position: absolute;
    top: 0;
    left: -36px;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    font-size: 0.85rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Mobil Görünüm Düzeltmeleri */
@media (max-width: 768px) {
    .story-header {
        display: flex;
        flex-direction: column;
    }
    
    .story-header > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 8px;
    }
    
    .share-toggle .copy-link-btn {
        position: static;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .story-card h3 {
        padding-right: 40px; /* Başlığın butonun altına girmemesi için */
        margin-bottom: 1rem;
    }
    
    .story-actions {
        justify-content: center;
    }
    
    .story-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* === Mobil: "Dijital Hediyeler" başlığını ve "Kredi Yükle" butonunu ortala === */
@media (max-width: 768px) {
  /* Başlık + buton kapsayıcısını dikey ve ortalı yap */
  .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;      /* yatayda ortala */
    justify-content: center;  /* dikeyde ortala (gerekirse) */
    gap: 0.5rem;
    text-align: center;
    row-gap: 0.4rem;
  }

  /* Başlık (h2) için fazla sol boşluk varsa sıfırla */
  .section-header h2 {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    line-height: 1.2;
  }

  /* Kullanıcı kredileri / kredi yükle bloğunu ortala */
  .section-header .user-credits {
    margin: 0;
    width: auto;              /* tam genişlik olmasını engelle */
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* İçindeki butonun kaybolmasını engelle (çok genel .btn kurallarını bozmayalım) */
  .section-header .user-credits .btn,
  .section-header .user-credits a.btn-sm,
  .section-header .user-credits .btn-primary {
    display: inline-flex !important;
    width: auto !important;
    min-width: 110px;        /* çok küçülmeyi engelle */
    max-width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
    box-sizing: border-box;
    justify-content: center;
  }

  /* Eğer buton satır dışına düşüyorsa alt boşluk ver */
  .section-header .user-credits + * {
    margin-top: 0.3rem;
  }
}

/* === DÜZELTME: Dijital Hediyeler bölümü boşluk ayarlamaları === */

/* Masaüstü görünüm - Üst boşluk ekle */
@media (min-width: 769px) {
    .section-header {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .games-grid {
        padding-top: 1rem;
    }
}

/* Mobil görünüm - Başlık ve kredi yükle arasında boşluk artır */
@media (max-width: 768px) {
    .section-header {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        gap: 1.2rem !important; /* Başlık ve buton arasında daha fazla boşluk */
        row-gap: 1rem !important;
    }
    
    .section-header h2 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .games-grid {
        padding-top: 0.5rem;
    }
    
    /* Kredi yükle butonunun daha belirgin olması için */
    .section-header .user-credits {
        padding: 0.9rem 1.5rem;
        background: rgba(255, 75, 110, 0.15);
        border-radius: 25px;
        font-weight: 600;
        margin-top: 0.5rem;
    }
    
    .section-header .user-credits .btn {
        min-width: 140px;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        background: var(--primary-color);
        color: white;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(255, 75, 110, 0.3);
    }
}

/* Tablet görünüm için de ayar */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-header {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
}