:root {
  --bg-main: #071224;
  --card-bg: #0b1d3a;
  --card-border: rgba(255, 255, 255, 0.1);
  --card-inner-bg: rgba(255, 255, 255, 0.05);
  --accent-orange: #ff7a00;
  --accent-orange-hover: #ff881a;
  --text-primary: #ffffff;
  --text-secondary: #d1e2f7;
  --text-muted: #8aa2c0;
  --orange-gradient: linear-gradient(180deg, #ff7a00 0%, #e65c00 100%);
  --blue-gradient: linear-gradient(135deg, #0b1d3a 0%, #163561 100%);
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: var(--accent-orange);
  text-decoration: none;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.site-header {
  background: #050e1d;
  border-bottom: 1px solid var(--card-border);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.logo span {
  color: var(--accent-orange);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn-header-login {
  background: transparent;
  border: 1px solid var(--accent-orange);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-header-login:hover {
  background: rgba(255, 122, 0, 0.1);
}

.btn-header-reg {
  background: var(--orange-gradient);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(230, 92, 0, 0.3);
  transition: 0.2s;
}

.btn-header-reg:hover {
  transform: translateY(-1px);
}

/* Card Block Uniform Styling */
.mb-card {
  background: var(--blue-gradient);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mb-card h1,
.mb-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.mb-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.mb-card p:last-child {
  margin-bottom: 0;
}

.mb-inner-box {
  background: var(--card-inner-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.mb-inner-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff9d42;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lists */
.mb-list {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.mb-list li {
  margin-bottom: 8px;
}

.mb-list li:last-child {
  margin-bottom: 0;
}

/* Grids */
.mb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .mb-grid-2 {
    grid-template-columns: 1fr;
  }
  .mb-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .mb-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.mb-btn-wrapper {
  text-align: center;
  margin: 20px 0;
}

.mb-btn {
  display: inline-block;
  width: 100%;
  max-width: 340px;
  background: var(--orange-gradient);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(230, 92, 0, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.mb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.6);
}

/* Status Block */
.status-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.status-item:last-child {
  margin-bottom: 0;
}

.status-online {
  color: #2ed573;
  font-weight: 700;
}

/* Standard Text Paragraphs for Notices (no yellow borders or backgrounds) */
.mb-notice-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Snippets Horizontal Cards */
.snippet-card {
  background: var(--card-inner-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}

.snippet-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ff9d42;
  margin-bottom: 4px;
}

.snippet-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* App Characteristics Table */
.app-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.app-spec-table td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-spec-table tr:last-child td {
  border-bottom: none;
}

.app-spec-table td:first-child {
  color: #ff9d42;
  font-weight: 600;
  width: 40%;
}

/* Table Styling */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 16px;
}

.mb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mb-table th,
.mb-table td {
  border: 1px solid var(--card-border);
  padding: 10px 12px;
  text-align: left;
}

.mb-table th {
  background: rgba(255, 255, 255, 0.08);
  color: #ff9d42;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--card-inner-bg);
  overflow: hidden;
}

.faq-summary {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent-orange);
  margin-left: 10px;
}

.faq-item[open] .faq-summary::after {
  content: "–";
}

.faq-content {
  padding: 0 18px 16px 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border-top: 1px solid var(--card-border);
}

/* Footer */
.site-footer {
  background: #040a14;
  border-top: 1px solid var(--card-border);
  padding: 30px 0;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
