/* ====== Şahin Games — tema ====== */
:root {
    --sg-purple: #8b5cf6;
    --sg-purple-d: #7c3aed;
    --sg-pink: #ec4899;
    --sg-blue: #3b9df8;
    --sg-green: #46c46a;
    --sg-orange: #ff9f43;
    --sg-yellow: #ffd23f;

    --sg-ink: #34276b;        /* logodaki koyu lacivert harf rengi */
    --sg-ink-soft: #6b5f93;
    --sg-bg: #f5f1ff;
    --sg-card: #ffffff;
    --sg-border: #ece6fb;

    --sg-grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --sg-grad-soft: linear-gradient(160deg, #f6f1ff 0%, #fdf0fb 100%);
    --sg-radius: 1.25rem;
    --sg-shadow: 0 .75rem 2rem rgba(124, 58, 237, .12);
    --sg-shadow-lg: 0 1.5rem 3rem rgba(124, 58, 237, .18);

    --bs-primary: #8b5cf6;
    --bs-primary-rgb: 139, 92, 246;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--sg-ink);
    background: var(--sg-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 700;
    color: var(--sg-ink);
    letter-spacing: -.01em;
}

a {
    color: var(--sg-purple-d);
    text-decoration-color: rgba(124, 58, 237, .35);
    text-underline-offset: 2px;
}
a:hover { color: var(--sg-pink); }

.sg-text-gradient {
    background: var(--sg-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====== Butonlar ====== */
.sg-btn-primary {
    background: var(--sg-grad);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    padding: .6rem 1.5rem;
    box-shadow: 0 .5rem 1.25rem rgba(236, 72, 153, .3);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.sg-btn-primary:hover, .sg-btn-primary:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 .85rem 1.75rem rgba(236, 72, 153, .4);
    filter: brightness(1.03);
}

.sg-btn-outline {
    background: #fff;
    color: var(--sg-purple-d);
    border: 2px solid var(--sg-border);
    border-radius: 999px;
    font-weight: 700;
    padding: .55rem 1.45rem;
    transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.sg-btn-outline:hover, .sg-btn-outline:focus {
    color: var(--sg-pink);
    border-color: var(--sg-pink);
    transform: translateY(-2px);
}

.btn:focus-visible, .sg-btn-primary:focus-visible, .sg-btn-outline:focus-visible {
    outline: 3px solid rgba(139, 92, 246, .45);
    outline-offset: 2px;
}

/* ====== Navbar ====== */
.sg-navbar {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--sg-border);
    padding-top: .55rem;
    padding-bottom: .55rem;
}
.sg-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 .35rem .9rem rgba(124, 58, 237, .25);
}
.sg-brand-text {
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--sg-ink);
}
.sg-navbar .nav-link {
    font-weight: 700;
    color: var(--sg-ink-soft);
    border-radius: 999px;
    padding: .4rem .9rem;
    transition: color .15s ease, background-color .15s ease;
}
.sg-navbar .nav-link:hover,
.sg-navbar .nav-link:focus {
    color: var(--sg-purple-d);
    background: rgba(139, 92, 246, .1);
}
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(139, 92, 246, .35); }

/* ====== Hero ====== */
.sg-hero {
    position: relative;
    overflow: hidden;
    background: var(--sg-grad-soft);
}
.sg-hero::before,
.sg-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: .5;
    z-index: 0;
}
.sg-hero::before {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(139,92,246,.45), transparent 70%);
    top: -120px; right: -80px;
}
.sg-hero::after {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(236,72,153,.4), transparent 70%);
    bottom: -120px; left: -70px;
}
.sg-hero > .container { position: relative; z-index: 1; }

.sg-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: var(--sg-purple-d);
    font-weight: 700;
    border-radius: 999px;
    padding: .4rem 1rem;
    box-shadow: var(--sg-shadow);
}
.sg-hero-title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    line-height: 1.05;
}
.sg-hero-lead {
    font-size: 1.15rem;
    color: var(--sg-ink-soft);
    max-width: 34rem;
}

