:root {
    --mk-primary: #0d3b66;
    --mk-primary-2: #145da0;
    --mk-accent: #f59e0b;
    --mk-bg: #f4f7fb;
    --mk-card: #ffffff;
    --mk-text: #1f2937;
    --mk-muted: #6b7280;
    --mk-border: #e5e7eb;
    --mk-shadow: 0 10px 30px rgba(13, 59, 102, 0.08);
    --mk-radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at top left, rgba(13,59,102,0.06), transparent 22%),
        radial-gradient(circle at top right, rgba(245,158,11,0.08), transparent 18%),
        var(--mk-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--mk-text);
}

a {
    text-decoration: none;
}

.full-header {
    background: linear-gradient(135deg, #0b2f52 0%, #145da0 100%);
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.top-nav-btn {
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.top-nav-btn:hover {
    transform: translateY(-1px);
}

.main-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 16px 40px;
}

.hero-card {
    background: linear-gradient(135deg, rgba(13,59,102,0.96) 0%, rgba(20,93,160,0.96) 100%);
    border: 0;
    border-radius: 28px;
    padding: 28px;
    color: #fff;
    box-shadow: 0 18px 40px rgba(13,59,102,0.18);
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.hero-card::before {
    width: 220px;
    height: 220px;
    right: -70px;
    top: -70px;
}

.hero-card::after {
    width: 160px;
    height: 160px;
    right: 120px;
    bottom: -70px;
}

@keyframes blob-pulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(10px, 15px); }
}

.hero-card::before,
.hero-card::after {
    animation: blob-pulse 8s ease-in-out infinite;
}

.hero-card::after {
    animation-delay: -4s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-desc {
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 760px;
}

.hero-mini-stats {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-control:focus,
.form-select:focus {
    background-color: #f8fbff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.hero-stat {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 150px;
}

.hero-stat small {
    display: block;
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    margin-bottom: 2px;
}

.hero-stat strong {
    font-size: 0.98rem;
    color: #fff;
}

.ad-placeholder {
    margin-bottom: 22px;
    text-align: center;
    overflow: hidden; /* Reklamın dışarı taşmasını engeller */
    min-height: 100px; /* Reklam yüklenene kadar boş durmaması için */
    width: 100%;

}

.promo-card {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--mk-card);
    box-shadow: var(--mk-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    filter: brightness(0.85);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(13, 59, 102, 0.14);
}

.promo-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.promo-card .card-body {
    padding: 16px;
}

.promo-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--mk-text);
}

.promo-card p {
    color: var(--mk-muted);
    font-size: 0.94rem;
    line-height: 1.45;
    min-height: 44px;
    margin-bottom: 14px;
}

.form-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.section-card {
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--mk-shadow);
    overflow: hidden;
}

.section-card .card-body {
    padding: 24px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mk-border);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,93,160,0.14), rgba(245,158,11,0.16));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.section-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--mk-primary);
}

.section-subtitle {
    margin: 2px 0 0;
    font-size: 0.86rem;
    color: var(--mk-muted);
}

.form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.45rem;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 48px;
    border-radius: 14px;
    border-color: #d5dbe3;
    font-size: 0.96rem;
}

.input-group .input-group-text {
    border-left: 0;
    border-right: 0;
    background: #f8fafc;
    font-weight: 700;
    color: var(--mk-primary);
}

.soft-note {
    background: linear-gradient(135deg, rgba(20,93,160,0.08), rgba(13,59,102,0.05));
    border: 1px solid rgba(20,93,160,0.12);
    color: var(--mk-primary);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    background: #eef4fb;
    color: var(--mk-primary);
    border: 1px solid #dbe7f4;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.child-help-box {
    background: #fafcff;
    border: 1px solid var(--mk-border);
    border-radius: 18px;
    padding: 16px;
    height: 100%;
}

.child-help-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--mk-primary);
    margin-bottom: 12px;
}

.advanced-toggle {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.5rem 1rem;
}

#gelismisAlan {
    margin-top: 6px;
    padding-top: 10px;
}

.submit-card {
    border: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--mk-shadow);
    padding: 26px 20px;
}

.submit-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--mk-primary);
    margin-bottom: 8px;
}

.submit-text {
    color: var(--mk-muted);
    margin-bottom: 18px;
}

.btn-calculate {
    min-height: 54px;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.4px;
    background: linear-gradient(135deg, #145da0 0%, #0d3b66 100%);
    border: none;
    box-shadow: 0 14px 24px rgba(13,59,102,0.2);
}

.btn-soft {
    min-height: 54px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid #d4dbe5;
    background: #fff;
    color: var(--mk-primary);
}

.logo-box img {
    height: 82px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Sayfa Başlık */
.sayfa-baslik {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Kurallar Tablo */
.kurallar-table {
    border-radius: 12px;
    overflow: hidden;
}

.kurallar-table thead {
    background: #1e293b;
    color: #fff;
}

/* Responsive Düzenlemeler */
@media (max-width: 991.98px) {
    .main-container { padding: 20px 12px 36px; }
    .hero-card { padding: 22px 18px; border-radius: 22px; }
}

/* Kaydırma Çubuğu */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 10px; }