*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  min-height:100vh;
  background:
    radial-gradient(circle at top, rgba(255,60,0,.30), transparent 35%),
    linear-gradient(135deg,#080006,#14000a 45%,#050005);
  color:white;
  padding:20px;
}

.container{
  max-width:1200px;
  margin:auto;
}

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 28px;
  border-radius:25px;
  background:rgba(15,5,10,.85);
  border:1px solid rgba(255,180,60,.2);
  box-shadow:0 0 30px rgba(255,60,0,.15);
}

.logo img{
height:90px;
width:auto;
display:block;
filter: drop-shadow(0 0 12px rgba(255,120,0,.35));
}

.header-text{
  color:#d5cad7;
}

.hero{
position:relative;
overflow:hidden;
margin-top:30px;
border-radius:35px;
border:1px solid rgba(255,200,80,.15);
box-shadow:0 0 40px rgba(255,50,0,.18);
min-height:420px;
display:flex;
align-items:center;
}

.hero-banner{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
opacity:.1;
}

.hero-content{
position:absolute;
left:35px;
bottom:30px;
z-index:3;
}

.hero-badge{
padding:16px 34px;
font-size:24px;
font-weight:900;
border:none;
cursor:pointer;
border-radius:999px;
background:linear-gradient(90deg,#ffcc33,#ff5b2b);
color:#1d0b00;
box-shadow:0 8px 25px rgba(255,120,0,.35);
transition:.25s;
}

.hero-badge:hover{
transform:translateY(-2px) scale(1.03);
}

.hero h1{
font-size:72px;
line-height:1.05;
margin:10px 0 20px;
}

.hero p{
font-size:22px;
max-width:650px;
color:#f1e7d4;
line-height:1.7;
}

.badge{
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  background:linear-gradient(90deg,#ffcc33,#ff4b2b);
  color:#200007;
  font-weight:900;
  margin-bottom:20px;
}

.hero-badge{
  border:none;
}

.hero h1{
  font-size:56px;
  line-height:1.2;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  line-height:1.8;
  color:#ddd;
  max-width:650px;
}

.section-title{
  margin:35px 0 18px;
  color:#ffcb55;
  font-size:26px;
}

.missions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card{
  background:rgba(20,5,15,.92);
  border-radius:28px;
  border:1px solid rgba(255,200,80,.15);
  padding:28px;
  transition:.25s;
  box-shadow:0 0 25px rgba(255,40,0,.08);
}

.card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,220,120,.5);
  box-shadow:0 0 35px rgba(255,80,0,.20);
}

.tag{
  color:#ffcb55;
  font-size:13px;
  font-weight:bold;
  margin-bottom:12px;
}

.card h3{
  font-size:28px;
  margin-bottom:12px;
}

.card p{
  color:#d0c6d3;
  line-height:1.8;
  margin-bottom:20px;
}

button,
.line-btn{
  border:none;
  cursor:pointer;
  padding:13px 22px;
  border-radius:999px;
  background:linear-gradient(90deg,#ffd447,#ff512f);
  color:#180006;
  font-weight:900;
  transition:.2s;
  text-decoration:none;
  display:inline-block;
}

button:hover,
.line-btn:hover{
  transform:scale(1.05);
  box-shadow:0 0 20px rgba(255,150,0,.45);
}

.reward{
  margin-top:30px;
  padding:28px;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,60,0,.12),rgba(255,190,0,.06));
  border:1px solid rgba(255,200,80,.15);
}

.reward h2{
  color:#ffcb55;
  margin-bottom:12px;
}

.reward p{
  color:#ddd;
  line-height:1.8;
}

footer{
  margin-top:35px;
  text-align:center;
  color:#bdb2c0;
  line-height:2;
  font-size:14px;
}

/* POPUP */

.popup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  align-items:center;
  justify-content:center;
  z-index:999;
}