.sg-hero-art {
    width: min(78%, 360px);
    border-radius: 32px;
    box-shadow: var(--sg-shadow-lg);
    animation: sg-float 6s ease-in-out infinite;
}
@keyframes sg-float {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50%      { transform: translateY(-14px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
    .sg-hero-art { animation: none; }
}

/* ====== Hero slayt (carousel) ====== */
.sg-hero-carousel { position: relative; z-index: 1; }
/* İki slaytın da aynı yüksekliği koruması için içerik dikey ortalanır */
.sg-hero-carousel .carousel-item { transition: transform .6s ease-in-out; }

/* Önceki/sonraki düğmeleri — açık zemine uygun mor tonu */
.sg-hero-control {
    width: 3.25rem;
    opacity: 1;
}
.sg-hero-control .carousel-control-prev-icon,
.sg-hero-control .carousel-control-next-icon {
    width: 2.4rem; height: 2.4rem;
    background-color: #fff;
    border-radius: 50%;
    background-size: 45% 45%;
    box-shadow: var(--sg-shadow);
    /* Bootstrap'in ok ikonunu mor renge boya */
    filter: invert(34%) sepia(58%) saturate(2200%) hue-rotate(243deg) brightness(92%);
    transition: transform .15s ease;
}
.sg-hero-control:hover .carousel-control-prev-icon,
.sg-hero-control:hover .carousel-control-next-icon {
    transform: scale(1.08);
}
.sg-hero-control:focus-visible { outline: 3px solid rgba(139, 92, 246, .45); outline-offset: 2px; }

@media (max-width: 575.98px) {
    .sg-hero-control { display: none; }   /* küçük ekranlarda noktalar yeterli */
}

/* Slayt gösterge noktaları */
.sg-hero-dots { margin-bottom: .75rem; }
.sg-hero-dots [data-bs-target] {
    width: 11px; height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(124, 58, 237, .35);
    opacity: 1;
    box-shadow: 0 .15rem .5rem rgba(124, 58, 237, .25);
    transition: background-color .15s ease, transform .15s ease;
}
.sg-hero-dots [data-bs-target].active {
    background: var(--sg-purple);
    transform: scale(1.15);
}

/* ====== Bölüm başlığı ====== */
.sg-section { padding: 4rem 0; }
.sg-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    font-size: .8rem;
    color: var(--sg-pink);
}

/* ====== Kartlar ====== */
.sg-card {
    background: var(--sg-card);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    padding: 1.75rem;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.sg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sg-shadow-lg);
}
.sg-feature-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 16px;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
}
.sg-ic-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.sg-ic-pink   { background: linear-gradient(135deg, #ec4899, #db2777); }
.sg-ic-blue   { background: linear-gradient(135deg, #3b9df8, #2563eb); }
.sg-ic-green  { background: linear-gradient(135deg, #46c46a, #16a34a); }
.sg-ic-orange { background: linear-gradient(135deg, #ff9f43, #f97316); }
.sg-ic-yellow { background: linear-gradient(135deg, #ffd23f, #f59e0b); }

/* ====== Oyun kartı ====== */
.sg-game-card {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}
.sg-game-card img {
    width: 84px; height: 84px;
    border-radius: 20px;
    box-shadow: 0 .5rem 1.25rem rgba(124, 58, 237, .2);
    flex: 0 0 auto;
}
.sg-chip {
    display: inline-block;
    background: rgba(139, 92, 246, .12);
    color: var(--sg-purple-d);
    font-weight: 700;
    font-size: .78rem;
    border-radius: 999px;
    padding: .15rem .65rem;
}

/* ====== CTA şeridi ====== */
.sg-cta {
    background: var(--sg-grad);
    border-radius: var(--sg-radius);
    color: #fff;
    box-shadow: var(--sg-shadow-lg);
    overflow: hidden;
    position: relative;
}
.sg-cta h2, .sg-cta p { color: #fff; }
.sg-store-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    color: var(--sg-ink);
    border-radius: 14px;
    padding: .7rem 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .15);
    transition: transform .15s ease;
}
.sg-store-btn:hover { transform: translateY(-2px); color: var(--sg-ink); }
.sg-store-btn small { display: block; font-size: .68rem; font-weight: 600; opacity: .7; }
.sg-store-btn strong { font-size: 1.05rem; line-height: 1; }

/* ====== İçerik (gizlilik vb.) ====== */
.sg-prose {
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    padding: 2rem;
}
.sg-prose h2 { margin-top: 1.75rem; }
.sg-prose ul { padding-left: 1.2rem; }
.sg-prose li { margin-bottom: .4rem; }

/* Ankrajlı başlıklar sticky navbar altında kalmasın (#veri-silme deep-link) */
.sg-prose [id] { scroll-margin-top: 90px; }

/* Vurgulanan kutu (veri silme bölümü) */
.sg-callout {
    background: linear-gradient(160deg, #f6f1ff 0%, #fdf0fb 100%);
    border: 1px solid var(--sg-border);
    border-left: 5px solid var(--sg-purple);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}
.sg-callout ol { padding-left: 1.2rem; margin-bottom: 0; }
.sg-callout li { margin-bottom: .5rem; }

/* ====== Footer ====== */
.sg-footer {
    background: #2a1f54;
    color: #cfc7ea;
    padding: 3rem 0 1.75rem;
}
.sg-footer-logo {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .85);
}
.sg-footer-title {
    color: #fff;
    font-family: "Baloo 2", sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}
.sg-footer-muted { color: #a99fce; font-size: .92rem; }
.sg-footer-links a {
    color: #cfc7ea;
    text-decoration: none;
    line-height: 2;
}
.sg-footer-links a:hover { color: #fff; }
.sg-footer-divider {
    border-color: rgba(255, 255, 255, .12);
    margin: 2rem 0 1.25rem;
}
