/* Herkese acik sayfalar (landing, SEO sayfalari, login, register) icin challenge temasi */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #fff9f0; color: #2d2d2d; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #f76707; }
img { max-width: 100%; }

/* Ust cubuk (challenge.php ile ayni) */
.topbar { display: flex; align-items: center; gap: 12px; padding: 8px 16px; min-height: 56px; flex-wrap: wrap;
    background: linear-gradient(90deg, #ff6b6b, #ffa94d, #ffd43b, #69db7c, #4dabf7, #cc5de8); border-bottom: 3px solid rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.topbar-logo { color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; display: flex; align-items: center; gap: 7px; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.topbar-sep { color: rgba(255,255,255,0.35); }
.topbar-nav { display: flex; gap: 8px; align-items: center; }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn { padding: 8px 18px; border: none; border-radius: 20px; cursor: pointer; font-weight: 700; font-size: 0.85rem; font-family: 'Poppins', sans-serif;
    display: inline-flex; align-items: center; gap: 6px; transition: transform .15s, box-shadow .15s; text-decoration: none; box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,0.2); }
.btn-nav { background: rgba(255,255,255,0.3); color: #fff; }
.btn-free { background: linear-gradient(135deg, #4dabf7, #cc5de8); color: #fff; }
.btn-primary { background: #40c057; color: #fff; }
.btn-orange { background: linear-gradient(135deg, #ff6b6b, #ff8e53); color: #fff; }
.btn-ghost { background: #fff; color: #f76707; border: 2px solid #f76707; }
.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: 28px; }
.lang-select { padding: 7px 12px; border: none; border-radius: 20px; background: rgba(255,255,255,0.3); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.lang-select option { color: #2d2d2d; }

/* Ikincil gezinme seridi (SEO sayfalari) */
.page-nav { background: #fff; border-bottom: 1px solid #ffe3c2; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; justify-content: center; }
.page-nav a { padding: 12px 16px; color: #555; text-decoration: none; font-weight: 600; font-size: .9rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.page-nav a:hover { color: #f76707; }
.page-nav a.active { color: #f76707; border-bottom-color: #f76707; }

main { flex: 1; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; font-weight: 800; color: #2d2d2d; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff6b6b, #ffa94d, #cc5de8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #555; margin-bottom: 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: .88rem; color: #888; }

/* Oyun sahnesi (saf CSS) */
.scene { position: relative; height: 300px; border-radius: 24px; overflow: hidden; border: 4px solid #ffa94d; box-shadow: 0 12px 32px rgba(247,103,7,.18);
    background: linear-gradient(180deg, #6ec6ff 0%, #d6f0ff 100%); }
.scene .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: #8b5a2b; border-top: 12px solid #5cb85c; }
.scene .plat { position: absolute; height: 18px; border-radius: 6px; background: #c0563a; border-bottom: 4px solid #8a3a25; }
.scene .e { position: absolute; font-size: 2.1rem; line-height: 1; }
.scene .cloud { position: absolute; font-size: 3rem; opacity: .9; animation: drift 18s linear infinite; }
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(520px); } }
.scene .bob { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Bolumler */
section.block { padding: 40px 0; }
section.block h2 { font-size: 1.8rem; text-align: center; margin-bottom: 8px; }
section.block .sub { text-align: center; color: #777; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: #fff; border: 2px solid #ffe3c2; border-radius: 20px; padding: 24px; box-shadow: 0 6px 20px rgba(247,103,7,.07); }
.card .ico { font-size: 2.2rem; margin-bottom: 8px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; color: #2d2d2d; }
.card p { color: #666; font-size: .95rem; }
.card a.more { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: 20px; padding: 24px 24px 24px 76px; position: relative; border: 2px solid #ffe3c2; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #ff6b6b, #ffa94d); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.band { background: linear-gradient(135deg, #fff3e0, #ffe8cc); }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { text-align: left; font-size: 1.5rem; margin: 28px 0 8px; }
.article p { margin-bottom: 12px; color: #444; }

/* SSS */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 2px solid #ffe3c2; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details[open] summary { color: #f76707; margin-bottom: 8px; }
.faq p { color: #555; }

/* Kapanis CTA */
.cta-band { text-align: center; padding: 48px 20px; background: linear-gradient(90deg, #ff6b6b, #ffa94d, #ffd43b, #69db7c, #4dabf7, #cc5de8); color: #fff; }
.cta-band h2 { font-size: 1.8rem; margin-bottom: 8px; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cta-band p { margin-bottom: 20px; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cta-band .btn-primary { box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Alt bilgi */
.site-footer { background: #2d2d2d; color: #ccc; padding: 32px 20px; font-size: .9rem; }
.site-footer .cols { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.site-footer h4 { color: #fff; margin-bottom: 8px; }
.site-footer a { color: #ffd8a8; text-decoration: none; display: block; padding: 2px 0; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { text-align: center; margin-top: 24px; color: #888; }

/* Giris / kayit */
.auth { padding: 36px 0 56px; }
.auth .wrap { display: grid; grid-template-columns: 1fr 440px; gap: 36px; align-items: start; max-width: 1000px; }
.auth-hero { background: linear-gradient(135deg, #ff6b6b, #ffa94d 55%, #cc5de8); color: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 12px 32px rgba(247,103,7,.2); }
.auth-hero h2 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 8px; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.auth-hero p { opacity: .95; margin-bottom: 18px; }
.auth-hero ul { list-style: none; }
.auth-hero li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.18); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; font-weight: 500; }
.auth-hero li span.i { font-size: 1.5rem; }
.auth-card { background: #fff; border: 2px solid #ffe3c2; border-radius: 24px; padding: 32px; box-shadow: 0 12px 32px rgba(247,103,7,.1); }
.auth-card .head { text-align: center; margin-bottom: 22px; }
.auth-card h1 { font-size: 1.6rem; color: #2d2d2d; margin-bottom: 4px; }
.auth-card .subtitle { color: #777; font-size: .95rem; }
.auth-card .mini { display: flex; justify-content: center; gap: 16px; margin-top: 10px; color: #888; font-size: .82rem; flex-wrap: wrap; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: #555; }
.form-group label span { color: #e03131; font-size: .8rem; margin-left: 6px; font-weight: 500; }
.form-group input { width: 100%; padding: 13px 14px; border: 2px solid #ffd8a8; border-radius: 12px; background: #fffaf3; color: #2d2d2d; font-size: 1rem; font-family: inherit; transition: border-color .2s; }
.form-group input:focus { outline: none; border-color: #ffa94d; background: #fff; }
.form-group input.error { border-color: #e03131; background: #fff5f5; }
.submit-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #ff6b6b, #ff8e53); color: #fff; border: none; border-radius: 28px; font-family: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s; margin-top: 6px; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,107,.35); }
.msg { padding: 12px; border-radius: 12px; margin-bottom: 14px; background: #e6f9ee; color: #1f7a46; border: 1px solid #b7ebcb; text-align: center; }
.msg.error { background: #fde8e8; color: #c53030; border-color: #f5b5b5; }
.google-section { margin: 4px 0 0; display: flex; flex-direction: column; align-items: center; }
.divider { display: flex; align-items: center; width: 100%; margin: 18px 0; color: #aaa; font-size: .85rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #ffe3c2; }
.divider span { padding: 0 14px; }
.alt-link, .forgot-password { text-align: center; margin-top: 16px; font-size: .92rem; color: #777; }
.alt-link { padding-top: 16px; border-top: 2px dashed #ffe3c2; }
.alt-link a, .forgot-password a { font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
    .hero .wrap, .auth .wrap { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .auth-hero { order: 2; }
    .topbar-sep { display: none; }
}