.popup-box{
  width:90%;
  max-width:380px;
  padding:35px;
  border-radius:28px;
  background:linear-gradient(135deg,#180012,#320018);
  border:1px solid rgba(255,200,80,.25);
  text-align:center;
  box-shadow:0 0 45px rgba(255,60,0,.35);
}

.popup-box h2{
  color:#ffcb55;
  margin-bottom:15px;
}

.popup-box p{
  color:#ddd;
  margin-bottom:24px;
}

/* MAIN QUEST */

.quest-page{
  margin-top:30px;
  display:grid;
  grid-template-columns:1fr 1.45fr;
  gap:28px;
}

.rules-box,
.mission-panel{
  background:rgba(18,5,30,.88);
  border:1px solid rgba(255,200,80,.18);
  border-radius:30px;
  padding:30px;
  box-shadow:0 0 35px rgba(255,60,0,.12);
}

.rules-box h2,
.mission-panel h2{
  font-size:30px;
  margin-bottom:28px;
  color:#ffcb55;
}

.rule-item{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-bottom:28px;
}

.rule-item span,
.step-number{
  min-width:52px;
  height:52px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff512f,#ffcc33);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:900;
  color:#180006;
}

.rule-item p{
  color:#f3e4b3;
  line-height:1.8;
  font-size:17px;
}

.progress-box{
  padding:24px;
  border-radius:26px;
  background:linear-gradient(135deg,rgba(255,100,0,.14),rgba(255,190,0,.06));
  border:1px solid rgba(255,200,80,.25);
  margin-bottom:24px;
}

.progress-top{
  display:flex;
  justify-content:space-between;
  margin-bottom:14px;
  color:#fff1b8;
  font-size:17px;
}

.progress-bar{
  width:100%;
  height:12px;
  background:rgba(0,0,0,.45);
  border-radius:99px;
  overflow:hidden;
}

#progressFill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#ffcc33,#ff512f);
  transition:.3s;
}

.step-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:22px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(10,0,20,.72);
  margin-bottom:18px;
  position:relative;
}

.step-content{
  flex:1;
}

.step-content h3{
  font-size:22px;
  margin-bottom:8px;
}

.step-content p{
  color:#cfc3d6;
  line-height:1.6;
  margin-bottom:16px;
}

.status{
  position:absolute;
  right:22px;
  top:22px;
  font-size:13px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  color:#d8c9df;
}

.step-card.done{
  border-color:rgba(255,210,90,.65);
  box-shadow:0 0 24px rgba(255,130,0,.18);
}

.step-card.done .status{
  background:linear-gradient(90deg,#ffcc33,#ff512f);
  color:#180006;
  font-weight:900;
}

.link-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:18px;
}

.link-grid a{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:13px 15px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  transition:.2s;
}

.link-grid a b{
  color:#ffcb55;
  white-space:nowrap;
}

.link-grid a:hover{
  background:rgba(255,180,60,.16);
  border-color:rgba(255,200,80,.35);
}

.link-grid a.opened{
  border-color:rgba(255,204,51,.7);
  background:rgba(255,204,51,.13);
}

.link-grid a.opened b{
  color:#8cffb1;
}

.unlock-box{
  display:none;
  margin-top:24px;
  padding:28px;
  border-radius:26px;
  background:linear-gradient(135deg,rgba(255,204,51,.95),rgba(255,81,47,.95));
  color:#180006;
  text-align:center;
}

.unlock-box h2{
  color:#180006;
  margin-bottom:10px;
}

.unlock-box p{
  line-height:1.7;
  margin-bottom:20px;
  font-weight:700;
}

.unlock-box .line-btn{
  background:#180006;
  color:#ffcb55;
}

.back-btn{
  margin-top:24px;
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}

@media(max-width:900px){
  .missions,
  .quest-page,
  .link-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding:35px 25px;
  }

  .hero h1{
    font-size:38px;
  }

  header{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }

  .step-card{
    flex-direction:column;
  }

  .status{
    position:static;
    width:max-content;
  }
}
.hero{
  background:none !important;
}

.hero-banner{
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
}
/* MAIN QUEST HOT */

.hot-card{
  position:relative;
  overflow:hidden;
  transition:.25s ease;
}

.hot-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 35px rgba(255,120,0,.25);
}

