:root {
  --primary-color: #0b1a30;
  --secondary-color: #1e3a8a;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-light: #f3f4f6;
  --bg-overlay: rgba(11, 26, 48, 0.85);
  --card-bg: rgba(255, 255, 255, 0.98);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--primary-color);
  background-image: url('https://offertabs.s3.amazonaws.com/offer/jzxjwd/site/media/6a2c0e61ed2999.12936719.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-overlay);
  padding: 2rem 1rem;
}

.main-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

.site-header {
  text-align: center;
  padding: 1rem 0 2rem;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* Content Layout */
.content-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Terms Section */
.terms-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  max-width: 850px;
  width: 100%;
}

.terms-header {
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.terms-header h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.terms-header p {
  color: #6b7280;
  font-size: 0.9rem;
}

.terms-body {
  overflow-y: auto;
  padding-right: 1.5rem;
}

.terms-body::-webkit-scrollbar {
  width: 8px;
}

.terms-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.terms-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.terms-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 1.5rem 0 0.5rem;
}

.terms-body p {
  margin-bottom: 1rem;
  color: #4b5563;
}

/* Status Messages */
.status-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.status-card {
  background: var(--card-bg);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.status-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* SDK Attribution */
#wbx-powered-by-slot {
  margin-top: auto;
  padding-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
