/* ╔══════════════════════════════════════════╗
   ║  Jannah Child - Kooralivex Front Page    ║
   ║  Dark Neon Design (Home only)            ║
   ╚══════════════════════════════════════════╝ */

:root {
    --fp-primary: #00d4ff;
    --fp-secondary: #b537f2;
    --fp-accent: #ff006e;
    --fp-bg-1: #0f0c29;
    --fp-bg-2: #302b63;
    --fp-bg-3: #24243e;
    --fp-card-bg: rgba(26, 26, 46, 0.9);
    --fp-card-border: rgba(0, 212, 255, 0.3);
    --fp-text: #e0e0e0;
    --fp-text-muted: #b0b0b0;
    --fp-radius: 8px;
    --fp-font: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ═══════ الريسيت + الأساس (الرئيسية فقط) ═══════ */
body.jchild-front {
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, var(--fp-bg-1) 0%, var(--fp-bg-2) 50%, var(--fp-bg-3) 100%) !important;
    color: var(--fp-text) !important;
    font-family: var(--fp-font) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    direction: rtl !important;
    text-align: right !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.jchild-front *,
body.jchild-front *::before,
body.jchild-front *::after {
    box-sizing: border-box;
}

body.jchild-front img { max-width: 100%; height: auto; display: block; }

body.jchild-front a {
    color: var(--fp-primary);
    text-decoration: none;
    transition: all 0.25s ease;
}
body.jchild-front a:hover { color: var(--fp-secondary); }

body.jchild-front h1,
body.jchild-front h2,
body.jchild-front h3,
body.jchild-front h4 {
    font-family: var(--fp-font);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .6em;
    color: #fff;
}

body.jchild-front p { margin: 0 0 1em; }

body.jchild-front .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

body.jchild-front .skip-link {
    position: absolute;
    right: -9999px;
    top: 8px;
    background: #0f0c29;
    color: #fff;
    padding: 8px 14px;
    z-index: 999;
    border-radius: var(--fp-radius);
}
body.jchild-front .skip-link:focus { right: 8px; }

/* ═══════ Header ═══════ */
body.jchild-front .jchild-site-header {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 255, 255, 0.25);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #00d4ff 0%, #b537f2 50%, #ff006e 100%) 1;
    position: sticky;
    top: 0;
    z-index: 100;
}

body.jchild-front .jchild-site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

body.jchild-front .site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

body.jchild-front .site-logo img {
    max-height: 52px;
    width: auto;
}

