/* ================================================================
   Bilgin Backgammon — Landing (Karşılama) sayfası
   Geniş layout, SEO içerik, logo, özellikler
   ================================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --landing-bg: #1a1612;
    --landing-surface: #242019;
    --landing-card: #1f1b17;
    --landing-text: #f2ede5;
    --landing-text-dim: rgba(242, 237, 229, 0.65);
    --landing-gold: #c9a050;
    --landing-gold-hover: #d4ad5c;
    --landing-gold-shadow: rgba(201, 160, 80, 0.35);
    --landing-border: rgba(255, 255, 255, 0.06);
    --landing-sat: env(safe-area-inset-top, 0);
    --landing-sar: env(safe-area-inset-right, 0);
    --landing-sab: env(safe-area-inset-bottom, 0);
    --landing-sal: env(safe-area-inset-left, 0);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    padding: var(--landing-sat) var(--landing-sar) var(--landing-sab) var(--landing-sal);
}

.landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .landing {
        max-width: 64rem;
        padding: 0 2rem;
    }
}

/* ========== Header ========== */
.landing__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 0;
}

.landing-lang-combo {
    margin-left: auto;
    position: relative;
}

/* ========== Dil seçici (sağ üst) ========== */
.landing-lang-combo__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(201, 160, 80, 0.35);
    border-radius: 10px;
    background: rgba(201, 160, 80, 0.08);
    color: var(--landing-gold);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.landing-lang-combo__trigger:hover {
    background: rgba(201, 160, 80, 0.15);
    border-color: rgba(201, 160, 80, 0.5);
}
.landing-lang-combo__trigger:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 160, 80, 0.4);
}
.landing-lang-combo__flag {
    display: block;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}
.landing-lang-combo__arrow {
    transition: transform 0.25s ease;
}
.landing-lang-combo.is-open .landing-lang-combo__arrow {
    transform: rotate(180deg);
}
.landing-lang-combo__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.landing-lang-combo.is-open .landing-lang-combo__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.landing-lang-combo__option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--landing-text-dim);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    text-align: left;
    transition: background 0.15s ease;
}
.landing-lang-combo__option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--landing-text);
}
.landing-lang-combo__option img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}
.landing-lang-combo__label {
    flex: 1;
}
.landing-lang-combo__check {
    color: var(--landing-gold);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.landing-lang-combo__option.is-active {
    background: rgba(201, 160, 80, 0.12);
    color: var(--landing-gold);
}
.landing-lang-combo__option.is-active .landing-lang-combo__check {
    opacity: 1;
}
[dir="rtl"] .landing-lang-combo__dropdown {
    right: auto;
    left: 0;
}
[dir="rtl"] .landing-lang-combo__option {
    text-align: right;
}

/* ========== Main ========== */
.landing__main {
    flex: 1;
    padding: 0 0 3rem;
	margin-top: -50px;
}

/* Hero — logo üstte, bayrak (header) ile simetrik boşluk */
.landing__hero {
    margin-bottom: 3.5rem;
    text-align: center;
    padding-top: 1.25rem;
}

.landing__hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.landing__hero-logo-img {
    width: clamp(140px, 28vw, 240px);
    height: auto;
    max-height: 240px;
    object-fit: contain; 
}

.landing__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--landing-text);
    margin-bottom: 1.25rem;
}

.landing__title-line {
    display: block;
}

.landing__lead {
    font-size: 1.0625rem;
    color: var(--landing-text-dim);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.landing__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1612;
    background: var(--landing-gold);
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px var(--landing-gold-shadow);
}

.landing__cta:hover {
    background: var(--landing-gold-hover);
    box-shadow: 0 6px 20px var(--landing-gold-shadow);
    transform: translateY(-1px);
}

.landing__cta:active {
    transform: translateY(0);
}

.landing__cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 160, 80, 0.5);
}

.landing__cta-icon {
    flex-shrink: 0;
}

.landing__cta--large {
    padding: 1.125rem 2.25rem;
    font-size: 1.25rem;
}

