/* =========================================================
   퓨어 소셜카지노 — Play Store download landing
   Bright premium · royal purple + gold · art-directed
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&display=swap');
/* Pretendard (KR) loaded from CDN in <head> */

:root {
    --bg: #ffffff;
    --bg-soft: #f5f2fb;
    --bg-lav: #efe9fb;
    --ink: #160f23;
    --text: #1c1430;
    --muted: #645c7a;
    --faint: #9a93ad;
    --line: rgba(22, 15, 35, 0.09);
    --line-2: rgba(22, 15, 35, 0.15);

    --purple: #7c3aed;
    --purple-deep: #5b21b6;
    --purple-lt: #a855f7;
    --gold: #f5b301;
    --gold-lt: #ffd24a;
    --gold-deep: #c98605;
    --green: #16a34a;

    --grad-purple: linear-gradient(135deg, #7c3aed, #a855f7);
    --grad-gold: linear-gradient(135deg, #ffd24a, #f0a500);
    --grad-ink: linear-gradient(160deg, #241a3a, #140d22);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --bounce: cubic-bezier(0.34, 1.45, 0.5, 1);
    --r: 18px;
    --r-lg: 28px;
    --r-sm: 12px;
    /* layered, color-tinted shadows = depth */
    --sh-sm: 0 2px 6px rgba(22,15,35,.05), 0 10px 24px rgba(91,33,182,.06);
    --sh: 0 4px 10px rgba(22,15,35,.06), 0 24px 50px rgba(91,33,182,.13);
    --sh-lg: 0 8px 18px rgba(22,15,35,.08), 0 40px 80px rgba(91,33,182,.20);
    --sh-purple: 0 14px 34px rgba(124,58,237,.36);
    --sh-gold: 0 12px 30px rgba(240,165,0,.32);
    --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Pretendard Variable', Pretendard, 'Outfit', system-ui, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.65;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #d9cdf3; border-radius: 20px; border: 2px solid var(--bg-soft); }

.container { max-width: var(--maxw); width: 90%; margin: 0 auto; }
.num { font-family: 'Outfit', sans-serif; font-feature-settings: "tnum"; }

/* ---- type helpers ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.purple-text { background: var(--grad-purple); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ico { width: 1.25em; height: 1.25em; stroke-width: 1.8; }

/* ---- buttons / badges ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: transform .25s var(--bounce), box-shadow .25s var(--ease); }
.btn .ico { width: 18px; height: 18px; }
.btn-play { background: var(--grad-purple); color: #fff; box-shadow: var(--sh-purple); }
.btn-play:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 46px rgba(124,58,237,.46); }
.btn-ghost { background: #fff; color: var(--purple-deep); border: 1.5px solid var(--line-2); box-shadow: var(--sh-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--purple); }
.btn-sm { padding: 11px 19px; font-size: .92rem; }

.gp-badge { display: inline-flex; align-items: center; gap: 13px; padding: 12px 26px 12px 20px; border-radius: 15px; background: var(--ink); color: #fff; box-shadow: var(--sh); transition: transform .25s var(--bounce), box-shadow .25s; }
.gp-badge:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 26px 52px rgba(22,15,35,.3); }
.gp-badge .gp-ico { width: 25px; height: 27px; flex: 0 0 auto; }
.gp-badge .gp-tx { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.gp-badge .gp-tx small { font-size: .62rem; letter-spacing: .1em; opacity: .82; text-transform: uppercase; }
.gp-badge .gp-tx b { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; }
.stars { color: var(--gold); letter-spacing: 1px; display: inline-flex; }
.stars .ico { width: 1em; height: 1em; fill: var(--gold); stroke: none; }

/* decorative coins & sparkles */
.coin { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #f0a500 60%, #b97900); box-shadow: inset 0 -3px 6px rgba(120,70,0,.5), 0 8px 18px rgba(200,134,5,.4); border: 2px solid #ffd24a; }
.coin::after { content: '$'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b97900; font-weight: 900; font-family: 'Outfit'; font-size: .8em; }
.spark { position: absolute; color: var(--gold-lt); filter: drop-shadow(0 0 6px rgba(255,210,74,.8)); }

/* =========================================================
   AGE STRIP + HEADER
   ========================================================= */
.age-strip { background: var(--ink); color: #e9e2fb; text-align: center; font-size: .82rem; padding: 9px 16px; }
.age-strip b { color: var(--gold-lt); }

header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.8); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); transition: .3s var(--ease); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--sh-sm); }
.brand b { font-size: 1.12rem; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .94rem; transition: color .2s; position: relative; }
.nav-links a::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; border-radius:2px; background:var(--grad-gold); transition:width .25s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* =========================================================
   HERO — layered composition
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 76px 0 96px;
    background:
      radial-gradient(70% 60% at 78% 12%, rgba(168,85,247,.18), transparent 62%),
      radial-gradient(60% 55% at 10% 88%, rgba(245,179,1,.16), transparent 60%),
      linear-gradient(180deg, #faf8ff, #ffffff 70%); }
.hero-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.06fr; gap: 50px; align-items: center; }

/* glass app card */
.app-card { display: inline-flex; align-items: center; gap: 15px; padding: 14px 22px 14px 14px; background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: var(--sh); border-radius: 20px; backdrop-filter: blur(10px); margin-bottom: 24px; }
.app-card img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--sh-sm); }
.app-card .ac-meta b { display: block; font-size: 1.05rem; font-weight: 800; }
.app-card .ac-meta .ac-rate { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--muted); margin-top: 3px; }
.app-card .badge-editor { display: inline-block; margin-top: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: var(--purple-deep); background: var(--bg-lav); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }

