/* ==== Base / Theme (ortak) ==== */
:root{
  --accent: #2dc9d7;
  --accent-2: #e238de;
  --text: rgb(240, 76, 180);
  --card-bg: rgba(17,17,17,0.8);
  --glass: rgba(58,59,59,0.6);
  --border-soft: rgba(255,255,255,0.12);

  --tap-size: 44px;
  --radius: 12px;
  --lh: 1.5;
}

*{ box-sizing: border-box; }

html, body{
  margin:0; padding:0; height:100%;
  scroll-behavior: smooth;
  font-family: "Arial", sans-serif;
  font-style: normal;
  color: var(--text);
  text-shadow: 8px 8px 16px rgba(56, 194, 228, 0.5);
  background:#000;
  /* overflow burada TANIMLANMAZ: mobile/desktop dosyaları yönetir */
}

/* ==== Background Video ==== */
#video-container{
  position: fixed; inset: 0; width:100vw; height:100vh;
  overflow:hidden; z-index:0;
}
#background-video{
  width:100%; height:100%;
  object-fit:cover;
  filter: brightness(0.5);
}

/* ==== Foreground ==== */
#overlay{
  position:relative; z-index:10; text-align:center;
  padding: 18vh 2vw 8vh;
  min-height: 100vh;
}

/* Title */
.main-title{
  font-family: 'Great Vibes', cursive;
  font-weight: 400; font-style: italic;
  line-height:1.05;
  color: var(--accent);
  text-shadow: 8px 8px 16px rgba(226, 56, 222, 0.5);
  margin: 0 0 40px;
  /* font-size cihaz dosyalarında yönetilir */
}

/* Buttons */
.button-group{
  display:flex; flex-direction:column; gap:16px;
  max-width:300px; margin:0 auto;
}
.action-button{
  min-height: var(--tap-size);
  background:#fff; color:#000; border:0;
  border-radius:6px; padding:16px 24px;
  font-size:1.1rem; font-weight:700; cursor:pointer;
  transition: background-color .25s ease, color .25s ease, transform .15s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal;
}
.action-button:active{ transform: translateY(0); }

/*İNFOBox*/

.info-box{
  /* Tipografi */
  font-style: normal;               /* body italik, kutu normal */
}

/* İçerideki "adres pill"leri */
.info-box code{
  font-family: system-ui;
  font-size: .8rem;
  color:#e5f9ff;
  padding: 2px 6px;
  border-radius: 6px;
  display:inline-block;
}

/* Info-box içindeki linkler */
.info-box code a{
  color:#f4f8f6; text-decoration:none;
}
.info-box code a:hover{
  text-decoration:underline;
}

/* INFO-BOX başlıkları: aynı renk & boyut */
#howto h2,
#howto h3{
  color: var(--text) !important;   /* pembe */
  font-size: 1.15rem;              /* ikisi eşit boy */
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 8px;
  text-transform: uppercase;       /* metin zaten büyükse etkisi yok */
}

/* Üst başlığın tepede fazla boşluk bırakmaması için */
#howto h2{ margin-top: 0; }

.net-badge{
  position: fixed; left:16px; top:16px; z-index:10000;
  background: rgba(17, 24, 39, .6); color:#a7f3d0;
  padding: 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing:.4px;
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(6px);
}


/* ==== Modal (ortak) ==== */
.tm-modal.hidden{ display:none; }
.tm-modal{
  position: fixed; inset:0; z-index:9999;
  display:grid; place-items:center;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.45);
}
.tm-modal__card{
  width:min(92vw, 420px);
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  color:#fff; position:relative;
}
.tm-modal__close{
  position:absolute; right:12px; top:10px;
  background:transparent; border:0; color:#bbb;
  font-size:26px; cursor:pointer;
}
.tm-modal__title{ margin:0 0 8px; font-size:22px; letter-spacing:.5px; }
.tm-modal__title span{ color:#11d3c5; font-style:italic; }
.tm-modal__rate{ color:#a7f3d0; font-size:14px; margin-bottom:14px; }

.tm-modal__label{ display:block; font-size:13px; color:#cbd5e1; margin:6px 0; }
.tm-input{ display:flex; gap:8px; }
.tm-input input{
  flex:1; padding:12px 14px; border-radius:12px;
  border: 1px solid var(--border-soft);
  background:#0d0d0d; color:#fff; outline:none; font-size:16px;
}
.tm-input__max{
  padding:10px 12px; border-radius:12px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.06); color:#eee; cursor:pointer;
  transition: background .2s ease;
  min-height: var(--tap-size); display: inline-flex; align-items:center;
}
.tm-input__max:hover{ background: rgba(255,255,255,0.12); }

.tm-modal__est{ margin:12px 2px 16px; color:#c7d2fe; font-size:14px; }
.tm-modal__actions{ display:flex; gap:10px; justify-content:flex-end; }
.tm-btn{
  border:0; border-radius:12px; padding:12px 16px; cursor:pointer;
  background: linear-gradient(135deg,#e11d48,#ef4444);
  color:#fff; font-weight:600;
  box-shadow: 0 10px 24px rgba(225,29,72,.35);
  min-height: var(--tap-size);
  display:inline-flex; align-items:center; justify-content:center;
}
.tm-btn[disabled]{ opacity:.6; cursor:not-allowed; }
.tm-btn--ghost{
  background: transparent; color:#e5e7eb;
  border:1px solid var(--border-soft);
}
.tm-btn--ghost:hover{ background: rgba(255,255,255,0.06); }
.tm-modal__hint{ margin-top:10px; font-size:12px; color:#9ca3af; }
.tm-modal__msg{ margin-top:8px; font-size:12px; min-height:16px; color:#fda4af; }

/* Erişilebilir odak */
:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Linklerin tıklanabilir alanını büyüt (buton değilse) */
a{ position: relative; text-decoration: none; }
a:not(.action-button)::after{
  content:""; position:absolute; inset:-6px;
}