.hot-badge{
  position:absolute;
  top:18px;
  right:18px;
  background:linear-gradient(90deg,#ffcc33,#ff5b2b);
  color:#200007;
  font-weight:900;
  padding:8px 16px;
  border-radius:999px;
  font-size:14px;
  animation:pulseHot 1.6s infinite;
}

@keyframes pulseHot{
  0%{transform:scale(1);}
  50%{transform:scale(1.08);}
  100%{transform:scale(1);}
}

.free-credit{
  background:rgba(255,120,0,.12);
  border:1px solid rgba(255,170,0,.25);
  color:#ffcf70;
  padding:12px;
  border-radius:16px;
  margin:15px 0;
  font-weight:700;
}

.hot-button{
  background:linear-gradient(90deg,#ffcc33,#ff5b2b);
  color:#200007;
  font-weight:900;
  border:none;
  border-radius:999px;
  padding:16px 26px;
  cursor:pointer;
  animation:glowBtn 1.5s infinite;
}

@keyframes glowBtn{
  0%{
    box-shadow:0 0 0 rgba(255,120,0,0);
  }

  50%{
    box-shadow:0 0 28px rgba(255,120,0,.45);
  }

  100%{
    box-shadow:0 0 0 rgba(255,120,0,0);
  }
}

@media(max-width:900px){
  .hero{
    min-height:260px;
    overflow:hidden;
  }

  .hero-banner{
    width:100%;
    height:260px;
    object-fit:cover;
    object-position:center;
  }
}
.proof-example-btn{
  margin-top:18px;
  width:100%;
  padding:16px 20px;
  border-radius:18px;
  background:linear-gradient(90deg,#ffcc33,#ff5b2b);
  color:#1d0b00;
  font-size:18px;
  font-weight:900;
  border:none;
  cursor:pointer;
  box-shadow:0 0 22px rgba(255,120,0,.25);
}

.proof-popup{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.82);
  padding:22px;
  overflow-y:auto;
}

.proof-popup.show{
  display:block;
}

.proof-popup-box{
  max-width:760px;
  margin:30px auto;
  padding:26px;
  border-radius:28px;
  background:#120018;
  border:1px solid rgba(255,200,80,.25);
  box-shadow:0 0 45px rgba(255,80,0,.25);
  position:relative;
}

.proof-close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.proof-popup-box h2{
  color:#ffcc55;
  font-size:30px;
  margin-bottom:10px;
}

.proof-subtitle{
  color:#fff4d7;
  font-size:17px;
  line-height:1.6;
  margin-bottom:22px;
}

.proof-example{
  margin-top:22px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}

.proof-example h3{
  color:#ffcc55;
  font-size:22px;
  margin-bottom:14px;
}

.proof-example img{
  width:100%;
  border-radius:18px;
  display:block;
}

@media(max-width:900px){
  .proof-popup{
    padding:14px;
  }

  .proof-popup-box{
    margin:15px auto;
    padding:20px;
    border-radius:22px;
  }

  .proof-popup-box h2{
    font-size:24px;
    padding-right:45px;
  }

  .proof-example h3{
    font-size:18px;
  }
}
.proof-example-btn{
  margin-top:18px !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  padding:16px 20px !important;
  border-radius:18px !important;
  display:block !important;
  background:linear-gradient(90deg,#ffcc33,#ff5b2b) !important;
  color:#1d0b00 !important;
  font-size:18px !important;
  font-weight:900 !important;
  text-align:center !important;
  box-shadow:0 0 22px rgba(255,120,0,.25) !important;
}

.proof-close{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  padding:0 !important;
  text-align:center !important;
}

@media(min-width:901px){
  .rules-box .proof-example-btn{
    max-width:100% !important;
  }
}
.proof-warning {
  margin-top: 18px;
  background: linear-gradient(135deg,#2b0000,#4a0000);
  border: 2px solid #ff3b3b;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 0 25px rgba(255,0,0,.25);
  animation: pulseWarning 2s infinite;
}

.warning-icon {
  font-size: 34px;
  flex-shrink: 0;
}

.warning-content h4 {
  color: #ffd44d;
  font-size: 22px;
  margin-bottom: 10px;
}

.warning-content p {
  margin: 6px 0;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}

@keyframes pulseWarning {
  0% {
    box-shadow: 0 0 15px rgba(255,0,0,.2);
  }
  50% {
    box-shadow: 0 0 35px rgba(255,0,0,.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(255,0,0,.2);
  }
}
.confirm-proof-popup{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.82);
  padding:20px;
  align-items:center;
  justify-content:center;
}

.confirm-proof-popup.show{
  display:flex;
}

.confirm-proof-box{
  max-width:480px;
  width:100%;
  padding:30px;
  border-radius:28px;
  background:linear-gradient(135deg,#160018,#2a0505);
  border:1px solid rgba(255,200,80,.35);
  box-shadow:0 0 45px rgba(255,80,0,.28);
  text-align:center;
}

.confirm-proof-icon{
  width:80px;
  height:80px;
  margin:0 auto 15px;
  border-radius:50%;
  background:linear-gradient(135deg,#ffcc33,#ff5b2b);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:38px;
  box-shadow:0 0 25px rgba(255,120,0,.4);
}

.confirm-proof-box h2{
  color:#ffcc55;
  font-size:30px;
  margin-bottom:12px;
}

.confirm-proof-box p{
  color:#fff4d7;
  font-size:18px;
  line-height:1.7;
}

.confirm-proof-warning{
  margin:18px 0;
  padding:14px;
  border-radius:16px;
  background:rgba(255,60,60,.15);
  border:1px solid rgba(255,80,80,.35);
  color:#fff;
  font-weight:800;
}

.confirm-proof-actions{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.proof-cancel,
.proof-confirm{
  flex:1;
  padding:15px;
  border:none;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
}

.proof-cancel{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.proof-confirm{
  background:linear-gradient(90deg,#ffcc33,#ff5b2b);
  color:#1d0b00;
}

@media(max-width:600px){
  .confirm-proof-box{
    padding:24px;
  }

  .confirm-proof-actions{
    flex-direction:column;
  }
}