
:root {
    --red: #E8152A;
    --dark-red: #B01020;
    --black: #0A0A0A;
    --dark: #111111;
    --card: #181818;
    --white: #FFFFFF;
    --gray: #888888;
    --light-gray: #CCCCCC;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Rubik', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    direction: ltr;
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
    backdrop-filter: blur(2px);
    transition: padding 0.3s, background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--red); }

.nav-cta {
    background: var(--red);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--dark-red); transform: scale(1.04); }

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse 80% 60% at 50% 40%, rgba(232,21,42,0.18) 0%, transparent 70%),
            radial-gradient(ellipse 100% 100% at 50% 100%, rgba(0,0,0,0.9) 0%, transparent 60%),
            var(--black);
}

.hero-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232,21,42,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    animation: orbPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -60%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -60%) scale(1.15); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 120px 24px 60px;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: fadeDown 0.8s ease both;
    filter: drop-shadow(0 0 30px rgba(232,21,42,0.5));
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    animation: fadeUp 0.8s 0.2s ease both;
    opacity: 0;
}

.hero-title {
    font-size: clamp(52px, 9vw, 80px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -3px;
    animation: fadeUp 0.8s 0.3s ease both;
    opacity: 0;
}

.hero-title span {
    color: var(--red);
    display: block;
}

.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 300;
    color: var(--gray);
    max-width: 520px;
    line-height: 1.7;
    animation: fadeUp 0.8s 0.4s ease both;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.8s 0.5s ease both;
    opacity: 0;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid var(--red);
}

.btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,21,42,0.4);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.store-badges {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    animation: fadeUp 0.8s 0.6s ease both;
    opacity: 0;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.2s;
    cursor: pointer;
}

.store-badge:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(232,21,42,0.5);
    transform: translateY(-2px);
}

.store-badge-text small { display: block; font-size: 10px; color: var(--gray); font-weight: 400; }
.store-badge-text strong { display: block; font-size: 13px; font-weight: 700; }

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 1s 1s ease both, bounce 2s 2s ease-in-out infinite;
    opacity: 0;
}

.scroll-hint span { font-size: 11px; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; }

.scroll-hint-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--card);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 28px 48px;
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--red);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ── SECTIONS ── */
section { padding: 90px 48px; max-width: 1200px; margin: 0 auto; }

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(232,21,42,0.3);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

/* ── FEATURED SERIE ── */
#serie {
    padding: 0;
    max-width: 100%;
    background: linear-gradient(135deg, #0e0e0e 0%, #1a0508 50%, #0e0e0e 100%);
}

.serie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.serie-poster-wrap {
    position: relative;
    text-align: center;
}

.serie-poster-wrap::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(232,21,42,0.2) 0%, transparent 70%);
    border-radius: 20px;
}

.serie-poster {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(232,21,42,0.15);
    transition: transform 0.3s;
}

.serie-poster:hover { transform: scale(1.02) rotate(1deg); }

.serie-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232,21,42,0.15);
    border: 1px solid rgba(232,21,42,0.4);
    color: var(--red);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.serie-badge span {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}



.serie-title {
    font-size: clamp(40px, 6vw, 40px);
    font-weight: 900;
    letter-spacing: -2px;
    color: white;
    line-height: 1;
    margin-bottom: 20px;
    /* Arabic title rendered visually, keep font direction neutral */
    unicode-bidi: plaintext;
}

.serie-subtitle {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.serie-meta {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }

.meta-label {
    font-size: 10px;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.meta-value { font-size: 14px; font-weight: 600; color: white; }

.serie-desc {
    font-size: 15px;
    color: #aaa;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 32px;
}

.serie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── EPISODES ── */
#episodes { padding: 90px 48px; max-width: 1200px; margin: 0 auto; }

.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.episode-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.25s;
    cursor: pointer;
}

.episode-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232,21,42,0.3);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.episode-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #1e1e1e;
    overflow: hidden;
}

.episode-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #222);
    font-size: 48px;
    color: rgba(255,255,255,0.05);
    font-weight: 900;
}

.episode-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.2s;
}

.episode-card:hover .episode-play { opacity: 1; }

.play-icon {
    width: 52px;
    height: 52px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(232,21,42,0.6);
    transition: transform 0.15s;
}

.episode-card:hover .play-icon { transform: scale(1.1); }

.ep-num-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.episode-info { padding: 18px 20px; }
.episode-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 6px; }
.episode-meta { font-size: 12px; color: var(--gray); font-weight: 400; }

/* VIDEO MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(8px);
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-box {
    width: 90%;
    max-width: 900px;
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-box { transform: scale(1); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.modal-title { font-size: 16px; font-weight: 700; }

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover { background: rgba(232,21,42,0.4); }

.modal-video { aspect-ratio: 16/9; width: 100%; background: black; }
.modal-video iframe { width: 100%; height: 100%; border: none; }

.youtube-input-wrap {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.yt-input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    direction: ltr;
}

.yt-input:focus { border-color: var(--red); }
.yt-input::placeholder { color: var(--gray); }

.yt-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.yt-btn:hover { background: var(--dark-red); }

/* ── FEATURES ── */
#features { padding: 90px 48px; max-width: 1200px; margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: rgba(232,21,42,0.25);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(232,21,42,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red);
}

.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--gray); line-height: 1.7; font-weight: 300; }

/* ── DOWNLOAD CTA ── */
#download {
    padding: 0;
    max-width: 100%;
    background: var(--card);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.download-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.download-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 16px;
}

.download-title em { color: var(--red); font-style: normal; }

.download-sub {
    font-size: 16px;
    color: var(--gray);
    font-weight: 300;
    margin-bottom: 36px;
    line-height: 1.7;
}

.store-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #0A0A0A;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: 'Rubik', sans-serif;
}

.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

.store-btn.dark {
    background: #1a1a1a;
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
}

.store-btn-text small { display: block; font-size: 10px; color: #666; font-weight: 400; }
.store-btn.dark .store-btn-text small { color: #888; }
.store-btn-text strong { display: block; font-size: 14px; font-weight: 700; }

/* Phone mockup */
.phone-mockup { width: 200px; position: relative; }

.phone-frame {
    width: 180px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 36px;
    border: 2px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
    box-shadow:
            0 0 0 8px #111,
            0 0 0 10px rgba(232,21,42,0.2),
            0 30px 60px rgba(0,0,0,0.6);
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1a1a1a, #0d0d0d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.phone-logo { width: 60px; height: 60px; object-fit: contain; }
.phone-app-name { font-size: 18px; font-weight: 900; color: white; }
.phone-app-sub { font-size: 10px; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; }

/* ── FOOTER ── */
footer {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 48px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 42px; width: auto; }
.footer-brand { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }

.social-links { display: flex; gap: 14px; }

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gray);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232,21,42,0.4);
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    padding-top: 24px;
}

.footer-bottom span { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    section, #episodes, #features { padding: 60px 24px; }
    .serie-inner { grid-template-columns: 1fr; gap: 40px; }
    .serie-poster { max-width: 280px; }
    .features-grid { grid-template-columns: 1fr; }
    .download-inner { grid-template-columns: 1fr; }
    .phone-mockup { display: none; }
    .stats-bar { gap: 32px; padding: 24px; }
    footer { padding: 40px 24px; }
}

@media (max-width: 600px) {
    .hero-title { letter-spacing: -2px; }
    .episodes-grid { grid-template-columns: 1fr; }
    .store-buttons { flex-direction: column; }
}
.episode-thumb--embed {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 8px;
}

.episode-thumb--embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}