:root {
  --primary: #ffd700;
  --text: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { min-height: 100%; }

body {
  min-width: 280px;
  min-height: 100vh;
  padding: 20px 10px;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  background: #050505 url("assets/background.png") center / cover fixed;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.card {
  padding: 25px 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: rgba(12, 12, 12, .71);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 0 20px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px);
}

header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo {
  display: block;
  width: 200px;
  max-width: 65%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(97, 66, 0, .4));
  transition: transform .3s ease;
}

.logo:hover { transform: scale(1.05); }

.title-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.badge-top {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid #fcff00;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.title-wrap h1 {
  margin-bottom: 8px;
  color: #eee;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(#fff, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome {
  margin-bottom: 20px;
  padding: 10px;
  overflow: hidden;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  background: rgba(0, 0, 0, .3);
  text-align: center;
}

.welcome h3 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-right: .15em solid var(--primary);
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 12px;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink-caret { 0%, 100% { border-color: transparent; } 50% { border-color: var(--primary); } }

.btn {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .3s ease, filter .3s ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-primary {
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(230, 157, 0, .4);
  animation: pulse 2s infinite;
}

.btn-secondary {
  border: 1px solid var(--primary);
  background: rgba(255, 255, 255, .05);
  color: var(--primary);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 130, 0, .7); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero {
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
}

.hero img { display: block; width: 100%; height: auto; }

.table-wrapper {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(0, 0, 0, .2);
}

table { width: 100%; border-collapse: separate; border-spacing: 0; }

th {
  padding: 12px;
  background: var(--primary);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

th:first-child { padding-left: 20px; text-align: left; }
th:last-child { padding-right: 20px; text-align: right; }

td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
  vertical-align: middle;
}

tr:last-child td { border-bottom: 0; }
td:first-child { color: #ddd; font-size: 13px; font-weight: 600; }
td:last-child { text-align: right; }

.btn-mini {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 20px;
  background: #000001;
  color: #ffd500;
  box-shadow: 0 2px 5px #f8ff00;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline {
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #444;
  background: transparent;
  color: #ccc;
  font-size: 12px;
}

.copyright { margin-top: 25px; color: #fff; font-size: 11px; text-align: center; }
.copyright a { color: var(--primary); text-decoration: none; }

@media (max-width: 380px) {
  body { padding: 10px 6px; }
  .card { padding: 20px 12px; }
  .title-wrap h1 { font-size: 18px; }
  .welcome h3 { font-size: 9px; }
  th, td { padding: 10px 8px; }
  th { font-size: 12px; }
  td:first-child { font-size: 11px; }
  .btn-mini { padding: 6px 9px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
