:root {
  --bg: #0b1020;
  --bg-alt: #121a31;
  --surface: rgba(10, 16, 35, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.94);
  --card-soft: rgba(255, 255, 255, 0.06);
  --text: #ecf2ff;
  --text-dark: #172033;
  --muted: #91a0c3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #5b8cff;
  --accent-2: #4ecdc4;
  --green: #63d471;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(8, 12, 24, 0.90), rgba(17, 22, 43, 0.84)),
    url('../images/bg.jpg') center/cover fixed no-repeat;
}

img {
  max-width: 100%;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  padding: 28px 0;
  display: flex;
  align-items: center;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-header {
  padding: 34px 34px 26px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(91, 140, 255, 0.35), transparent 34%),
    radial-gradient(circle at top right, rgba(78, 205, 196, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  color: #cfe0ff;
  margin-bottom: 14px;
}

.panel-header h1 {
  margin: 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 760px;
  margin: 14px auto 0;
  color: #c8d4ef;
  font-size: 16px;
  line-height: 1.7;
}

.panel-body,
.panel-footer {
  padding: 30px 34px;
}

.generator-grid {
  display: flex;
  align-items: stretch;
}

.visual-card,
.intro-card,
.form-card,
.offer-card,
.console-shell {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.visual-card {
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 100%;
}

.game-icon {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.28);
}

.status-stack {
  display: grid;
  gap: 12px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #e7efff;
  font-size: 14px;
}

.status-pill i {
  color: var(--accent-2);
}

.intro-card,
.form-card {
  padding: 22px;
}

.form-card {
  margin-top: 18px;
}

.intro-title {
  display: block;
  color: #fff;
  line-height: 1.2;
}

.intro-text {
  margin: 12px 0 0;
  color: #ccdaf8;
  line-height: 1.7;
  font-size: 15px;
}

.form-group-block + .form-group-block {
  margin-top: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #edf3ff;
  font-size: 14px;
}

.modern-input-group {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.modern-input-group .input-group-addon {
  border: 0;
  background: transparent;
  min-width: 58px;
}

.modern-input-group .form-control {
  border: 0;
  box-shadow: none;
  height: 56px;
  font-size: 15px;
  color: var(--text-dark);
}

.modern-input-group .form-control:focus {
  box-shadow: none;
}

.note {
  margin-top: 8px;
  color: #a7b5d4;
  font-size: 12px;
  line-height: 1.55;
}

.warning {
  display: none;
  color: #ff9f9f;
  font-size: 13px;
  margin: 8px 4px 0;
}

.console-shell {
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
}

.console-title {
  margin-left: 8px;
  font-size: 13px;
  color: #cfd8ef;
}

code.command {
  display: block;
  width: 100%;
  min-height: 300px;
  padding: 20px;
  background: #06101f;
  color: #8cfcc2;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  border: 0;
  overflow-y: auto;
}

.offer-card {
  padding: 32px 24px;
}

.offer-card h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  color: #fff;
  font-weight: 800;
}

.offer-card h5 {
  margin: 0 auto;
  max-width: 780px;
  color: #c7d4ef;
  line-height: 1.7;
  font-size: 16px;
}

.loading-bar {
  width: 120px;
  margin: 22px auto 10px;
  display: block;
}

.verify-wrap {
  margin-top: 12px;
}

.verify-button-wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.verify-image {
  max-width: 100%;
  height: auto;
}

.footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.button,
.button2,
.orangebtn {
  border: 0;
  color: #fff;
  cursor: pointer;
  outline: none;
  padding: 15px 28px;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 18px 36px rgba(65, 107, 255, 0.35);
}

.button,
.button2 {
  background: linear-gradient(135deg, var(--accent), #6b5cff);
}

.button:hover,
.button2:hover,
.orangebtn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.action-generate {
  min-width: 180px;
  font-size: 16px;
}

.comments-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.comments-title {
  margin: 0 0 20px;
  color: #ffffff;
  text-align: center;
}

.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comment-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.comment-card:hover {
  background: rgba(79, 209, 255, 0.08);
  transform: translateY(-2px);
}

.comment-card > img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.comment-head strong {
  color: #ffffff;
  font-size: 14px;
}

.verified-badge {
  width: 16px;
  height: 16px;
  margin-left: 5px;
}

.comment-content {
  min-width: 0;
}

.comment-content p {
  margin: 5px 0 0;
  color: #cfd8e3;
  line-height: 1.65;
  font-size: 13px;
  word-break: break-word;
}

.modal-content {
  background: #111a31;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: var(--shadow);
}

.modal-header,
.modal-footer {
  border-color: rgba(255,255,255,0.08);
}

.modal-title {
  color: #fff;
}

.explain {
  color: #d7e1f6;
  font-size: 15px;
  line-height: 1.7;
}

.titlu_font {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
}

.accent-green {
  color: var(--green);
}

.accent-blue {
  color: #78b8ff;
}

.sticky-queue {
  z-index: 9999;
}

.sticky {
  border-radius: 18px !important;
  background: rgba(11,16,32,0.95) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
}

.sticky-note {
  color: #ebf1ff !important;
}

.sticky-note img {
  vertical-align: middle;
  margin-right: 6px;
}

#console,
#offers {
  display: none;
}

#generator {
  display: block;
}

/* panel footer color section */
.panel-footer {
  background: linear-gradient(135deg, #0a1625, #0f2a44);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 16px 16px;
}

/* tablet */
@media (max-width: 991px) {
  .page-shell {
    padding: 18px 0;
  }

  .panel-header,
  .panel-body,
  .panel-footer {
    padding: 24px 22px;
  }

  .generator-grid {
    display: block;
  }

  .generator-grid > div,
  .generator-grid .col-md-4,
  .generator-grid .col-sm-5,
  .generator-grid .col-md-8,
  .generator-grid .col-sm-7 {
    width: 100%;
    float: none;
  }

  .visual-card {
    margin-bottom: 18px;
  }

  .comment-list {
    grid-template-columns: 1fr;
  }
}

/* mobile */
@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    padding: 12px 0;
    align-items: flex-start;
  }

  .container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .panel {
    border-radius: 22px;
  }

  .panel-header,
  .panel-body,
  .panel-footer {
    padding: 18px 14px;
  }

  .panel-header h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.6;
  }

  .generator-grid {
    display: block;
  }

  .generator-grid > div,
  .generator-grid .col-md-4,
  .generator-grid .col-sm-5,
  .generator-grid .col-md-8,
  .generator-grid .col-sm-7 {
    width: 100% !important;
    float: none !important;
  }

  .visual-card,
  .intro-card,
  .form-card,
  .offer-card,
  .console-shell {
    width: 100%;
    max-width: 100%;
  }

  .visual-card,
  .intro-card,
  .form-card {
    margin-bottom: 18px;
  }

  .visual-card {
    text-align: center;
    padding: 18px;
  }

  .game-icon {
    max-width: 140px;
    margin: 0 auto 14px;
  }

  .status-stack {
    grid-template-columns: 1fr;
  }

  .status-pill {
    justify-content: center;
    text-align: center;
  }

  .intro-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .intro-text,
  .note,
  .warning,
  .comment-content p,
  .offer-card h5 {
    font-size: 14px;
    line-height: 1.6;
  }

  .field-label {
    font-size: 13px;
  }

  .modern-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  .modern-input-group .form-control {
    height: 52px;
    font-size: 16px;
  }

  .modern-input-group .input-group-addon {
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modern-input-group .input-group-addon img {
    max-width: 24px;
    max-height: 24px;
  }

  .footer-actions {
    justify-content: stretch;
  }

  .action-generate,
  .button,
  .button2 {
    width: 100%;
    min-width: 0;
  }

  .comments-section {
    margin-top: 22px;
    padding-top: 18px;
  }

  .comment-card {
    padding: 14px;
    align-items: flex-start;
  }

  .comment-head {
    flex-wrap: wrap;
  }

  code.command {
    min-height: 240px;
    font-size: 13px;
    padding: 16px;
  }

  .offer-card {
    padding: 24px 16px;
  }

  .offer-card h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .verify-image {
    width: 220px;
    max-width: 100%;
  }
}