body.jchild-front .site-title,
body.jchild-front .site-title a {
    background: linear-gradient(135deg, #00e5ff 0%, #00d4ff 30%, #7b5cff 60%, #ff4da6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.55)) drop-shadow(0 0 6px rgba(181, 55, 242, 0.4));
    margin: 0;
    display: inline-block;
}

body.jchild-front .site-description {
    color: #00e5ff !important;
    font-size: 13px;
    margin: 2px 0 0;
    opacity: 0.95;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

body.jchild-front .main-nav {
    display: flex;
    align-items: center;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.jchild-front .main-nav ul,
body.jchild-front .main-nav ol,
body.jchild-front .main-nav .menu,
body.jchild-front nav#jchild-nav ul,
body.jchild-front #primary-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}

@media (min-width: 769px) {
    body.jchild-front .main-nav ul,
    body.jchild-front .main-nav ol,
    body.jchild-front .main-nav .menu,
    body.jchild-front nav#jchild-nav ul,
    body.jchild-front #primary-menu {
        display: flex !important;
        flex-wrap: wrap !important;
        position: static !important;
        width: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

body.jchild-front .main-nav li,
body.jchild-front .main-nav .menu-item {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

body.jchild-front .main-nav li::before,
body.jchild-front .main-nav li::after {
    display: none !important;
    content: none !important;
}

body.jchild-front .main-nav a {
    display: block !important;
    padding: 10px 14px !important;
    color: #e0e0e0 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    background: transparent !important;
    border-radius: var(--fp-radius) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

body.jchild-front .main-nav a:hover,
body.jchild-front .main-nav .current-menu-item > a {
    color: var(--fp-primary) !important;
    background: rgba(0, 212, 255, 0.08) !important;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

body.jchild-front .menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    padding: 6px 10px;
}

body.jchild-front .hamburger {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
}

body.jchild-front .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.25s ease;
}

body.jchild-front .hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.jchild-front .hamburger.is-active span:nth-child(2) { opacity: 0; }
body.jchild-front .hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════ Main ═══════ */
body.jchild-front .site-main { padding: 0; }

body.jchild-front .frontpage section { padding: 70px 0; }

body.jchild-front .frontpage section h2 {
    text-align: center;
    font-size: 36px;
    margin: 0 0 50px;
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
}

body.jchild-front .fp-features h2,
body.jchild-front .fp-sports h2,
body.jchild-front .fp-alternatives h2,
body.jchild-front .fp-latest h2 {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

/* ═══════ Hero CTA ═══════ */
body.jchild-front .fp-hero-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 70px 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

body.jchild-front .fp-hero-cta::before,
body.jchild-front .fp-hero-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: fp-float 8s ease-in-out infinite;
    pointer-events: none;
}

body.jchild-front .fp-hero-cta::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

body.jchild-front .fp-hero-cta::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(181, 55, 242, 0.15) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    animation-direction: reverse;
    animation-duration: 10s;
}

@keyframes fp-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

body.jchild-front .fp-hero-content {
    position: relative;
    z-index: 2;
}

body.jchild-front .fp-hero-content h1 {
    color: #fff;
    font-size: 42px;
    margin: 0 0 18px;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 212, 255, 0.5);
}

body.jchild-front .fp-hero-content p {
    color: #e0e0e0;
    font-size: 19px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ═══════ Matches ═══════ */
body.jchild-front .fp-matches {
    background: linear-gradient(180deg, rgba(15, 12, 41, 0.92) 0%, rgba(36, 36, 62, 0.85) 100%);
    position: relative;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    border-bottom: 1px solid rgba(181, 55, 242, 0.15);
}

body.jchild-front .fp-matches h2 {
    background: linear-gradient(135deg, #00d4ff 0%, #b537f2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
    color: transparent !important;
}

body.jchild-front .fp-notice {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(26, 26, 46, 0.85) !important;
    border: 1px dashed rgba(0, 212, 255, 0.35) !important;
    color: #e0e0e0 !important;
    padding: 22px 26px;
    border-radius: var(--fp-radius);
    text-align: center;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ═══════ Latest Posts ═══════ */
body.jchild-front .fp-latest {
    background: rgba(15, 12, 41, 0.5);
    backdrop-filter: blur(5px);
}

body.jchild-front .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

body.jchild-front .post-card {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--fp-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

body.jchild-front .post-card:hover {
    transform: translateY(-3px);
    border-color: var(--fp-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.25);
}

body.jchild-front .post-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a2e;
    display: block;
}

body.jchild-front .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

body.jchild-front .post-card:hover .post-thumb img { transform: scale(1.05); }

body.jchild-front .post-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.jchild-front .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: var(--fp-text-muted);
    margin-bottom: 8px;
}

body.jchild-front .post-meta a { color: var(--fp-primary); }

body.jchild-front .post-title {
    font-size: 1.1rem;
    margin: 0 0 8px;
    line-height: 1.4;
}

body.jchild-front .post-title a { color: #fff; }
body.jchild-front .post-title a:hover { color: var(--fp-primary); }

body.jchild-front .post-excerpt {
    font-size: 14.5px;
    color: var(--fp-text-muted);
    margin: 0 0 12px;
    flex: 1;
}

body.jchild-front .read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-primary);
    align-self: flex-start;
}
body.jchild-front .read-more::after { content: ' ←'; }

body.jchild-front .fp-more {
    text-align: center;
    margin-top: 36px;
}

body.jchild-front .btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--fp-primary) 0%, var(--fp-secondary) 100%);
    color: #fff;
    padding: 12px 32px;
    border: 0;
    border-radius: var(--fp-radius);
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
}

body.jchild-front .btn:hover {
    color: #fff;
    box-shadow: 0 0 35px rgba(181, 55, 242, 0.6);
    transform: translateY(-2px);
}

/* ═══════ Cards Grid ═══════ */
body.jchild-front .fp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

body.jchild-front .fp-cards-grid.fp-cards-sm {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* ═══════ Card Base ═══════ */
body.jchild-front .fp-card {
    background: var(--fp-card-bg);
    border: 1px solid var(--fp-card-border);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    color: var(--fp-text);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.12);
}

body.jchild-front .fp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.08), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    pointer-events: none;
}

body.jchild-front .fp-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(181, 55, 242, 0.6);
    box-shadow:
        0 15px 45px rgba(0, 212, 255, 0.35),
        0 0 50px rgba(181, 55, 242, 0.2);
}

body.jchild-front .fp-card:hover::before { left: 100%; }

body.jchild-front .fp-card h3 {
    font-size: 18px;
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.4;
    font-weight: 700;
}

