/* HILA KIDS DESIGN SYSTEM — shared visual language for the future kids pages */
        :root {
            color-scheme: light;
            --navy: #12355e;
            --blue: #167bcc;
            --blue-dark: #075eae;
            --sky: #49c9f5;
            --pale: #eaf9ff;
            --yellow: #ffdb54;
            --orange: #ffad3b;
            --mint: #c7f6dc;
            --white: #ffffff;
            --ink: #234465;
            --muted: #58728c;
            --shadow: 0 14px 36px rgba(16, 85, 142, .12);
            --radius: 26px;
        }
        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { margin: 0; color: var(--ink); background: #f1fbff; font-family: Tahoma, 'Segoe UI', Arial, sans-serif; line-height: 1.75; }
        a { color: inherit; }
        img { max-width: 100%; }
        button, a { -webkit-tap-highlight-color: transparent; }
        :focus-visible { outline: 4px solid var(--orange); outline-offset: 4px; }
        .container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
        .skip-link { position: absolute; top: -60px; right: 16px; z-index: 1000; padding: 10px 18px; background: var(--yellow); color: var(--navy); border-radius: 12px; }
        .skip-link:focus { top: 12px; }
        .site-header { z-index: 10; position: relative; background: #fff; border-bottom: 1px solid #e1f1fa; }
        .topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; }
        .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .brand img { display: block; width: 150px; height: auto; max-height: 76px; object-fit: contain; }
        .brand-note { display: flex; flex-direction: column; font-size: .78rem; line-height: 1.35; font-weight: 800; color: var(--blue-dark); border-right: 2px solid #bde9fb; padding-right: 12px; }
        .nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
        .nav-link { color: var(--navy); text-decoration: none; font-weight: 800; padding: 9px 14px; border-radius: 14px; }
        .nav-link:hover { background: #eef9ff; }
        .nav-pill { color: var(--navy); background: var(--yellow); box-shadow: 0 4px 0 #e5b52e; }
        .hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 15% 17%, rgba(255,240,148,.75), transparent 18%), radial-gradient(circle at 80% 30%, rgba(189,246,255,.65), transparent 28%), linear-gradient(127deg,#0475be 0%,#1b9cd5 56%,#60d5ed 100%); color: white; }
        .hero::before { content: ''; pointer-events: none; position: absolute; inset: 0; opacity: .19; background-image: radial-gradient(white 2px, transparent 2.5px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, black, transparent); }
        .hero::after { content: ''; position: absolute; bottom: -83px; left: -10%; width: 120%; height: 165px; background: #f1fbff; border-radius: 50% 50% 0 0; z-index: -1; }
        .hero-inner { min-height: 530px; padding-block: 70px 116px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr); align-items: center; gap: 36px; }
        .eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.16); padding: 7px 17px; border-radius: 100px; font-size: .92rem; font-weight: 900; }
        h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); line-height: 1.23; letter-spacing: -.05em; margin: 19px 0 16px; text-shadow: 0 5px 0 rgba(5,85,148,.22); }
        h1 span { color: var(--yellow); }
        .hero-description { font-size: clamp(1.03rem,1.7vw,1.25rem); max-width: 560px; line-height: 1.95; margin: 0 0 24px; }
        .hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
        .chip { color: #16496d; background: white; padding: 7px 13px; border-radius: 50px; font-size: .91rem; font-weight: 900; box-shadow: 0 3px 0 rgba(4,77,126,.13); }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; padding: 13px 24px; min-height: 51px; border: 2px solid transparent; text-decoration: none; font-weight: 900; font-size: 1rem; transition: transform .16s, box-shadow .16s; }
        .btn:hover { transform: translateY(-3px); }
        .btn-primary { color: var(--navy); background: var(--yellow); box-shadow: 0 6px 0 #e9ae2d; }
        .btn-white { color: var(--blue-dark); background: #fff; box-shadow: 0 6px 0 rgba(0,79,130,.28); }
        .hero-art { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
        .orbit { width: min(100%,420px); aspect-ratio: 1; background: radial-gradient(circle at 40% 38%,#fff6c5,#ffe27a 63%,#ffc04f 64%,#ffb739 68%,transparent 69%); border-radius: 50%; filter: drop-shadow(0 22px 15px rgba(5,89,142,.16)); position: relative; display: grid; place-items: center; }
        .orbit::after { content: ''; border: 4px dashed rgba(255,255,255,.75); border-radius: 50%; position: absolute; inset: 23px; }
        .art-emoji { font-size: clamp(6rem,13vw,10rem); filter: drop-shadow(0 14px 4px rgba(100,68,0,.16)); z-index: 1; transform: rotate(-9deg); line-height: 1; }
        .float { position: absolute; display: grid; place-items: center; background: #fff; color: var(--navy); border: 4px solid #fff4b2; border-radius: 25px; width: 90px; height: 90px; font-size: 2.5rem; box-shadow: 0 11px 0 rgba(8,103,153,.2); z-index: 2; animation: kids-float 4s ease-in-out infinite; will-change: transform; }
        .float-one { top: 0; right: 0; --float-rotation: 13deg; }
        .float-two { bottom: 8px; left: -4px; --float-rotation: -12deg; animation-delay: -1.3s; }
        .float-three { top: 24px; left: 0; width: 70px; height: 70px; font-size: 2rem; --float-rotation: -13deg; animation-delay: -2.4s; }
        @keyframes kids-float { 0%, 100% { transform: translateY(0) rotate(var(--float-rotation, 0deg)); } 50% { transform: translateY(-13px) rotate(var(--float-rotation, 0deg)); } }
        .date-banner { position: relative; z-index: 2; margin-top: -53px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 3px solid #e3f6ff; border-radius: 24px; box-shadow: var(--shadow); padding: 18px 25px; }
        .date-head { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); }
        .date-icon { width: 52px; height: 52px; display: grid; place-items: center; background: #e4f7ff; border-radius: 16px; font-size: 1.55rem; }
        .date-dates { background: #fff3c5; border-radius: 15px; color: #73500b; padding: 10px 20px; font-weight: 900; text-align: center; }
        .section { padding-block: 67px 15px; }
        .section-head { text-align: center; margin-bottom: 29px; }
        .section-kicker { display: inline-flex; background: #fff0b5; border-radius: 30px; color: #806000; font-weight: 900; padding: 4px 14px; font-size: .86rem; }
        .section h2 { font-size: clamp(1.65rem,3.5vw,2.45rem); line-height: 1.4; color: var(--navy); margin: 9px 0; }
        .section-lead { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
        .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
        .step { padding: 25px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 2px solid #e4f2fb; text-align: center; }
        .step-icon { width: 84px; height: 84px; display: grid; place-items: center; background: #e3f8ff; border-radius: 24px; font-size: 2.6rem; margin: 0 auto 12px; }
        .step:nth-child(2) .step-icon { background: #fff1ca; }
        .step:nth-child(3) .step-icon { background: #dcf7e5; }
        .step h3 { color: var(--navy); font-size: 1.14rem; margin: 8px 0; }
        .step p { color: var(--muted); margin: 0; font-size: .95rem; }
        .zones-section { padding-top: 78px; }
        .adventure-name { display: inline-flex; gap: 7px; align-items: center; color: var(--blue-dark); font-weight: 900; font-size: 1.15rem; background: #e5f7ff; border-radius: 15px; padding: 8px 15px; margin: 0 0 20px; }
        .zones { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
        .zone { overflow: hidden; background: white; border: 2px solid #dceef8; border-radius: 26px; box-shadow: 0 9px 22px rgba(29,98,153,.08); transition: transform .2s, box-shadow .2s; }
        .zone:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
        .zone-visual { height: 150px; background: linear-gradient(135deg,var(--zone-bg,#bdeff6),#f5fcff); display: grid; place-items: center; position: relative; overflow: hidden; }
        .zone-visual::after { content: ''; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.32); position: absolute; bottom: -125px; left: -45px; }
        .zone-emoji { font-size: 4.7rem; filter: drop-shadow(0 8px 1px rgba(9,82,124,.1)); z-index: 1; }
        .zone-num { position: absolute; top: 14px; right: 14px; color: #245070; background: rgba(255,255,255,.8); border-radius: 100px; font-size: .77rem; font-weight: 900; padding: 4px 10px; }
        .zone-body { padding: 19px 22px 23px; }
        .zone h3 { color: var(--navy); margin: 0 0 7px; font-size: 1.17rem; }
        .zone p { margin: 0; color: var(--muted); min-height: 50px; font-size: .92rem; }
        .zone-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; border-top: 1px dashed #d9ebf5; padding-top: 13px; gap: 12px; }
        .zone-count { color: #176ca9; font-weight: 900; font-size: .87rem; }
        .zone-status { color: #657c8d; background: #f1f7fc; font-size: .8rem; border-radius: 9px; padding: 5px 9px; font-weight: 800; }
        .prizes { margin-top: 79px; background: linear-gradient(128deg,#0f5ba1,#168bc5); color: white; border-radius: 34px; padding: 37px clamp(22px,5vw,55px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; overflow: hidden; position: relative; }
        .prizes::after { content: '✦'; color: rgba(255,255,255,.12); font-size: 20rem; position: absolute; left: 15%; top: -125px; line-height: 1; pointer-events: none; }
        .prizes h2 { margin: 4px 0 9px; font-size: clamp(1.6rem,3.5vw,2.4rem); line-height: 1.35; color: white; }
        .prizes p { margin: 0; font-size: 1.05rem; max-width: 650px; }
        .prizes-emoji { font-size: 6rem; line-height: 1; filter: drop-shadow(0 12px 2px rgba(5,60,110,.2)); }
        .info-note { margin-top: 32px; background: #fff; border: 2px dashed #c1e4f4; padding: 19px 23px; border-radius: 20px; color: var(--muted); font-size: .95rem; }
        .info-note strong { color: var(--navy); }
        .footer { margin-top: 75px; background: #e1f4fc; text-align: center; padding: 24px 16px; color: #55758e; font-size: .9rem; }
        .footer strong { color: #146cb1; }
        @media (max-width: 880px) {
            .hero-inner { grid-template-columns: 1fr; padding-block: 57px 107px; gap: 35px; text-align: center; }
            .hero-description { margin-inline: auto; }
            .hero-chips, .hero-actions { justify-content: center; }
            .hero-art { min-height: 310px; }
            .orbit { max-width: 320px; }
            .steps,.zones { grid-template-columns: repeat(2,minmax(0,1fr)); }
        }
        @media (max-width: 610px) {
            .container { width: min(100% - 28px,1160px); }
            .topbar { min-height: 75px; }
            .brand img { width: 112px; }
            .brand-note { font-size: .66rem; padding-right: 8px; }
            .nav-link { font-size: .78rem; padding: 8px 10px; }
            .hero-inner { padding-top: 43px; }
            .hero-art { min-height: 240px; }
            .orbit { width: 240px; }
            .float { width: 65px; height: 65px; border-radius: 18px; font-size: 1.8rem; }
            .float-three { width: 58px; height: 58px; }
            .date-banner { justify-content: center; text-align: center; margin-top: -58px; padding: 15px; }
            .steps,.zones { grid-template-columns: 1fr; }
            .step { padding: 23px; }
            .zones-section { padding-top: 54px; }
            .prizes { grid-template-columns: 1fr; text-align: center; padding: 30px 19px; }
            .prizes-emoji { font-size: 4.5rem; }
            .hero-actions .btn { width: 100%; }
        }
        @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .zone,.btn { transition: none; } .float { animation: none; transform: rotate(var(--float-rotation, 0deg)); } }



/* ========================================
   HILA KIDS - SCROLL REVEAL
======================================== */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ظهور البطاقات بالتتابع */
.reveal-item {
    opacity: 0;
    transform: translateY(30px) scale(.97);
    transition:
        opacity .65s ease,
        transform .65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* احترام إعدادات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* شارة هدية إجازة نصف السنة */
.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #FFD93D;
    color: #092B63;

    padding: 10px 22px;
    border: 2px solid #FFFFFF;
    border-radius: 50px;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.6;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
    text-shadow: none;
}

/* ========================================
   KIDS HEADER - LOGOUT
======================================== */

.logout-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.btn-logout {
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;

    background: transparent;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 12px;

    padding: 9px 15px;
    cursor: pointer;

    color: inherit;
    transition: all .2s ease;
}

.btn-logout:hover {
    background: #fff0f0;
    color: #c62828;
    border-color: #ffc9c9;
}
