:root{
  --yellow:#FFD700;
  --black:#0B0F19;
  --white:#ffffff;
  --text:#0B0F19;
  --muted:rgba(11,15,25,.65);
  --line:rgba(11,15,25,.10);
  --shadow: 0 18px 50px rgba(11,15,25,.10);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--white);
  color: var(--text);
}

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.card{
  width:min(760px, 100%);
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}

.header{
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
  margin-bottom:14px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.brand-logo{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid var(--line);
  background: #fff;
  padding:6px;
}

.brand-text h1{
  margin:0;
  font-size:20px;
  letter-spacing:.2px;
}

.brand-text p{
  margin:6px 0 0;
  color: var(--muted);
  font-size:13px;
  line-height:1.4;
}

.form{
  display:grid;
  gap:10px;
  margin-top:12px;
}

label{
  font-size:13px;
  color: var(--muted);
}

input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color: var(--text);
  outline:none;
}

input:focus{
  border-color: rgba(255,215,0,.65);
  box-shadow: 0 0 0 4px rgba(255,215,0,.20);
}

.section{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.section-title{
  font-weight:900;
  font-size:14px;
  margin-bottom:10px;
}

/* =========================
   MODERN PRIZE BOARD
   ========================= */
.prize-board{
  border:1px solid rgba(11,15,25,.10);
  border-radius:18px;
  overflow:hidden;
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(255,215,0,.25), transparent 60%),
    radial-gradient(600px 220px at 80% 10%, rgba(11,15,25,.06), transparent 55%),
    #fff;
}

.prize-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-bottom:1px solid rgba(11,15,25,.08);
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,215,0,.18);
  border: 1px solid rgba(255,215,0,.35);
  font-weight:900;
  font-size:12px;
  color: var(--black);
}

.prize-hero-amount{
  margin-top:8px;
  font-size:28px;
  font-weight:1000;
  letter-spacing:.2px;
  color: var(--black);
}

.prize-hero-sub{
  margin-top:6px;
  font-size:12px;
  color: rgba(11,15,25,.65);
  line-height:1.35;
}

.prize-badge{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: rgba(255,215,0,.18);
  border:1px solid rgba(255,215,0,.35);
  font-size:24px;
}

.prize-list{
  padding:12px;
  display:grid;
  gap:10px;
}

.prize-row{
  display:grid;
  grid-template-columns: 44px 1fr auto;
  align-items:center;
  gap:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(11,15,25,.08);
  background:#fff;
}

.prize-row-plus{
  background: rgba(11,15,25,.03);
}

.rank{
  width:44px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:1000;
  background: rgba(255,215,0,.18);
  border:1px solid rgba(255,215,0,.35);
  color: var(--black);
}

.label{
  font-weight:900;
  color: rgba(11,15,25,.72);
}

.amt{
  font-weight:1000;
  color: var(--black);
}

/* =========================
   ACCORDION (DETAILS)
   ========================= */
.accordion{
  border:1px solid rgba(11,15,25,.10);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}

.accordion > summary{
  list-style:none;
  cursor:pointer;
  padding:14px;
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:
    linear-gradient(180deg, rgba(255,215,0,.10), transparent 70%),
    #fff;
}

.accordion > summary::-webkit-details-marker{ display:none; }

.acc-icon{
  width:28px;
  height:28px;
  border-radius:10px;
  border:1px solid rgba(11,15,25,.10);
  background: rgba(11,15,25,.03);
  position:relative;
  flex: 0 0 auto;
}

.acc-icon::before,
.acc-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:2px;
  background: rgba(11,15,25,.65);
  transform: translate(-50%,-50%);
  border-radius:2px;
}
.acc-icon::after{
  width:2px;
  height:12px;
}

.accordion[open] .acc-icon::after{
  opacity:0;
}

.accordion-body{
  padding:12px 14px 14px;
  border-top:1px solid rgba(11,15,25,.08);
}

.rules{
  margin:0;
  padding-left:18px;
  color: rgba(11,15,25,.85);
}

.rules li{
  margin:8px 0;
  line-height:1.45;
}

/* =========================
   RESULT GRID
   ========================= */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}

@media (max-width:520px){
  .grid{grid-template-columns: 1fr;}
}

.box{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff;
}

.k{
  font-size:12px;
  color: var(--muted);
}

.v{
  margin-top:8px;
  font-weight:1000;
  font-size:22px;
}

.v-green{ color:#0a8f3c; }
.v-yellow{ color: var(--yellow); text-shadow: 0 1px 0 rgba(11,15,25,.25); }

/* =========================
   BUTTONS
   ========================= */
.btn{
  border:none;
  cursor:pointer;
  border-radius:14px;
  padding:12px 14px;
  font-weight:900;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition: transform .08s ease, filter .12s ease;
  position:relative;
  overflow:hidden;
  will-change: transform;
}

.btn:active{ transform: translateY(1px); }

.btn-wide{ width:100%; }

.btn-primary{
  background: var(--yellow);
  color: var(--black);
  border:1px solid rgba(11,15,25,.10);
}

.btn-primary:hover{ filter: brightness(.98); }

.btn-dark{
  background: var(--black);
  color: #fff;
  border:1px solid rgba(11,15,25,.10);
}

.btn-dark:hover{ filter: brightness(1.06); }

.btn-outline{
  background:#fff;
  color: var(--black);
  border:1px solid rgba(11,15,25,.22);
}

.btn-outline:hover{ filter: brightness(.99); }

.btn-cta{
  padding:14px 14px;
  border-radius:16px;
  box-shadow: 0 10px 24px rgba(255,215,0,.18);
}

/* PARLAYAN / ANİMASYONLU BUTON */
.btn-sparkle{
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.btn-sparkle::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:50%;
  height:180%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.55),
    transparent
  );
  animation: shineSweep 2.2s ease-in-out infinite;
  pointer-events:none;
}

@keyframes shineSweep{
  0%   { left:-60%; opacity:.0; }
  15%  { opacity:.0; }
  35%  { opacity:.65; }
  60%  { opacity:.15; }
  100% { left:140%; opacity:0; }
}

@keyframes pulseGlow{
  0%,100%{ box-shadow: 0 10px 26px rgba(255,215,0,.18); transform: translateY(0); }
  50%    { box-shadow: 0 14px 34px rgba(255,215,0,.30); transform: translateY(-1px); }
}

/* =========================
   LINKS LAYOUT
   ========================= */
.links{
  margin-top:12px;
  display:grid;
  gap:10px;
}

.link-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

@media (max-width:520px){
  .link-row{grid-template-columns: 1fr;}
}

/* =========================
   NOTICE
   ========================= */
.notice{
  margin-top:14px;
  border-radius:16px;
  padding:14px;
  border:1px solid var(--line);
  background: rgba(255,215,0,.10);
}

.notice-warn{
  border-color: rgba(255,215,0,.55);
  background: rgba(255,215,0,.12);
}

.notice-title{
  font-weight:1000;
  font-size:16px;
  color: var(--black);
}

.notice-text{
  margin-top:6px;
  color: rgba(11,15,25,.75);
  font-size:13px;
}

.cta{
  margin-top:12px;
  display:grid;
  gap:10px;
}

/* =========================
   FOOTER
   ========================= */
.footer{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid var(--line);
  color: rgba(11,15,25,.55);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
