/* 시안 전용 — 기존 styles.css(주황·검정·흰색 브랜드) 위에 덧씌움 */
@font-face{font-family:"BHS";src:url(assets/black-han-sans/BlackHanSans-Regular.woff2) format("woff2");font-display:swap}
.mock-banner{background:#151515;color:#ff9a66;font-size:12px;text-align:center;padding:7px 12px}
.example{color:#ff681e;font-size:.72em;margin-left:6px;font-weight:700}
.bhs{font-family:BHS,"Pretendard",sans-serif;font-weight:400;letter-spacing:-.01em}

/* 폰 프레임: 실제 앱 캡처(1080×2340)를 그대로 담음 */
.phone{display:block;border-radius:34px;border:8px solid #050505;box-shadow:0 0 0 1px #2c2c2c,0 24px 60px #0009;overflow:hidden;background:#000;aspect-ratio:1080/2340;flex:none}
.phone img{display:block;width:100%;height:100%;object-fit:cover}

/* 히어로 */
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.button.light{border:1px solid var(--ink);background:transparent}
.button.light:hover{background:#fff}
.hero-stage{position:relative;height:560px;border-radius:12px;overflow:hidden;background:#151515}
.hero-stage::before{content:"";position:absolute;width:640px;height:640px;left:50%;top:52%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#ff681e70 0,#ff681e18 45%,#ff681e00 70%)}
.hero-stage .phone{position:absolute;width:212px}
.hero-stage .p1{left:12%;top:120px;transform:rotate(-8deg);filter:brightness(.75)}
.hero-stage .p2{left:50%;top:70px;transform:translateX(-50%);width:236px;z-index:2}
.hero-stage .p3{right:12%;top:120px;transform:rotate(8deg);filter:brightness(.75)}
.hero-stage .label{position:absolute;left:22px;top:20px;z-index:3;color:#fff;font-size:11px;letter-spacing:1.5px;font-weight:700;display:flex;gap:8px;align-items:center}
.hero-stage .label b{background:#ff681e;color:#151515;padding:5px 10px;border-radius:30px}
.hero-stage .cap{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:60px 24px 20px;background:linear-gradient(180deg,#15151500,#151515 55%);color:#fff;display:flex;justify-content:space-between;align-items:end;gap:16px}
.hero-stage .cap strong{font-size:26px;display:block;line-height:1.2}
.hero-stage .cap span{font-size:13px;color:#bdbdbd}
.hero-stage .cap a{color:#ff681e;font-size:13px;font-weight:700;white-space:nowrap}

/* 대표 게임 섹션(검정) */
.game-block{background:#151515;color:#fff;padding:90px 0 80px;overflow:hidden}
.game-block .section-label{color:#ff681e}
.game-intro{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end;margin-top:26px}
.game-intro h2{font-size:clamp(40px,5vw,72px);line-height:1.1;margin:0}
.game-intro h2 em{font-style:normal;color:#ff681e}
.game-intro p{color:#bdbdbd;font-size:15px;line-height:1.85;margin:0 0 22px}
.app-line{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.app-line img{width:58px;height:58px;border-radius:14px}
.app-line b{display:block;font-size:18px}
.app-line span{font-size:12px;color:#9a9a9a}
.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #333;border-bottom:1px solid #333;margin:46px 0}
.stats div{padding:22px 0 20px;border-left:1px solid #333;padding-left:20px}
.stats div:first-child{border-left:0;padding-left:0}
.stats b{display:block;font-family:BHS,sans-serif;font-weight:400;font-size:44px;color:#ff681e;line-height:1}
.stats span{font-size:12px;color:#bdbdbd;letter-spacing:.5px}
.reel{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 2px 10px;scrollbar-width:none}
.reel::-webkit-scrollbar{display:none}
.reel figure{margin:0;scroll-snap-align:start;flex:none;width:220px}
.reel .phone{width:100%}
.reel figcaption{margin-top:14px;font-size:14px;font-weight:700}
.reel figcaption span{display:block;font-size:12px;font-weight:500;color:#9a9a9a;margin-top:2px}
.badge-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:34px}
.play-badge{display:inline-flex;align-items:center;gap:10px;background:#000;color:#fff;border:1px solid #555;border-radius:8px;padding:9px 16px;font-size:11px;line-height:1.2}
.play-badge i{font-style:normal;font-size:20px;color:#ff681e}
.play-badge b{display:block;font-size:16px}
.button.orange{background:#ff681e;color:#151515}
.button.orange:hover{background:#ff8648}
.note{font-size:12px;color:#8a8a8a}

/* 웹 서비스 */
.services{padding:80px 0}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.service-card{background:#fff;border:1px solid #e7e7df;border-radius:8px;padding:28px;min-height:230px;display:flex;flex-direction:column;justify-content:space-between}
.service-card h3{margin:10px 0 8px;font-size:20px}
.service-card p{font-size:14px;color:var(--muted);margin:0}
.service-card .soon{font-size:11px;color:#c24d10;font-weight:700;letter-spacing:1px}
.service-card.ask{background:var(--orange);border-color:var(--orange)}
.service-card.ask p,.service-card.ask .soon{color:#3a261c}
.company-list dd{font-weight:600}
.footer-links{display:flex;gap:22px;flex-wrap:wrap}

/* ===== 게임 페이지 ===== */
.g-hero{position:relative;background:#151515 url(assets/game/title-screen.webp) center 58%/cover;color:#fff;min-height:680px;display:flex;align-items:flex-end}
.g-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#151515f5 0%,#151515c0 40%,#15151520 75%),linear-gradient(0deg,#151515 0%,#15151500 35%)}
.g-hero .wrap{position:relative;padding:0 0 76px}
.g-hero .lettering{width:min(380px,70%);display:block;margin-bottom:10px}
.g-hero h1{font-size:clamp(30px,3.6vw,50px);line-height:1.2;margin:0 0 14px}
.g-hero h1 em{font-style:normal;color:#ff681e}
.g-hero p{color:#d6d6d6;font-size:16px;margin:0}
.g-hero .meta{font-size:12px;color:#a8a8a8;margin-top:16px}
.g-dark{background:#151515;color:#fff}
.g-row{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding:90px 0;border-top:1px solid #2a2a2a}
.g-row:first-child{border-top:0}
.g-row.flip .g-copy{order:2}
.g-copy .section-label{color:#ff681e}
.g-copy h2{font-size:clamp(34px,4vw,58px);line-height:1.12;margin:16px 0 18px}
.g-copy h2 em{font-style:normal;color:#ff681e}
.g-copy p{color:#bdbdbd;font-size:15px;line-height:1.9;margin:0}
.g-copy ul{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:8px}
.g-copy li{font-size:14px;color:#e6e6e6;display:flex;gap:10px}
.g-copy li::before{content:"";width:7px;height:7px;border-radius:50%;background:#ff681e;margin-top:8px;flex:none}
.g-visual{position:relative;display:flex;justify-content:center;gap:18px;min-height:540px;align-items:center}
.g-visual::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,#ff681e55 0,#ff681e10 50%,#ff681e00 70%)}
.g-visual .phone{position:relative;width:250px}
.g-visual .phone.back{width:220px;transform:rotate(-6deg) translateY(30px);filter:brightness(.75);margin-right:-60px}
.g-ranks{border-radius:14px;width:100%;display:block}
.g-price{display:grid;gap:10px;margin-top:24px}
.g-price div{display:flex;justify-content:space-between;gap:20px;border:1px solid #333;border-radius:8px;padding:16px 18px;font-size:14px}
.g-price b{color:#ff681e}
.media-kit{background:#f7f6f2;color:var(--ink);padding:86px 0}
.kit-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:28px}
.kit-grid a{display:block}
.kit-grid img{width:100%;display:block;border-radius:8px;border:1px solid #e2e2dc}
.kit-grid span{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.kit-wide{grid-column:span 2}
.g-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.g-links a{border:1px solid #333;border-radius:8px;padding:20px;font-size:15px;font-weight:700;display:flex;justify-content:space-between}
.g-links a span{color:#ff681e}
.g-dark .footer{border-top-color:#2a2a2a;color:#8a8a8a}
.g-dark .footer-brand img{filter:none}

@media(max-width:1100px){.kit-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
  .hero-stage{height:440px}.hero-stage .phone{width:150px}.hero-stage .p2{width:170px;top:60px}.hero-stage .p1{left:2%}.hero-stage .p3{right:2%}
  .hero-stage .cap{flex-direction:column;align-items:flex-start}
  .game-block{padding:60px 0}.game-intro,.g-row{grid-template-columns:1fr;gap:30px}
  .stats{grid-template-columns:1fr 1fr}.stats div:nth-child(3){border-left:0;padding-left:0}.stats div:nth-child(n+3){border-top:1px solid #333}
  .reel figure{width:170px}
  .service-grid,.g-links{grid-template-columns:1fr}
  .g-hero{min-height:600px}.g-row{padding:60px 0}.g-row.flip .g-copy{order:0}
  .g-visual{min-height:440px}.g-visual .phone{width:200px}.g-visual .phone.back{width:170px;margin-right:-70px}.g-visual::before{width:360px;height:360px}
  .kit-grid{grid-template-columns:1fr 1fr}
}

/* 상단 메뉴 하위 메뉴(게임 > 부대 키우기) */
.header{position:relative;z-index:30}
.nav-item{position:relative;display:flex;align-items:center;height:100px}
.nav-parent span{font-size:9px;margin-left:3px;color:#999}
.nav-sub{position:absolute;top:78px;left:50%;transform:translate(-50%,6px);min-width:250px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 40px #0000001f;padding:8px;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s,visibility .15s}
.nav-sub::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.nav-item:hover .nav-sub,.nav-item:focus-within .nav-sub{opacity:1;visibility:visible;transform:translate(-50%,0)}
.nav-sub a{display:flex;align-items:center;gap:12px;padding:10px;border-radius:7px}
.nav-sub a:hover{background:#f7f6f2;color:inherit!important}
.nav-sub img{width:40px;height:40px;border-radius:10px}
.nav-sub b{display:block;font-size:14px}
.nav-sub small{display:block;font-size:11px;color:var(--muted);font-weight:500}
.nav-empty{display:block;padding:12px 10px;font-size:12px;color:var(--muted);font-weight:500}

/* 제품 목록(작게) */
.products{padding:80px 0 70px;border-top:1px solid var(--line)}
.products h2{font-size:clamp(26px,3vw,38px);letter-spacing:-1.2px;margin:16px 0 26px}
.product-list{display:grid;gap:12px}
.product-row{display:grid;grid-template-columns:64px 1fr auto 30px;gap:22px;align-items:center;background:#fff;border:1px solid #e7e7df;border-radius:10px;padding:18px 22px;transition:border-color .15s,box-shadow .15s}
a.product-row:hover{border-color:var(--orange);box-shadow:0 10px 24px #ff681e1a}
.product-row img,.product-row .ph{width:64px;height:64px;border-radius:14px}
.product-row .ph{display:grid;place-items:center;background:#efeee9;color:#777;font-weight:700}
.product-row .kind{font-size:10px;letter-spacing:1.3px;color:#c24d10;font-weight:700}
.product-row h3{margin:2px 0 2px;font-size:19px}
.product-row p{margin:0;font-size:13px;color:var(--muted)}
.product-row .go{font-size:22px;color:var(--orange)}
.muted-row{background:transparent}

@media(max-width:760px){
  .nav-item{height:auto;flex-direction:column;align-items:stretch}
  .nav-sub{position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;border:0;background:transparent;padding:0 0 6px 12px;min-width:0}
  .nav-item:hover .nav-sub,.nav-item:focus-within .nav-sub{transform:none}
  .nav-sub img{width:32px;height:32px}
  .product-row{grid-template-columns:52px 1fr;gap:14px;padding:16px}
  .product-row img,.product-row .ph{width:52px;height:52px}
  .product-row .status{grid-column:2;justify-self:start}
  .product-row .go{display:none}
}