/* Hero CTA — daha belirgin ve etkili */
.landing__cta--hero {
    padding: 1.25rem 2.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    border-radius: 0.75rem;
    letter-spacing: 0.02em;
    box-shadow:
        0 6px 24px rgba(201, 160, 80, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    animation: landing-cta-glow 2.5s ease-in-out infinite;
}

.landing__cta--hero:hover {
    background: var(--landing-gold-hover);
    box-shadow:
        0 14px 40px rgba(201, 160, 80, 0.5),
        0 0 48px rgba(201, 160, 80, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    transform: translateY(-3px) scale(1.03);
}

.landing__cta--hero:active {
    transform: translateY(-1px) scale(1);
}

.landing__cta--hero .landing__cta-icon {
    width: 24px;
    height: 24px;
}

@keyframes landing-cta-glow {
    0%, 100% { box-shadow: 0 6px 24px rgba(201, 160, 80, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
    50%  { box-shadow: 0 8px 32px rgba(201, 160, 80, 0.55), 0 0 28px rgba(201, 160, 80, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
}

/* Section titles */
.landing__section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
    color: var(--landing-text);
    margin-bottom: 0.5rem;
}

.landing__section-intro {
    font-size: 1rem;
    color: var(--landing-text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

/* Features grid */
.landing__features {
    margin-bottom: 3.5rem;
}

.landing__feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .landing__feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .landing__feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.landing__feature {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.landing__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--landing-gold);
    border-radius: 12px;
    background: rgba(201, 160, 80, 0.12);
}
.landing__feature-icon svg {
    flex-shrink: 0;
}

.landing__feature-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--landing-text);
    margin-bottom: 0.35rem;
}

.landing__feature-desc {
    font-size: 0.9375rem;
    color: var(--landing-text-dim);
    line-height: 1.45;
}

/* SEO content block */
.landing__seo {
    margin-bottom: 3.5rem;
}

.landing__seo-content {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 0.5rem;
    padding: 1.5rem 1.25rem;
}

@media (min-width: 640px) {
    .landing__seo-content {
        padding: 2rem 1.75rem;
    }
}

.landing__seo-content p {
    font-size: 0.9375rem;
    color: var(--landing-text-dim);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.landing__seo-content p:last-child {
    margin-bottom: 0;
}

.landing__seo-content strong {
    color: var(--landing-text);
    font-weight: 600;
}

/* FAQ */
.landing__faq {
    margin-bottom: 3rem;
}

.landing__faq-list {
    list-style: none;
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.landing__faq-q {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--landing-text);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--landing-border);
}

.landing__faq-q:last-of-type {
    border-bottom: none;
}

.landing__faq-a {
    font-size: 0.875rem;
    color: var(--landing-text-dim);
    line-height: 1.55;
    padding: 0 1.25rem 1rem 1.25rem;
    margin: 0;
}

.landing__faq-a:last-child {
    padding-bottom: 1.25rem;
}

/* CTA block */
.landing__cta-block {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.landing__cta-block .landing__section-title {
    margin-bottom: 0.5rem;
}

.landing__cta-block .landing__section-intro {
    margin-bottom: 1.5rem;
}

/* Footer */
.landing__footer {
    padding: 1.5rem 0;
    border-top: 1px solid var(--landing-border);
}

.landing__footer-inner {
    max-width: 100%;
}

.landing__footer-brand {
    font-size: 0.9375rem;
    color: var(--landing-text-dim);
    margin-bottom: 0.35rem;
}

.landing__footer-langs {
    font-size: 0.875rem;
    color: var(--landing-gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.landing__footer-contact {
    margin-bottom: 0.5rem;
}

.landing__footer-mail {
    font-size: 0.875rem;
    color: var(--landing-gold);
    text-decoration: none;
}

.landing__footer-mail:hover {
    text-decoration: underline;
}

.landing__footer-seo {
    font-size: 0.8125rem;
    color: rgba(242, 237, 229, 0.45);
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .landing__cta {
        transition: none;
    }
    .landing__cta:hover {
        transform: none;
    }
    .landing__cta--hero {
        animation: none;
    }
    .landing__cta--hero:hover {
        transform: none;
    }
}
