:root{
    --navy:#0f111a;
    --navy-2:#171a26;
    --blue:#3f6fe0;
    --white:#fff;
    --ink:#14151c;
    --muted:#6b6e7f;
    --line:#e7e8ee;
    --soft:#f5f7fb;
    --font:'Noto Sans KR','Inter',sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html,body{width:100%;min-height:100%}
body{font-family:var(--font);background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:0;background:none}
img{display:block;max-width:100%}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.eyebrow{font-size:11.5px;font-weight:800;letter-spacing:2px;color:var(--blue);margin-bottom:14px}

/* =========================================================
   HEADER / GNB
========================================================= */
header{background:var(--navy);border-bottom:1px solid rgba(255,255,255,.09);position:sticky;top:0;z-index:50}
.header-row{display:grid;grid-template-columns:220px 1fr 220px;align-items:center;gap:24px;height:76px;min-height:84px}
.logo{display:flex;align-items:center;gap:11px;color:#fff;font-weight:900;font-size:20px;white-space:nowrap;justify-self:start;text-decoration:none;flex-shrink:0}
.logo .mark{width:34px;height:34px;border-radius:8px;background:var(--blue);display:flex;align-items:center;justify-content:center;transform:rotate(45deg)}
.logo .mark span{transform:rotate(-45deg);display:block}
.logo-img{display:block;height:55px;width:auto}

nav.main-nav{display:flex;justify-content:center;align-items:center;gap:24px}
nav.main-nav > a,
nav.main-nav .nav-link{font-size:14px;font-weight:800;color:rgba(255,255,255,.58);padding:6px 0;position:relative}
nav.main-nav > a:hover,
nav.main-nav > a.active,
nav.main-nav .nav-item:hover .nav-link,
nav.main-nav .nav-item.active .nav-link{color:#fff}
nav.main-nav .nav-item{position:relative;display:flex;align-items:center}

.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-left:auto}
.text-link{font-size:13px;font-weight:700;color:rgba(255,255,255,.72)}
.btn{font-size:13px;font-weight:800;padding:10px 20px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-fill{background:var(--blue);color:#fff}
.btn-outline-light{border:1.5px solid rgba(255,255,255,.45);color:#fff}
.nav-toggle{display:none;align-items:center;justify-content:center;color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:8px;width:36px;height:36px}

/* GNB dropdown */
.nav-dropdown::after{content:"";position:absolute;left:-36px;right:-36px;top:100%;height:22px}
.nav-submenu{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(8px);min-width:220px;background:#fff;border:1px solid #e7e8ee;border-radius:6px;box-shadow:0 24px 60px rgba(15,17,26,.16);padding:8px;opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease;z-index:200;color:var(--ink)}
.nav-submenu::before{content:"";position:absolute;left:50%;top:-7px;width:12px;height:12px;background:#fff;border-left:1px solid #e7e8ee;border-top:1px solid #e7e8ee;transform:translateX(-50%) rotate(45deg)}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}

/* Mega menu */
.mega-dropdown{position:relative}
.mega-menu{width:920px;max-height:calc(100vh - 130px);overflow-y:auto;padding:18px;scrollbar-width:thin;scrollbar-color:#d7dcea transparent}
.mega-menu::-webkit-scrollbar{width:0}
.mega-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 2px 16px;margin-bottom:16px;border-bottom:1px solid #edf0f5}
.mega-menu-head strong{display:block;font-size:16px;font-weight:900;color:var(--ink);letter-spacing:-.2px;margin-bottom:4px}
.mega-menu-head span{display:block;font-size:12px;font-weight:800;color:var(--muted)}
.mega-all-link{flex-shrink:0;display:inline-flex!important;align-items:center;justify-content:center;height:34px;padding:0 13px!important;background:#eef3ff;border:1px solid #dce6ff;color:var(--blue)!important;font-size:12px!important;font-weight:900!important}
.mega-game-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.mega-group{min-width:0}
.mega-group h4{margin:0 0 10px;padding:0 0 8px;border-bottom:1px solid #edf0f5;font-size:12px;font-weight:900;color:var(--blue);letter-spacing:.2px}
.mega-game-list{display:grid;grid-template-columns:1fr;gap:8px}
.mega-game-item{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;background:#fff;border:1px solid #edf0f5;border-radius:5px;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.mega-game-item:hover{transform:translateY(-2px);border-color:#dce6ff;background:#f7f9ff;box-shadow:0 12px 26px rgba(63,111,224,.10)}
.mega-game-main{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px!important;color:var(--ink)!important}
.submenu-icon,.mega-game-main .submenu-icon{width:32px;height:32px;border-radius:4px;background:#eef3ff;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px}
.submenu-text,.mega-game-main .submenu-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.submenu-text strong,.mega-game-main .submenu-text strong{display:block;font-size:13px;font-weight:900;line-height:1.25;color:var(--ink);white-space:normal;overflow:visible;text-overflow:clip}
.submenu-text em,.mega-game-main .submenu-text em{display:block;font-style:normal;font-size:10.5px;font-weight:800;color:var(--muted);line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}
.mega-game-item:hover .submenu-text strong{color:var(--blue)}
.mega-game-actions{display:flex;align-items:center;gap:3px;padding-right:8px;opacity:0;transform:translateX(6px);transition:.16s ease;flex-shrink:0}
.mega-game-item:hover .mega-game-actions{opacity:1;transform:translateX(0)}
.mega-game-actions a{width:25px;height:25px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dfe5f2;border-radius:3px;color:#4b5563!important;font-size:11px!important;padding:0!important}
.mega-game-actions a:hover{background:var(--blue);border-color:var(--blue);color:#fff!important}

/* Legacy game submenu */
.game-submenu{width:860px;max-height:calc(100vh - 130px);overflow-y:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:18px;background:#fff;border:1px solid #e7e8ee;border-radius:6px}
.game-submenu a{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px!important;border:1px solid #edf0f5;border-radius:5px;color:var(--ink)!important;background:#fff!important;transition:.16s ease;white-space:nowrap}
.game-submenu a:hover{background:#f7f9ff!important;border-color:#dce6ff;color:var(--blue)!important;transform:translateY(-2px);box-shadow:0 12px 26px rgba(63,111,224,.10)}

/* User dropdown */
.nav-user{position:relative;display:flex;align-items:center}
.nav-user-btn{display:flex;align-items:center;gap:8px;border:0;background:none}
.nav-user-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#eef3ff;border:1px solid #dce6ff;color:#3f6fe0;font-size:14px;font-weight:900}
.nav-user-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-submenu{width:220px;min-width:220px;padding:8px}
.user-submenu .user-menu-link{display:block;padding:12px 13px!important;border-radius:4px;font-size:13px!important;font-weight:900!important;color:var(--ink)!important}
.user-submenu .user-menu-link strong{display:block;font-size:13px;font-weight:900;color:inherit}
.user-submenu .user-menu-link small{display:block;margin-top:3px;font-size:10px;font-weight:800;color:var(--muted)}
.user-submenu .user-menu-link:hover{background:#f1f5ff;color:var(--blue)!important}
.user-menu-line{height:1px;background:#edf0f5;margin:7px 4px}
.user-submenu .logout-link{color:#dc2626!important}

/* =========================================================
   HERO
========================================================= */
.hero{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(63,111,224,.28),transparent 32%),radial-gradient(circle at 75% 40%,rgba(255,255,255,.08),transparent 30%);pointer-events:none}
#spaceCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.hero-content{position:relative;z-index:2;display:flex;align-items:center;gap:34px;max-width:1280px;margin:0 auto;padding:74px 220px 74px 32px}
.hero-text{flex:1;min-width:0}
.hero-text h1{font-size:clamp(29px,3.9vw,45px);font-weight:900;line-height:1.17;letter-spacing:-.7px;margin-bottom:14px;min-height:106px}
.hero-text p{font-size:15px;color:rgba(255,255,255,.66);max-width:455px;margin-bottom:28px;line-height:1.7;min-height:52px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-main-img{width:560px;margin-left:35px;flex-shrink:0;border-radius:6px;overflow:hidden;background:#0f172a;position:relative;aspect-ratio:16/9;align-self:center;border:1px solid rgba(255,255,255,.15);box-shadow:0 24px 60px rgba(0,0,0,.34),0 0 24px rgba(63,111,224,.18),inset 0 0 0 1px rgba(255,255,255,.06)}
.hero-main-img::before{content:"";position:absolute;inset:0;border-radius:6px;padding:2px;background:linear-gradient(135deg,rgba(255,255,255,.38),rgba(63,111,224,.35),rgba(124,77,255,.22));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:5}
.hero-main-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#0f172a;opacity:0;transform:scale(1);transition:opacity .5s ease,transform .45s ease,filter .45s ease}
.hero-main-img img.active{opacity:1;z-index:1}
.hero-main-img:hover img.active{transform:scale(1.025);filter:brightness(1.04)}
.hero-thumbs-wrap{position:absolute!important;right:calc(50% - 590px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;z-index:5}
.thumb-scroll-btn{width:100px;height:22px;border-radius:5px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.65);font-size:10px}
.hero-thumbs{display:flex;flex-direction:column;gap:7px;height:283px;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;scrollbar-width:none}
.hero-thumbs::-webkit-scrollbar{display:none}
.hero-thumb{width:100px;height:62px;border-radius:3px;overflow:hidden;cursor:pointer;position:relative;flex-shrink:0;border:2px solid transparent;opacity:.48;transition:.2s;background:#111}
.hero-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hero-thumb .thumb-fallback{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:22px;background:linear-gradient(135deg,#1f2333,#0f111a)}
.hero-thumb.active{border-color:var(--blue);opacity:1}
.hero-thumb:hover{opacity:.8}
.thumb-num{position:absolute;right:5px;bottom:3px;font-size:8px;font-weight:900;color:rgba(255,255,255,.75)}
.hero-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:rgba(255,255,255,.08);z-index:10}
.hero-progress-bar{height:100%;background:var(--blue);transition:width .08s linear}

/* =========================================================
   SECTIONS / CARDS
========================================================= */
.section{padding:64px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px;gap:12px;flex-wrap:wrap}
.section-head h2{font-size:23px;font-weight:900;letter-spacing:-.3px}
.section-head p{font-size:13px;color:var(--muted);margin-top:6px}
.link{font-size:13px;font-weight:800;color:var(--blue)}

.release-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.release-card,.game-card{position:relative;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e4e8f2;border-radius:10px;box-shadow:0 6px 18px rgba(15,17,26,.05),0 2px 6px rgba(15,17,26,.04);box-shadow:0 8px 22px rgba(15,17,26,.045);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.release-card::before,.game-card::before{display:none!important}
.release-card:hover,.game-card:hover{transform:translateY(-4px);border-color:#cfd9ef;box-shadow:0 16px 34px rgba(15,17,26,.09),0 6px 16px rgba(63,111,224,.08)}
.art{position:relative;padding:0;aspect-ratio:16/9;overflow:hidden;background:radial-gradient(circle at 12% 10%,rgba(63,111,224,.13),transparent 42%),radial-gradient(circle at 92% 88%,rgba(124,77,255,.08),transparent 46%),#f6f8fc;display:flex;align-items:center;justify-content:center;border-radius:0;}
.art::before{display:none!important}
.art::after{content:"";position:absolute;left:8px;right:8px;bottom:8px;height:5px;z-index:4;background:linear-gradient(90deg,#3f6fe0,#7c4dff);opacity:.9;border-radius:0 0 6px 6px}
.art img{position:relative;z-index:2;inset:auto;width:100%;height:100%;object-fit:cover;border-radius:0;border:0;box-shadow:none;transition:transform .28s ease,filter .28s ease}
.release-card:hover .art img,.game-card:hover .art img{transform:scale(1.03);filter:brightness(1.025) saturate(1.03)}
.art .fallback{display:none!important}
.fallback{position:relative;z-index:1;font-size:34px;border-radius:4px}
.badge{position:absolute;top:16px;left:16px;z-index:6;font-size:10px;font-weight:900;background:rgba(15,17,26,.72);border:1px solid rgba(255,255,255,.16);box-shadow:none;backdrop-filter:blur(5px);color:#fff;padding:5px 9px;border-radius:3px}
.info,.ginfo{position:relative;padding:15px;background:#fff;border-top:1px solid #eef1f7;display:flex;flex-direction:column;gap:8px;flex:1}
.info h3,.ginfo h4{position:relative;padding-left:11px;font-size:15px;font-weight:900;line-height:1.3}
.info h3::before,.ginfo h4::before{content:"";position:absolute;left:0;top:3px;width:4px;height:15px;background:#3f6fe0;border-radius:4px}
.desc{font-size:12.5px;color:#687084;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta,.gmeta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}
.tags{font-size:10.5px;color:var(--muted);font-weight:700}
.card-btn,.play-btn{margin-top:auto;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;padding:9px 14px;border-radius:3px;border:1px solid #d7deec;color:#1f2937;background:#fff;box-shadow:none;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.card-btn.primary,.play-btn:hover,.card-btn:hover{background:#3f6fe0;border-color:#3f6fe0;color:#fff;box-shadow:none}
.card-btn:active,.play-btn:active{transform:translateY(1px)}
.online-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:800;color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0;padding:2px 7px;border-radius:99px;white-space:nowrap;box-shadow:none}
.pulse{width:6px;height:6px;border-radius:50%;background:#22c55e}

/* category point colors */
.release-card:nth-child(4n+1) .art::after,.release-card:nth-child(4n+1) .info h3::before,.category-section:nth-of-type(4n+1) .game-card .art::after,.category-section:nth-of-type(4n+1) .game-card .ginfo h4::before{background:linear-gradient(180deg,#3f6fe0,#5d86f0)}
.release-card:nth-child(4n+2) .art::after,.release-card:nth-child(4n+2) .info h3::before,.category-section:nth-of-type(4n+2) .game-card .art::after,.category-section:nth-of-type(4n+2) .game-card .ginfo h4::before{background:linear-gradient(180deg,#7c4dff,#9b7cff)}
.release-card:nth-child(4n+3) .art::after,.release-card:nth-child(4n+3) .info h3::before,.category-section:nth-of-type(4n+3) .game-card .art::after,.category-section:nth-of-type(4n+3) .game-card .ginfo h4::before{background:linear-gradient(180deg,#00a8cc,#36c7e3)}
.release-card:nth-child(4n+4) .art::after,.release-card:nth-child(4n+4) .info h3::before,.category-section:nth-of-type(4n+4) .game-card .art::after,.category-section:nth-of-type(4n+4) .game-card .ginfo h4::before{background:linear-gradient(180deg,#ff8a3d,#ffad6b)}

/* Category */
.category-section{padding:32px 0;border-top:1px solid #eef0f5}
.category-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:14px}
.category-title-left{display:flex;align-items:center;gap:12px}
.category-icon{width:42px;height:42px;border-radius:4px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:21px}
.category-title h3{font-size:20px;font-weight:900}
.category-title p{font-size:13px;color:var(--muted);margin-top:3px}
.category-count{font-size:12px;font-weight:900;color:var(--blue);background:#eef3ff;padding:7px 10px;border-radius:99px}
.category-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}
.category-nav a{font-size:12px;font-weight:900;border:1px solid var(--line);background:#fff;padding:9px 12px;border-radius:999px;color:#333}
.category-nav a:hover{border-color:var(--blue);color:var(--blue)}
.game-card .ginfo{padding:12px}
.game-card h4{font-size:14px;line-height:1.3}
.game-card .desc{font-size:12px;line-height:1.45;-webkit-line-clamp:2}
.game-card .play-btn{height:36px;font-size:13px}

/* =========================================================
   HOME RECOMMEND + NOTICE
========================================================= */
.home-feature-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.home-feature-main{min-width:0}
.home-feature-head{margin-bottom:18px}
.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.home-feature-card{width:100%}
.home-feature-card .art{aspect-ratio:16/9}
.home-feature-card .info{padding:14px}
.home-feature-card .info h3{font-size:14px}
.home-feature-card-main,.home-feature-card-small{grid-column:auto!important}
.home-feature-card-main .art,.home-feature-card-small .art{aspect-ratio:16/9!important}
.home-feature-card-main .info,.home-feature-card-small .info{padding:14px!important}
.home-feature-card-main .info h3,.home-feature-card-small .info h3{font-size:14px!important}
.home-feature-card-main .desc,.home-feature-card-small .desc{font-size:12.5px!important;-webkit-line-clamp:2}

.home-notice-side{position:static!important;display:block!important;width:auto!important;min-width:0!important;top:auto!important;right:auto!important;bottom:auto!important;background:#fff;border:1px solid #e4e8f2;border-radius:6px;overflow:hidden;box-shadow:0 8px 22px rgba(15,17,26,.045)!important;backdrop-filter:none!important;z-index:auto}
.home-notice-side-head{height:auto;min-height:61px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eef1f7;background:#fff}
.home-notice-side-head strong{position:relative;display:block;padding-left:11px;font-size:15px;font-weight:900;color:#14151c}
.home-notice-side-head strong::before{content:"";position:absolute;left:0;top:3px;width:4px;height:15px;background:#3f6fe0;border-radius:4px}
.home-notice-side-head span{display:block;margin-top:5px;font-size:11.5px;font-weight:800;color:#687084}
.home-notice-side-head a{flex-shrink:0;padding:6px 9px;border:1px solid #d7deec;border-radius:3px;font-size:11px;font-weight:900;color:#3f6fe0;background:#fff}
.home-notice-side-head a:hover{background:#3f6fe0;border-color:#3f6fe0;color:#fff}
.home-notice-side-list{padding:8px 10px 10px}
.home-notice-side-list .floating-notice-item{display:block;position:relative;padding:12px 8px 12px 13px;border:0;border-bottom:1px solid #eef1f7;background:#fff}
.home-notice-side-list .floating-notice-item:last-child{border-bottom:0}
.home-notice-side-list .floating-notice-item::before{content:"";position:absolute;left:0;top:16px;width:3px;height:16px;background:#dbe4f4;border-radius:4px}
.home-notice-side-list .floating-notice-item:hover{background:#f7f9ff}
.home-notice-side-list .floating-notice-item:hover::before{background:#3f6fe0}
.home-notice-side-list .floating-notice-item strong{max-width:100%;font-size:12.5px;font-weight:900;color:#1f2937;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-notice-side-list .floating-notice-item span{display:block;margin-top:5px;font-size:10.5px;color:#8a90a3;font-weight:800}
.home-notice-side-list .floating-notice-empty{padding:28px 10px;text-align:center;font-size:12px;font-weight:800;color:#8a90a3}
.home-notice-side-list .floating-notice-new,.floating-notice-new{display:inline-flex;align-items:center;justify-content:center;height:16px;padding:0 5px;margin-right:5px;border-radius:2px;background:#ff3b30;color:#fff;font-size:9px;font-weight:900;font-style:normal;line-height:1;vertical-align:middle}
#floatingNotice.home-notice-side{position:static!important;width:auto!important;top:auto!important;right:auto!important;bottom:auto!important}

/* Legacy floating notice hidden in normal pages when not used as home side */
.floating-notice:not(.home-notice-side){position:fixed;right:calc((67vw - 1180px) / 2);top:550px;bottom:28px;width:320px;background:#fff;border:1px solid #eceff5;border-radius:12px;box-shadow:none;backdrop-filter:blur(14px);z-index:40}
.floating-notice-head{height:50px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(226,232,240,.8);background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)}
.floating-notice-head strong{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:900;color:#14151c}
.floating-notice-head strong::before{content:"";width:7px;height:7px;background:#3f6fe0;box-shadow:0 0 0 4px rgba(63,111,224,.12)}
.floating-notice-head a{font-size:11.5px;font-weight:900;color:#3f6fe0}
.floating-notice-list{padding:8px}
.floating-notice-item{display:block;position:relative;padding:11px 11px 11px 14px;border:1px solid transparent;background:transparent;transition:.16s ease}
.floating-notice-item + .floating-notice-item{margin-top:4px}
.floating-notice-item::before{content:"";position:absolute;left:4px;top:50%;width:3px;height:18px;background:#dbe4f4;transform:translateY(-50%);transition:.16s ease}
.floating-notice-item strong{display:block;font-size:12.5px;font-weight:900;color:#1f2937;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.floating-notice-item span{display:block;margin-top:5px;font-size:10.5px;font-weight:800;color:#8a90a3}
.floating-notice-item:hover{background:#f6f8ff;border-color:#e3eaff}
.floating-notice-item:hover::before{background:#3f6fe0}
.floating-notice-empty{padding:24px 10px;text-align:center;font-size:12px;font-weight:800;color:#8a90a3}

/* =========================================================
   FOOTER / TOAST / ABOUT / AUTH
========================================================= */
footer{margin-top:auto;background:#0d101a;border-top:0}
.footer-simple{padding:24px 20px;text-align:center}
.footer-logo{display:flex;align-items:center;justify-content:center;text-decoration:none;flex-shrink:0}
.footer-logo-img{display:block;height:52px;width:auto;margin:0 auto 10px}
.footer-email{margin:6px 0 4px;font-size:14px;color:rgba(255,255,255,.75)}
.footer-email a{color:inherit;text-decoration:none;transition:.2s}
.footer-email a:hover{color:#5d8cff}
.footer-copy{margin:0;font-size:13px;color:rgba(255,255,255,.55)}

.pa-achievement-toast{position:fixed;right:24px;bottom:24px;display:flex;gap:12px;align-items:center;min-width:260px;padding:16px 18px;background:#111827;color:#fff;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.25);z-index:99999;opacity:0;transform:translateY(20px);transition:.25s ease}
.pa-achievement-toast.show{opacity:1;transform:translateY(0)}
.pa-achievement-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#fff7ed;color:#111827;border-radius:12px;font-size:22px}
.pa-achievement-toast strong{display:block;font-size:15px}
.pa-achievement-toast span{display:block;margin-top:3px;font-size:12px;color:#d1d5db}

.about-page{background:#f6f8fc;color:#111827}
.about-hero{max-width:1180px;margin:0 auto;padding:90px 20px 70px;text-align:center}
.about-logo img{max-width:360px;width:80%;margin-bottom:30px}
.about-label{color:#2878ff;font-weight:800;letter-spacing:2px;margin-bottom:16px}
.about-hero h1{font-size:46px;line-height:1.25;margin:0 0 24px;font-weight:900}
.about-desc{max-width:760px;margin:0 auto;font-size:18px;line-height:1.8;color:#4b5563}
.about-section{max-width:1180px;margin:0 auto 70px;padding:0 20px}
.about-section h2{font-size:30px;margin-bottom:24px;font-weight:900}
.meaning-grid,.philosophy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.meaning-card,.philosophy-grid > div{background:#fff;border:1px solid #e5e7eb;padding:28px 24px;box-shadow:0 12px 28px rgba(15,23,42,.06)}
.meaning-card strong{display:block;font-size:38px;color:#2878ff;margin-bottom:14px}
.meaning-card h3,.philosophy-grid h3{font-size:20px;margin:0 0 12px}
.meaning-card p,.philosophy-grid p{margin:0;color:#4b5563;line-height:1.7}
.philosophy{padding-bottom:80px}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:1500px){
    .hero-content{padding:46px 32px 118px;max-width:1280px}
    .hero-main-img{margin-left:20px}
    .hero-thumbs-wrap{left:50%;right:auto;top:auto;bottom:22px;transform:translateX(-50%);flex-direction:row;width:min(640px,calc(100vw - 64px));justify-content:center}
    .hero-thumbs{display:flex;flex-direction:row;gap:8px;width:100%;height:auto;max-width:100%;overflow-x:auto;overflow-y:hidden}
    .hero-thumb{width:104px;height:60px;flex:0 0 auto}
    .thumb-scroll-btn{display:none}
}

@media(max-width:1400px){
    .game-grid{grid-template-columns:repeat(4,1fr)!important}
}

@media(max-width:1180px){
    .mega-menu,.game-submenu{width:780px}
    .mega-game-groups{grid-template-columns:1fr}
    .game-submenu{grid-template-columns:repeat(3,1fr)}
    .floating-notice:not(.home-notice-side){display:none}
}

@media(max-width:1024px){
    .game-grid{grid-template-columns:repeat(3,1fr)!important}
}

@media(max-width:980px){
    .wrap{padding:0 22px}
    .header-row{display:flex;align-items:center;gap:16px;height:76px}
    .logo{justify-self:auto}
    .hero-content{flex-direction:column;align-items:center;gap:16px;padding:32px 22px 92px}
    .hero-main-img{order:-1;width:100%;max-width:560px;margin-left:0!important;margin-right:0!important;aspect-ratio:16/9}
    .hero-thumbs-wrap{position:absolute!important;left:50%;right:auto;top:auto;bottom:20px;transform:translateX(-50%);width:calc(100% - 44px);padding:0}
    .hero-thumbs{width:100%;flex-direction:row;overflow-x:auto;overflow-y:hidden;height:auto}
    .hero-thumb{width:84px;height:52px}
    .release-grid{grid-template-columns:repeat(2,1fr)}
    nav.main-nav{position:fixed;top:76px;left:0;right:0;background:var(--navy);flex-direction:column;padding:16px 22px;gap:2px;transform:translateY(-130%);transition:.25s;z-index:40}
    nav.main-nav.open{transform:translateY(0)}
    nav.main-nav a,nav.main-nav .nav-link{padding:12px 0}
    nav.main-nav .nav-item{width:100%;justify-content:center;flex-direction:column}
    .nav-dropdown::after,.nav-submenu,.mega-menu,.game-submenu{display:none}
    .mega-game-actions{display:none}
    .nav-toggle{display:flex}
    .text-link{display:none}
    .header-actions{margin-left:auto}
    .home-feature-layout{grid-template-columns:1fr}
    .home-feature-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:900px){
    .about-hero{padding:60px 18px 50px}
    .about-hero h1{font-size:34px}
    .meaning-grid,.philosophy-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:768px){
    .logo-img{height:46px}
    .footer-logo-img{height:40px}
    .header-actions .text-link{display:inline-flex;color:#fff;font-weight:700}
    .header-actions .btn-fill{display:none}
    .nav-user{position:relative}
    .nav-user .user-submenu{display:none;position:absolute;right:0;top:calc(100% + 10px);min-width:150px;z-index:9999}
    .nav-user.open .user-submenu{display:block}
    .release-grid,.game-grid{grid-template-columns:1fr!important;gap:16px}
    .release-card,.game-card{width:100%}
    .home-feature-grid{grid-template-columns:1fr!important}
    .home-notice-side{margin-top:4px}
    .category-title{align-items:flex-start}
    .pa-achievement-toast{left:16px;right:16px;bottom:18px}
    .auth-wrap{grid-template-columns:1fr!important}
    .auth-visual{display:none!important}
}

@media(max-width:560px){
    .hero-text h1{min-height:76px;font-size:27px}
    .hero-text p{min-height:78px}
    .hero-content{padding-left:16px;padding-right:16px}
    .hero-thumbs-wrap{width:calc(100% - 32px);bottom:18px}
    .hero-thumb{width:76px;height:48px}
    .section{padding:46px 0}
    .art{padding:0}
    .art::after{left:6px;right:6px;bottom:6px;height:4px}
    .badge{top:12px;left:12px}
    .info,.ginfo{padding:13px}
    .footer-cols{gap:28px}
    .about-hero h1{font-size:28px}
    .about-desc{font-size:16px}
    .meaning-grid,.philosophy-grid{grid-template-columns:1fr}
}

/* HERO MOBILE TEXT ALIGN FIX */
@media(max-width:980px){
    .hero-content{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:34px 18px 96px !important;
        gap:22px;
    }

    .hero-text{
        width:100%;
        max-width:460px;
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:left;
        order:2;
    }

    .hero-main-img{
        order:1;
        width:100%;
        max-width:560px;
        margin:0 !important;
    }

    .hero-text h1{
        min-height:auto;
        margin-bottom:12px;
    }

    .hero-text p{
        min-height:auto;
        max-width:380px;
        margin-bottom:24px;
    }

    .hero-actions{
        justify-content:center;
    }

    .hero-thumbs-wrap{
        bottom:20px;
    }
}

/* ===== HERO MOBILE LEFT ALIGN OVERRIDE ===== */
@media (max-width:980px){

    .hero-content{
        align-items:flex-start !important;
    }

    .hero-text{
        width:100% !important;
        max-width:none !important;

        display:block !important;

        text-align:left !important;

        align-self:stretch !important;

        margin:0 !important;
        padding:0 !important;
    }

    .hero-text *{
        text-align:left !important;
    }

    .hero-actions{
        justify-content:flex-start !important;
    }

    .hero-text .eyebrow,
    .hero-text h1,
    .hero-text p{
        width:100%;
    }
}

.go-top{
    position:fixed;
    left:calc(50% + 590px + 18px); /* 1180px / 2 + 여백 */
    bottom:28px;

    width:52px;
    height:52px;
    border:none;
    border-radius:16px;

    background:#3f6fe0;
    color:#fff;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 12px 30px rgba(0,0,0,.18);
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.25s;
    z-index:9999;
}

.go-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.go-top:hover{
    transform:translateY(-4px);
    background:#295bd8;
}

.go-top svg{
    width:24px;
    height:24px;
    fill:#fff;
}

/* 센터영역 오른쪽 공간이 부족한 화면에서는 우측 하단으로 전환 */
@media (max-width:1280px){
    .go-top{
        left:auto;
        right:18px;
        bottom:18px;
    }
}