/* =====================================================================
   Dream Nova Studio – Playable Ads & Web Games pages (shared styles)
   Used by: playable-ads.html, web-games.html
   ===================================================================== */
:root {
    --accent: #ff3c5c; --accent2: #7b2ff7; --accent3: #00e5ff; --gold: #ffd560;
    --dark: #06060e; --dark2: #0c0c1a; --dark3: #111126;
    --text-muted: rgba(255,255,255,0.52); --text-body: rgba(255,255,255,0.76);
    --border: rgba(255,255,255,0.08); --radius: 16px;
}
* { box-sizing: border-box; }
body { background: var(--dark); color: #fff; font-family: 'Roboto', sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; }

.header { background: rgba(6,6,14,0.85) !important; backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.navmenu ul li a { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; }
.navmenu .dropdown ul { background: rgba(12,12,26,0.98) !important; border: 1px solid rgba(123,47,247,0.3) !important; border-radius: 12px !important; min-width: 240px !important; }

.eyebrow { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title-big { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 15px; line-height: 1.8; font-weight: 300; }
.page-section { padding: 90px 0; }
.bg-2 { background: var(--dark2); }
.bg-3 { background: var(--dark3); }

/* ===== HERO ===== */
.pg-hero { padding: 150px 0 80px; position: relative; overflow: hidden;
    background: radial-gradient(ellipse 60% 70% at 80% 10%, rgba(123,47,247,0.28), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(255,60,92,0.12), transparent 70%), var(--dark); }
.pg-hero.web { background: radial-gradient(ellipse 60% 70% at 80% 10%, rgba(0,229,255,0.18), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(123,47,247,0.2), transparent 70%), var(--dark); }
.pg-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(123,47,247,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(123,47,247,0.05) 1px, transparent 1px);
    background-size: 60px 60px; }
.pg-hero .container { position: relative; }
.breadcrumbs-mini { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs-mini a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs-mini a:hover { color: #fff; }
.pg-hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; line-height: 1.05; margin-bottom: 20px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pg-hero .lead-txt { color: var(--text-body); font-size: 17px; line-height: 1.75; font-weight: 300; max-width: 560px; margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-body); font-size: 15px; }
.hero-points i { color: var(--gold); margin-top: 2px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual: phone mock / browser mock with live demo */
.hero-visual { display: flex; justify-content: center; }
.mock-phone { width: 280px; aspect-ratio: 9/19.5; border-radius: 40px; padding: 11px; background: #15151f; border: 2px solid #2a2a3a; box-shadow: 0 40px 100px rgba(123,47,247,.35); position: relative; }
.mock-phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 20px; background: #000; z-index: 2; }
.mock-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #000; display: block; }
.mock-browser { width: 100%; max-width: 560px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 40px 100px rgba(0,229,255,.18); background: #000; }
.mock-browser .bar { height: 34px; background: #16162a; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mock-browser .bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a55; }
.mock-browser .bar .url { flex: 1; height: 20px; border-radius: 6px; background: #0c0c1a; margin-left: 10px; font-size: 11px; color: var(--text-muted); display: flex; align-items: center; padding: 0 10px; font-family: 'Inter', sans-serif; }
.mock-browser iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.mock-caption { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* ===== BUTTONS ===== */
.btn-glow { background: linear-gradient(135deg, var(--accent), #c2185b); color: #fff !important; padding: 15px 32px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 0 40px rgba(255,60,92,0.35); transition: .3s; border: none; cursor: pointer; }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(255,60,92,0.55); }
.btn-line { color: rgba(255,255,255,0.85) !important; padding: 15px 30px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.18); transition: .3s; }
.btn-line:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trust-item i { font-size: 26px; color: var(--accent2); }
.trust-item b { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; }
.trust-item small { color: var(--text-muted); font-size: 12px; }

/* ===== GENERIC CARDS ===== */
.why-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; height: 100%; transition: .3s; }
.why-card:hover { border-color: rgba(255,60,92,0.3); background: rgba(255,60,92,0.04); transform: translateY(-4px); }
.why-card > i { font-size: 26px; color: var(--accent); display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255,60,92,.1); margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ===== DEMO CARDS ===== */
.game-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.game-filters button { cursor: pointer; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 20px; border-radius: 50px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); transition: .25s; }
.game-filters button.active, .game-filters button:hover { background: var(--accent2); border-color: var(--accent2); color: #fff; }
.play-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .35s cubic-bezier(.4,0,.2,1); }
.play-card:hover { border-color: rgba(123,47,247,0.5); transform: translateY(-6px); box-shadow: 0 30px 80px rgba(123,47,247,0.15); }
.play-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; background: radial-gradient(circle at 30% 30%, #3a1670, #0c0c1a 70%); }
.play-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.play-card:hover .play-thumb img { transform: scale(1.06); }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(to top, rgba(6,6,14,0.8), rgba(6,6,14,0.1)); }
.play-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,60,92,0.92); display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; box-shadow: 0 0 0 10px rgba(255,60,92,0.18); transition: .3s; }
.play-card:hover .play-icon { transform: scale(1.12); }
.type-badge { position: absolute; top: 14px; left: 14px; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 50px; z-index: 2; background: var(--gold); color: #000; }
.type-badge.web { background: var(--accent3); }
.play-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.play-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.play-body .client-line { font-size: 12px; color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 10px; }
.play-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; flex: 1; }
.spec-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.spec-row span { font-size: 11px; padding: 4px 10px; border-radius: 50px; background: rgba(123,47,247,0.14); color: #c9b3ff; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-play { background: var(--gold); color: #000 !important; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 10px 20px; border-radius: 50px; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: .2s; cursor: pointer; }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,213,96,0.3); }
.btn-ghost { color: var(--text-body) !important; font-size: 12px; font-weight: 600; padding: 10px 16px; border-radius: 50px; border: 1px solid var(--border); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: #fff !important; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,0.025); }
.process-step::before { counter-increment: step; content: "0" counter(step); font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 40px; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 14px; }
.process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.process-step .time { display: inline-block; margin-top: 12px; font-size: 11px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--accent3); letter-spacing: 1px; text-transform: uppercase; }

/* ===== DELIVERABLES ===== */
.deliver-box { border-radius: 20px; border: 1px solid rgba(123,47,247,0.3); background: linear-gradient(135deg, rgba(123,47,247,0.1), rgba(255,60,92,0.05)); padding: 36px; height: 100%; }
.deliver-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; color: var(--text-body); font-size: 14.5px; line-height: 1.6; }
.check-list li i { color: var(--accent2); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* ===== PILL ROW ===== */
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill-row span { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 50px; border: 1px solid var(--border); color: var(--text-body); background: rgba(255,255,255,0.02); }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; background: rgba(255,255,255,0.02); }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent2); transition: .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* ===== QUOTE FORM ===== */
.quote-wrap { border-radius: 24px; border: 1px solid rgba(123,47,247,0.35); background: linear-gradient(135deg, rgba(123,47,247,0.16), rgba(255,60,92,0.08)); padding: 44px; }
.quote-wrap .form-control, .quote-wrap .form-select { background: rgba(6,6,14,0.6) !important; border: 1px solid rgba(255,255,255,0.12) !important; border-radius: 12px !important; color: #fff !important; font-size: 14px !important; padding: 14px 18px !important; }
.quote-wrap .form-control:focus, .quote-wrap .form-select:focus { border-color: var(--accent2) !important; box-shadow: 0 0 0 3px rgba(123,47,247,0.15) !important; }
.quote-wrap .form-control::placeholder { color: rgba(255,255,255,0.35) !important; }
.quote-wrap .form-select option { background: #0c0c1a; color: #fff; }
.quote-side h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.quote-side p { color: var(--text-body); font-size: 15px; line-height: 1.75; }
.quote-contact { margin-top: 22px; display: grid; gap: 10px; font-size: 14px; color: var(--text-body); }
.quote-contact a { color: var(--text-body); text-decoration: none; }
.quote-contact i { color: var(--gold); margin-right: 8px; }
.loading, .sent-message, .error-message { display: none; }
.sent-message { color: #2ecc71; background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); border-radius: 10px; padding: 12px 20px; text-align: center; font-size: 14px; }
.error-message { color: var(--accent); background: rgba(255,60,92,0.08); border: 1px solid rgba(255,60,92,0.2); border-radius: 10px; padding: 12px 20px; text-align: center; font-size: 14px; }
.loading { color: var(--text-muted); font-size: 13px; text-align: center; }

/* ===== CROSS LINK ===== */
.cross-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 32px; border-radius: 20px; border: 1px solid var(--border); background: rgba(255,255,255,0.025); text-decoration: none !important; transition: .3s; }
.cross-link:hover { border-color: rgba(0,229,255,0.4); }
.cross-link b { font-family: 'Poppins', sans-serif; font-size: 18px; color: #fff; display: block; }
.cross-link span { color: var(--text-muted); font-size: 14px; }
.cross-link i { font-size: 24px; color: var(--accent3); }

/* ===== PLAYER MODAL ===== */
.player-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(3,3,8,0.93); backdrop-filter: blur(8px); padding: 20px; }
.player-modal.open { display: flex; }
.player-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-height: 100%; }
.player-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: 1000px; }
.player-top h4 { font-size: 16px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-tools { display: flex; gap: 8px; flex-shrink: 0; }
.player-tools button, .player-tools a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.06); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; text-decoration: none; }
.player-tools button:hover, .player-tools a:hover { background: var(--accent2); }
.frame-landscape { width: min(1000px, 100%, calc((100vh - 150px) * 16 / 9)); aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.frame-portrait { height: min(780px, calc(100vh - 150px)); aspect-ratio: 9/19.5; border-radius: 38px; padding: 12px; background: #15151f; border: 2px solid #2a2a3a; box-shadow: 0 30px 80px rgba(0,0,0,.6); position: relative; }
.frame-portrait::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.frame-portrait iframe { border-radius: 28px; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player-bottom { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.player-note { font-size: 12px; color: var(--text-muted); }
.player-cta { font-size: 13px; padding: 10px 22px; }
@media (max-width: 576px) {
    .player-modal { padding: 10px; }
    .frame-portrait { height: calc(100vh - 150px); width: 100%; aspect-ratio: auto; padding: 0; border: 0; border-radius: 14px; }
    .frame-portrait::before { display: none; }
    .frame-portrait iframe { border-radius: 14px; }
}

/* ===== FOOTER ===== */
.footer-mini { border-top: 1px solid var(--border); background: var(--dark2); padding: 30px 0; text-align: center; font-size: 13px; color: var(--text-muted); }
.footer-mini a { color: var(--text-muted); text-decoration: none; margin: 0 10px; display: inline-block; margin-bottom: 6px; }
.footer-mini a:hover { color: #fff; }

@media (max-width: 991px) { .hero-visual { margin-top: 40px; } }
@media (max-width: 768px) { .page-section { padding: 60px 0; } .pg-hero { padding: 120px 0 50px; } .quote-wrap { padding: 26px; } .trust-item { justify-content: flex-start; } }