.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 .gold-text { -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 33ch; margin-bottom: 26px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-mini { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 30px; }
.hero-mini .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.14); }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats .s b { font-family: 'Outfit'; font-size: 1.7rem; font-weight: 800; display: block; line-height: 1; }
.hero-stats .s span { font-size: .8rem; color: var(--faint); margin-top: 4px; display: block; }
.hero-stats .s + .s { padding-left: 30px; border-left: 1px solid var(--line); }

/* hero screenshot stage — overlapping tilted devices */
.stage { position: relative; height: 460px; }
.stage .dev { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: var(--sh-lg); border: 3px solid #fff; }
.stage .dev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage .dev-back { width: 60%; top: 6%; right: 2%; transform: rotate(6deg); aspect-ratio: 1280/860; opacity: .96; }
.stage .dev-main { width: 74%; bottom: 4%; left: 0; transform: rotate(-4deg); aspect-ratio: 1280/860; z-index: 3; }
.stage .glow { position: absolute; width: 70%; height: 70%; top: 12%; left: 12%; background: radial-gradient(circle, rgba(124,58,237,.4), transparent 70%); filter: blur(50px); z-index: 0; }
.stage .chip { position: absolute; z-index: 5; background: #fff; border-radius: 14px; padding: 9px 14px; box-shadow: var(--sh); display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; }
.stage .chip-rate { top: 0; left: -6%; color: var(--gold-deep); }
.stage .chip-rate .num { font-size: 1.2rem; }
.stage .chip-free { bottom: 8%; right: -4%; color: var(--purple-deep); }
.stage .chip-free .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.stage .coin { z-index: 4; }

/* =========================================================
   LOGO / TRUST STRIP
   ========================================================= */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust .container { display: flex; flex-wrap: wrap; gap: 14px 38px; align-items: center; justify-content: center; padding: 18px 0; }
.trust .t { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); font-weight: 600; }
.trust .t b { color: var(--text); font-family: 'Outfit'; }
.trust .t .tico { width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--purple); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.trust .t .tico .ico { width: 17px; height: 17px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.s-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.s-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 900; letter-spacing: -0.025em; margin: 14px 0 12px; line-height: 1.12; }
.s-head p { color: var(--muted); font-size: 1.04rem; }

/* RATING BREAKDOWN (play-store style) */
.ratingblock { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 48px; box-shadow: var(--sh); }
.rb-score { text-align: center; }
.rb-score .big { font-family: 'Outfit'; font-size: 4.4rem; font-weight: 800; line-height: .9; letter-spacing: -.02em; }
.rb-score .stars { font-size: 1.1rem; margin: 8px 0 4px; }
.rb-score .cnt { font-size: .85rem; color: var(--faint); }
.rb-bars { display: flex; flex-direction: column; gap: 9px; }
.rb-row { display: flex; align-items: center; gap: 12px; }
.rb-row span { font-size: .82rem; color: var(--muted); width: 12px; font-family: 'Outfit'; }
.rb-track { flex: 1; height: 9px; border-radius: 9px; background: var(--bg-lav); overflow: hidden; }
.rb-fill { height: 100%; border-radius: 9px; background: var(--grad-gold); }

/* SCREENSHOT SHOWCASE */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 0 24px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shot { flex: 0 0 auto; width: 440px; scroll-snap-align: center; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s; }
.shot:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.shot img { width: 100%; aspect-ratio: 1280/860; object-fit: cover; display: block; }

/* EDITORIAL FEATURE ROWS */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.frow + .frow { margin-top: 84px; }
.frow.flip .frow-media { order: 2; }
.frow-media { position: relative; }
.frow-media .fimg { border-radius: 20px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--sh-lg); transform: rotate(-2deg); }
.frow.flip .frow-media .fimg { transform: rotate(2deg); }
.frow-media .fimg img { width: 100%; aspect-ratio: 1280/860; object-fit: cover; display: block; }
.frow-media .fglow { position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.30), transparent 70%); filter: blur(46px); z-index: -1; }
.frow-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad-purple); color: #fff; box-shadow: var(--sh-purple); }
.frow-icon .ico { width: 26px; height: 26px; }
.frow.f-gold .frow-icon { background: var(--grad-gold); color: #6b4500; box-shadow: var(--sh-gold); }
.frow-text .eyebrow { margin-bottom: 14px; }
.frow-text h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.18; }
.frow-text p { color: var(--muted); font-size: 1.02rem; margin-bottom: 18px; }
.frow-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.frow-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; }
.frow-list .ico { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }

/* SOCIAL BAND */
.social-band { position: relative; overflow: hidden; background: var(--grad-purple); color: #fff; border-radius: var(--r-lg); padding: 62px 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; box-shadow: var(--sh-purple); }
.social-band::before { content:''; position:absolute; top:-90px; right:-70px; width:340px; height:340px; border-radius:50%; background:rgba(255,255,255,.1); }
.social-band::after { content:''; position:absolute; bottom:-120px; left:-40px; width:260px; height:260px; border-radius:50%; background:rgba(255,210,74,.18); filter: blur(10px); }
.social-band .big { position: relative; z-index: 1; }
.social-band .big .n { font-family: 'Outfit'; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 900; line-height: 1; }
.social-band .big p { opacity: .92; margin-top: 8px; font-size: 1.06rem; }
.social-band .txt { position: relative; z-index: 1; }
.social-band .txt h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.social-band .txt p { opacity: .92; }

/* REVIEWS */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.review .rtop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.review .stars { font-size: .95rem; }
.review .vrf { font-size: .7rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.review .vrf .ico { width: 14px; height: 14px; }
.review p { color: var(--text); font-size: .97rem; margin-bottom: 20px; line-height: 1.72; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .92rem; }
.review:nth-child(1) .av { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.review:nth-child(2) .av { background: linear-gradient(135deg,#f0a500,#ffd24a); color:#5b3b00; }
.review:nth-child(3) .av { background: linear-gradient(135deg,#db2777,#f472b6); }
.review .who b { font-size: .92rem; display: block; }
.review .who span { font-size: .76rem; color: var(--faint); }

/* COMPLIANCE / LEGAL */
.disclaimer { border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: var(--r); background: var(--bg-soft); padding: 30px 34px; margin-bottom: 22px; }
.disclaimer h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.disclaimer h3 .ico { width: 20px; height: 20px; color: var(--purple); }
.disclaimer p { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.disclaimer strong { color: var(--text); }
.legal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.legal-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--sh-sm); }
.legal-box h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.legal-box h3 .ico { width: 19px; height: 19px; color: var(--purple); }
.legal-box p { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.legal-box strong { color: var(--text); }
.rating-badge { display: flex; gap: 18px; align-items: center; background: var(--grad-ink); color: #fff; border-radius: var(--r); padding: 26px 32px; box-shadow: var(--sh); }
.rating-badge .rico { width: 58px; height: 58px; border-radius: 15px; background: rgba(255,255,255,.1); color: var(--gold-lt); font-family: 'Outfit'; font-weight: 800; font-size: 1rem; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.15); }
.rating-badge h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: 8px; }
.rating-badge p { color: #cfc6e6; font-size: .9rem; margin-bottom: 4px; }
.rating-badge strong { color: #fff; }

/* DOWNLOAD CTA */
.dl { position: relative; overflow: hidden; text-align: center; background: var(--grad-ink); color: #fff; border-radius: var(--r-lg); padding: 70px 40px; box-shadow: var(--sh-lg); }
.dl::before { content:''; position:absolute; inset:0; background: radial-gradient(60% 110% at 50% -10%, rgba(124,58,237,.55), transparent 60%); }
.dl .inner { position: relative; z-index: 2; }
.dl .appicon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; box-shadow: var(--sh); border: 2px solid rgba(255,255,255,.2); }
.dl .stars { justify-content: center; font-size: 1.05rem; margin-bottom: 12px; }
.dl h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.dl p { color: #c9c0e2; margin-bottom: 28px; }
.dl .gp-badge { background: #fff; color: var(--ink); }
.dl .coin { z-index: 1; }

/* FOOTER */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 52px 0 30px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot-brand { display: flex; gap: 13px; align-items: flex-start; }
.foot-brand img { width: 40px; height: 40px; border-radius: 11px; }
.foot-brand b { font-size: 1.08rem; font-weight: 800; }
.foot-brand p { color: var(--faint); font-size: .8rem; margin-top: 7px; max-width: 600px; line-height: 1.7; }
.foot-contact { font-size: .86rem; color: var(--muted); text-align: right; }
.foot-contact a { color: var(--purple-deep); font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.foot-bottom p { color: var(--faint); font-size: .82rem; }
.foot-social { display: flex; gap: 16px; }
.foot-social a { color: var(--muted); font-size: .84rem; font-weight: 600; }
.foot-social a:hover { color: var(--purple); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){ [data-reveal]{opacity:1;transform:none;transition:none} .coin,.spark{display:none} }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .hero { padding: 52px 0 64px; }
    .hero-wrap { grid-template-columns: 1fr; gap: 48px; }
    .hero .lead { max-width: none; }
    .stage { max-width: 520px; margin: 0 auto; height: 380px; }
    .ratingblock { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 34px; }
    .rb-bars { max-width: 420px; margin: 0 auto; width: 100%; }
    .frow, .frow.flip { grid-template-columns: 1fr; gap: 28px; }
    .frow .frow-media, .frow.flip .frow-media { order: 0; }
    .frow + .frow { margin-top: 56px; }
    .social-band { grid-template-columns: 1fr; padding: 44px 30px; text-align: center; }
    .reviews { grid-template-columns: 1fr; }
    .legal-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .section { padding: 62px 0; }
    .shot { width: 300px; }
    .hero-stats .s + .s { padding-left: 22px; }
    .stage { height: 320px; }
    .foot-top { flex-direction: column; }
    .foot-contact { text-align: left; }
    .dl { padding: 50px 24px; }
    .rb-score .big { font-size: 3.4rem; }
}