body.jchild-front .fp-card p {
    color: var(--fp-text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

body.jchild-front .fp-icon {
    display: inline-block;
    margin-left: 4px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

/* ═══════ Features Cards ═══════ */
body.jchild-front .fp-features {
    background: rgba(255, 255, 255, 0.03);
}

body.jchild-front .fp-feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    padding: 35px 25px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow:
        0 5px 30px rgba(0, 212, 255, 0.2),
        inset 0 0 40px rgba(0, 212, 255, 0.05);
}

body.jchild-front .fp-feature-card h3 { font-size: 19px; }

/* ═══════ Sports Cards ═══════ */
body.jchild-front .fp-sports {
    background: linear-gradient(180deg, rgba(15, 12, 41, 0.5) 0%, rgba(36, 36, 62, 0.5) 100%);
    backdrop-filter: blur(5px);
}

body.jchild-front .fp-sport-card h3 {
    background: linear-gradient(135deg, var(--fp-primary) 0%, var(--fp-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 17px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

/* ═══════ Alternatives Cards ═══════ */
body.jchild-front .fp-alternatives {
    background: linear-gradient(180deg, rgba(36, 36, 62, 0.5) 0%, rgba(15, 12, 41, 0.5) 100%);
    backdrop-filter: blur(5px);
}

body.jchild-front .fp-alt-card h3 {
    background: linear-gradient(135deg, var(--fp-primary) 0%, var(--fp-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 17px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 110, 0.3));
}

/* ═══════ Contact ═══════ */
body.jchild-front .fp-contact {
    background: linear-gradient(180deg, rgba(15, 12, 41, 0.8) 0%, rgba(36, 36, 62, 0.8) 100%);
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

body.jchild-front .fp-contact-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 18px;
    padding: 40px 60px;
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(10px);
}

body.jchild-front .fp-contact-icon {
    font-size: 52px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

body.jchild-front .fp-contact-card p {
    color: var(--fp-text-muted);
    font-size: 16px;
    margin: 0;
}

body.jchild-front .fp-contact-email {
    color: var(--fp-primary);
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transition: all 0.3s;
    word-break: break-all;
}

body.jchild-front .fp-contact-email:hover {
    color: var(--fp-secondary);
    text-shadow: 0 0 25px rgba(181, 55, 242, 0.8);
}

/* ═══════ Footer SEO ═══════ */
body.jchild-front .jchild-site-footer {
    background: rgba(15, 12, 41, 0.98);
    color: var(--fp-text-muted);
    padding: 30px 0 0;
    margin-top: 40px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #00d4ff 0%, #b537f2 50%, #ff006e 100%) 1;
}

body.jchild-front .footer-seo {
    padding: 24px 0 10px;
    border-top: 1px solid #333;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

body.jchild-front .footer-seo p {
    margin: 10px 0;
    color: #b0b0b0;
}

body.jchild-front .footer-seo strong {
    color: #fff;
    margin-left: 6px;
    font-weight: 700;
}

body.jchild-front .footer-seo .footer-description {
    font-size: 15px;
    max-width: 900px;
    margin: 0 auto 18px;
}

body.jchild-front .footer-seo .footer-keywords {
    font-size: 13px;
    line-height: 2;
}

body.jchild-front .footer-bottom {
    text-align: center;
    padding: 14px 0;
    border-top: 1px solid #333;
    font-size: 13.5px;
    margin-top: 10px;
}

body.jchild-front .footer-bottom p { margin: 0; color: #b0b0b0; }
body.jchild-front .footer-bottom a { color: var(--fp-primary); }

/* ═══════ Responsive ═══════ */
@media (max-width: 960px) {
    body.jchild-front .fp-hero-content h1 { font-size: 32px; }
}

@media (max-width: 768px) {
    body.jchild-front .menu-toggle { display: inline-flex !important; }
    body.jchild-front .main-nav ul,
    body.jchild-front .main-nav .menu,
    body.jchild-front #primary-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        background: rgba(15, 12, 41, 0.98) !important;
        backdrop-filter: blur(15px);
        flex-direction: column !important;
        padding: 10px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
        z-index: 99;
        gap: 0 !important;
    }
    body.jchild-front .main-nav.is-open ul,
    body.jchild-front .main-nav.is-open .menu,
    body.jchild-front .main-nav.is-open #primary-menu { display: flex !important; }
    body.jchild-front .main-nav a { border-radius: 4px; }
    body.jchild-front .jchild-site-header { position: relative; }
    body.jchild-front .fp-hero-content h1 { font-size: 28px; }
    body.jchild-front .fp-hero-content p { font-size: 16px; }
    body.jchild-front .frontpage section { padding: 50px 0; }
    body.jchild-front .frontpage section h2 { font-size: 26px; margin-bottom: 35px; }
    body.jchild-front .fp-cards-grid,
    body.jchild-front .fp-cards-grid.fp-cards-sm { grid-template-columns: 1fr; gap: 18px; }
    body.jchild-front .fp-contact-card { padding: 30px 20px; width: 90%; box-sizing: border-box; }
    body.jchild-front .fp-contact-email { font-size: 16px; }
}

@media (max-width: 480px) {
    body.jchild-front .site-title,
    body.jchild-front .site-title a { font-size: 1.5rem; }
    body.jchild-front .fp-hero-content h1 { font-size: 22px; }
    body.jchild-front .fp-card h3 { font-size: 16px; }
    body.jchild-front .fp-card p { font-size: 13px; }
    body.jchild-front .posts-grid { grid-template-columns: 1fr; }
}
