
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Malgun Gothic','Apple SD Gothic Neo',system-ui,sans-serif;
  background:#02040a;
  color:#f5f7ff;
  line-height:1.6;
}
a{text-decoration:none;color:inherit;}
.wrapper{
  position:relative;
  min-height:100vh;
  background:radial-gradient(circle at top,#18243a 0,#02040a 55%);
  overflow:hidden;
  z-index:0;
}
.wrapper::before{
  content:'';
  position:fixed;
  inset:-40px;
  background-image:
    linear-gradient(120deg,rgba(40,184,255,.15) 1px,transparent 1px),
    linear-gradient(210deg,rgba(74,255,185,.12) 1px,transparent 1px);
  background-size:220px 120px, 260px 140px;
  opacity:.45;
  mix-blend-mode:screen;
  animation:moveGrid 26s linear infinite;
  z-index:-1;
  pointer-events:none;
}
@keyframes moveGrid{
  0%{background-position:0 0,0 0;}
  100%{background-position:260px 0,0 180px;}
}


@keyframes fadeUp{
  from{opacity:0;transform:translateY(10px);}
  to{opacity:1;transform:translateY(0);}
}
.hero,
.section,
.guide-section,
.support-wrap,
.faq-box,
.footer{
  animation:fadeUp .55s ease-out;
  animation-fill-mode:both;
}
header{
  border-bottom:1px solid rgba(120,140,190,.4);
  background:rgba(3,5,12,.96);
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(12px);
}
.nav-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 18px;
}
.nav-left{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav-logo img{
  height:32px;
}
.nav-menu{
  display:flex;
  gap:14px;
  font-size:14px;
}
.nav-menu a{
  padding:6px 10px;
  border-radius:999px;
  color:#b8c4ff;
}
.nav-menu a:hover,
.nav-menu a.active{
  background:linear-gradient(135deg,#19d3ff,#25ffb8);
  color:#02040a;
}
.nav-cta{
  display:flex;
  gap:8px;
}
.btn{
  border-radius:999px;
  padding:7px 16px;
  font-size:13px;
  border:1px solid transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.btn-primary{
  background:linear-gradient(135deg,#19d3ff,#25ffb8);
  color:#02040a;
  font-weight:700;
}
.btn-outline{
  border-color:#2f3b63;
  color:#d5ddff;
  background:rgba(9,12,24,.9);
}
main{
  max-width:1180px;
  margin:0 auto;
  padding:28px 18px 40px;
}
.hero{
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(0,2fr);
  gap:28px;
  align-items:center;
}
.hero-kopt{
  padding:26px 24px 24px;
  border-radius:18px;
  background:
    radial-gradient(circle at top,#1f3254 0,transparent 55%),
    linear-gradient(145deg,#070a14,#02040a);
  border:1px solid #263558;
  box-shadow:0 0 40px rgba(15,210,255,.18);
}
.hero-kopt h1{
  font-size:26px;
  margin-bottom:10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(12,230,155,.1);
  border:1px solid rgba(32,255,190,.4);
  font-size:11px;
  color:#6dffd0;
  margin-bottom:10px;
}
.hero-kopt ul{
  margin:12px 0 4px 0;
  padding-left:16px;
  font-size:13px;
}
.hero-kopt ul li{
  margin-bottom:3px;
}
.hero-kopt strong.highlight{
  color:#ffde73;
}
.hero-side{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.card{
  border-radius:16px;
  padding:16px 16px 15px;
  border:1px solid #263558;
  background:radial-gradient(circle at top,#151f33 0,transparent 55%),#050814;
}
.card h2{
  font-size:16px;
  margin-bottom:6px;
}
.card p{
  font-size:13px;
  color:#c7d3ff;
}
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.tag{
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(142,162,220,.5);
  color:#9eb2ff;
}
.section{
  margin-top:28px;
}
.section h2{
  font-size:18px;
  margin-bottom:10px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.info-box{
  border-radius:14px;
  padding:14px 14px 12px;
  border:1px solid #263558;
  background:#040714;
  font-size:13px;
}
.info-box h3{
  font-size:14px;
  margin-bottom:5px;
  color:#6ee6ff;
}
.info-box strong{
  color:#ffde73;
}
.notice-list{
  margin-top:8px;
  font-size:12px;
  color:#a9b7ff;
}
.notice-list li{margin-left:16px;margin-bottom:3px;}
.tv-wrap{
  margin-top:14px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #263558;
}
.tv-wrap iframe{
  width:100%;
  height:360px;
  border:0;
}
.table-activity{
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  margin-top:6px;
}
.table-activity th,
.table-activity td{
  padding:6px 8px;
  border-bottom:1px solid #1b263f;
}
.table-activity th{
  text-align:left;
  font-weight:600;
  color:#9fb4ff;
}
.table-activity tbody tr:nth-child(even){
  background:#050a19;
}
.table-activity td.amount-pos{color:#4dffb3;}
.table-activity td.amount-neg{color:#ff6f8a;}
.badge-safe{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(60,255,149,.08);
  border:1px solid rgba(60,255,149,.5);
  font-size:11px;
  color:#7affc6;
}
.banner-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.banner-row img{
  max-width:100%;
  border-radius:10px;
  border:1px solid #263558;
}
.footer{
  border-top:1px solid #1b263f;
  padding:14px 18px 20px;
  font-size:11px;
  color:#7f8cb5;
  text-align:center;
  margin-top:18px;
}
.layout-tozino{
  display:grid;
  grid-template-columns:228px minmax(0,1fr) 228px;
  gap:16px;
  align-items:flex-start;
}
.side-banner img{
  width:100%;
  display:block;
  border-radius:16px;
  border:1px solid #238c3b;
}
.toz-main{
  border-radius:18px;
  padding:18px 18px 16px;
  border:1px solid #2a5b32;
  background:
    radial-gradient(circle at top,#17351d 0,transparent 55%),
    linear-gradient(150deg,#041208,#020805);
}
.toz-main h1{
  font-size:24px;
  margin-bottom:4px;
  color:#6bff80;
}
.toz-main h2{
  font-size:18px;
  margin:16px 0 6px;
  color:#ffe96d;
}
.toz-main p{
  font-size:13px;
}
.toz-main ul{margin:6px 0 0 16px;font-size:13px;}
.toz-main li{margin-bottom:2px;}
.hash-wrap{
  margin-top:12px;
  padding-top:10px;
  border-top:1px dashed rgba(130,202,120,.4);
  font-size:11px;
  color:#b7ffba;
}
.btn-wrap-bottom{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.guide-section{
  margin-top:14px;
}
.guide-section h3{
  font-size:15px;
  margin:8px 0 6px;
  color:#e9f0ff;
}
@media(max-width:880px){
  .hero{grid-template-columns:1fr;}
  .layout-tozino{grid-template-columns:1fr;}
  .side-banner{display:none;}
}


/* Popup 공통 스타일 */
.popup-overlay{
  position:fixed;
  inset:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease,visibility .25s ease;
  z-index:9999;
  pointer-events:none;
}
.popup-overlay.show{
  opacity:1;
  visibility:visible;
}
.popup-overlay.show{
  opacity:1;
  visibility:visible;
}
.popup-modal{
  width:100%;
  max-width:380px;
  background:#050814;
  border-radius:14px;
  padding:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.7);
  border:1px solid rgba(130,160,255,.7);
  pointer-events:auto;
}

.popup-modal-inner{
  position:relative;
}
.popup-close{
  border:0;
  background:transparent;
  color:#9da7ff;
  font-size:18px;
  line-height:1;
  padding:0;
  position:absolute;
  top:6px;
  right:8px;
  cursor:pointer;
}
.popup-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
}


/* KOPTION 메인 팝업 위치 조정 */
#popup-koption-accum .popup-modal{
  position:fixed;
  left:16px;
  bottom:16px;
  margin:0;
}
#popup-koption .popup-modal{
  /* 중앙 정렬은 기본 flex로 처리 */
}


.top-strip{
  background:#040810;
  border-bottom:1px solid rgba(120,180,255,.4);
  padding:6px 0;
  font-size:13px;
  color:#f5f6ff;
}
.top-strip .container{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.top-strip strong{
  color:#ffe28a;
  font-weight:700;
}
.top-strip span{
  opacity:.9;
  display:block;
}


.comp-banners{
  margin:26px 0 18px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:12px;
}
.comp-banner{
  display:block;
  padding:14px 14px 12px;
  border-radius:12px;
  background:#0b111e;
  border:1px solid rgba(255,233,109,.45);
  text-align:left;
  text-decoration:none;
  color:#f5f6ff;
  box-shadow:0 4px 10px rgba(0,0,0,.45);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.comp-banner strong{
  display:block;
  font-size:15px;
  margin-bottom:4px;
}
.comp-banner .cb-tag{
  display:inline-block;
  font-size:11px;
  margin-bottom:3px;
  opacity:.85;
}
.comp-banner .cb-desc{
  display:block;
  font-size:12px;
  opacity:.9;
}
.comp-banner:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.6);
  border-color:#ffe96d;
}
.cb-1{
  background:linear-gradient(135deg,#071322,#1a2640);
}
.cb-2{
  background:linear-gradient(135deg,#141821,#343643);
}
.cb-3{
  background:linear-gradient(135deg,#1b1024,#3b2148);
}
.cb-4{
  background:linear-gradient(135deg,#041812,#0f3523);
}
/* 수류탄 전용 스트립 색상 */
.suryutan-strip{
  background:#021d0d;
  border-color:rgba(0,255,120,.4);
}

/* 팝업 '오늘 하루 안보기' */
.popup-today{
  display:block;
  margin-top:8px;
  font-size:11px;
  color:#b7bedf;
}
.popup-today input{
  margin-right:4px;
}


.popup-footer{
  margin-top:6px;
  padding:6px 10px;
  border-radius:8px;
  background:#101521;
  text-align:center;
  font-size:12px;
  color:#f5f6ff;
  border:1px solid rgba(0,255,120,.4);
}
.popup-footer strong{
  color:#4dff9a;
}


.popup-bottom{
  margin-top:6px;
  background:#101521;
  border-radius:0 0 10px 10px;
  padding:6px;
  text-align:center;
}
.popup-bottom .popup-close-bottom{
  padding:4px 20px;
  border-radius:999px;
  border:1px solid rgba(0,255,120,.7);
  background:#051b10;
  color:#e9fff2;
  font-size:12px;
  cursor:pointer;
}
.popup-bottom .popup-close-bottom:hover{
  background:#0a2f1c;
}


/* 우측 플로팅 버튼 (가입하기 / 상담하기 / 텔레그램) */
.floating-cta{
  position:fixed;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:8px;
  z-index:9800;
}
.floating-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  border:1px solid rgba(120,180,255,.8);
  background:rgba(4,8,20,.92);
  color:#f5f6ff;
  text-decoration:none;
  box-shadow:0 6px 16px rgba(0,0,0,.45);
}
.floating-btn.join{
  background:linear-gradient(135deg,#3c7bff,#7cf5ff);
  color:#02040a;
  border:none;
}
.floating-btn.consult{
  background:rgba(4,8,20,.92);
}
.floating-btn:hover{
  opacity:.92;
}

/* 수류탄 페이지 전용 컬러 */
.suryutan-cta .floating-btn{
  border-color:rgba(0,255,120,.75);
  background:rgba(3,17,10,.95);
}
.suryutan-cta .floating-btn.home{
  background:linear-gradient(135deg,#36ff9c,#e8ffe3);
  color:#021208;
  border:none;
}

/* 텔레그램 아이콘 */
.tg-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  margin-right:6px;
  border-radius:50%;
  border:1px solid currentColor;
  font-size:11px;
  font-weight:700;
}


/* KOPTION 공지 아코디언 */
.notice-block{
  border:1px solid #263558;
  border-radius:10px;
  padding:10px 12px;
  margin-bottom:8px;
  background:#050814;
}
.notice-block h2{
  font-size:14px;
  color:#ffe28a;
  margin:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.notice-block h2::after{
  content:"+";
  font-size:16px;
  color:#9da7ff;
}
.notice-block.open h2::after{
  content:"−";
}
.notice-body{
  display:none;
  margin-top:8px;
}
.notice-block.open .notice-body{
  display:block;
}
.notice-text{
  white-space:pre-wrap;
}


.activity-warning{
  margin-top:6px;
  font-size:11px;
  color:rgba(180,190,220,.8);
}


/* 수류탄 플로팅 CTA */
.floating-cta.suryutan-cta{
  position:fixed;
  right:14px;
  bottom:120px;
  display:flex;
  flex-direction:column;
  gap:8px;
  z-index:60;
}
.floating-cta.suryutan-cta .floating-btn{
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
}
.floating-cta.suryutan-cta .floating-btn.home{
  background:rgba(15,184,120,.12);
  border:1px solid rgba(15,184,120,.7);
  color:#b8ffe0;
}
.floating-cta.suryutan-cta .floating-btn.telegram{
  background:linear-gradient(135deg,#2f9bff,#1e68ff);
  border:none;
  color:#f9fcff;
  display:flex;
  align-items:center;
  gap:6px;
  box-shadow:0 0 12px rgba(30,104,255,.5);
}
.floating-cta.suryutan-cta .floating-btn.telegram .tg-icon{
  width:20px;
  height:20px;
  border-radius:50%;
  background:rgba(0,0,0,.18);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:600;
}
@media (max-width:768px){
  .floating-cta.suryutan-cta{
    right:10px;
    bottom:100px;
  }
}

/* 수류탄 미니 배너 */
.mini-banners{
  margin:18px 0 10px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px;
}
.mini-banner{
  padding:10px 12px;
  border-radius:12px;
  font-size:12px;
  line-height:1.4;
  color:#f9fbff;
}
.mini-banner strong{
  display:block;
  margin-bottom:2px;
}
.mini-banner.sports{
  background:linear-gradient(135deg,rgba(0,220,130,.16),rgba(0,150,90,.4));
}
.mini-banner.slot{
  background:linear-gradient(135deg,rgba(255,196,0,.18),rgba(255,140,0,.38));
}
.mini-banner.casino{
  background:linear-gradient(135deg,rgba(90,140,255,.18),rgba(40,80,210,.46));
}
.mini-banner.mini{
  background:linear-gradient(135deg,rgba(255,80,160,.18),rgba(190,40,120,.46));
}

/* Footer layout upgrade */
.footer{
  border-top:1px solid #1b263f;
  padding:18px 18px 22px;
  font-size:11px;
  color:#7f8cb5;
  text-align:left;
  margin-top:24px;
  background:rgba(2,4,12,.94);
}
.footer-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.footer-main strong{
  font-size:12px;
  color:#dfe5ff;
}
.footer-main p{
  margin-top:2px;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:4px;
}
.footer-links a{
  color:#9fafee;
  opacity:.9;
}
.footer-links a:hover{
  text-decoration:underline;
}
.footer-meta p{
  margin-top:2px;
  opacity:.85;
}

/* Support & FAQ section */
.section-support{
  margin-top:30px;
}
.support-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr);
  gap:18px;
  align-items:flex-start;
}
.support-box,
.faq-box{
  border-radius:16px;
  padding:16px 16px 14px;
  border:1px solid #24365a;
  background:radial-gradient(circle at top,#18233d 0,transparent 55%),linear-gradient(150deg,#050814,#02040a);
  box-shadow:0 0 26px rgba(10,32,90,.38);
}
.support-text{
  font-size:13px;
  color:#c1ceff;
  margin-bottom:10px;
}
.support-list{
  list-style:none;
  padding-left:0;
  margin:0 0 8px;
  font-size:12px;
  color:#a8b5ff;
}
.support-list li{
  margin-bottom:4px;
}
.support-note{
  font-size:11px;
  color:#7f8cb5;
}
.faq-box h2{
  font-size:18px;
  margin-bottom:8px;
}
.faq-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.faq-item{
  border-radius:10px;
  border:1px solid #283861;
  background:rgba(3,6,18,.9);
  padding:6px 10px;
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  font-size:12px;
  color:#d5dfff;
}
.faq-item summary::-webkit-details-marker{
  display:none;
}
.faq-item[open]{
  border-color:#19d3ff;
  box-shadow:0 0 12px rgba(25,211,255,.25);
}
.faq-body{
  margin-top:6px;
  font-size:11px;
  color:#aebaf5;
}

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  margin-left:10px;
  background:transparent;
  border:0;
  cursor:pointer;
  width:32px;
  height:28px;
  position:relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after{
  content:'';
  position:absolute;
  left:4px;
  right:4px;
  height:2px;
  background:#f5f6ff;
  border-radius:999px;
  transition:.22s transform ease,.22s opacity ease,.22s top ease,.22s bottom ease;
}
.nav-toggle span{
  top:50%;
  transform:translateY(-50%);
}
.nav-toggle::before{
  top:7px;
}
.nav-toggle::after{
  bottom:7px;
}
body.nav-open .nav-toggle span{
  opacity:0;
}
body.nav-open .nav-toggle::before{
  top:50%;
  transform:translateY(-50%) rotate(45deg);
}
body.nav-open .nav-toggle::after{
  bottom:auto;
  top:50%;
  transform:translateY(-50%) rotate(-45deg);
}

@media (max-width: 900px){
  .nav-inner{
    padding:8px 12px;
  }
  .nav-menu{
    position:fixed;
    left:0;
    right:0;
    top:52px;
    padding:10px 14px 12px;
    background:rgba(3,6,18,.97);
    border-bottom:1px solid rgba(70,90,140,.7);
    display:none;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-start;
    z-index:40;
  }
  body.nav-open .nav-menu{
    display:flex;
  }
  .nav-cta{
    display:none;
  }
  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  main{
    padding-top:20px;
  }
  .support-grid{
    grid-template-columns:1fr;
  }
  .footer{
    text-align:left;
  }
}


/* Chart data provider logos */
.chart-logos{
  margin-top:8px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:11px;
  color:#aebaf5;
}
.chart-logos-label{
  opacity:.85;
}
.chart-logos-row{
  display:flex;
  align-items:center;
  gap:6px;
}
.chart-logo{
  height:22px;
  width:auto;
  border-radius:4px;
  background:#05060c;
  padding:2px 6px;
  box-shadow:0 0 6px rgba(0,0,0,.6);
}
@media (max-width:768px){
  .chart-logos{
    font-size:10px;
  }
  .chart-logo{
    height:18px;
  }
}

/* Floating Buttons */
.float-buttons{
  position:fixed;
  right:22px;
  bottom:24px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:9999;
}
.float-buttons a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:50%;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(160deg,#0e1730,#101d3d);
  border:1px solid #2d3f68;
  box-shadow:0 0 10px rgba(0,0,0,.4);
  transition:.2s;
}
.float-buttons a:hover{
  transform:scale(1.08);
  box-shadow:0 0 16px rgba(0,0,0,.55);
}
.float-top{
  background:linear-gradient(160deg,#1c2b4d,#253761);
}
.float-chat{
  background:linear-gradient(160deg,#0077ff,#005de0);
}
@media(max-width:768px){
  .float-buttons a{
    width:48px;
    height:48px;
    font-size:12px;
  }
}
