/* UTILITIES */
.hidden { display: none !important; }
* { box-sizing: border-box; }

/* BASE */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #173958;
  background-color: #f4f8fa;
  background-image: url('https://offertabs.s3.amazonaws.com/offer/7k7tje/site/media/6a3c066c038400.46166271.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(23, 57, 88, 0.85) 0%, rgba(51, 120, 186, 0.8) 100%);
  backdrop-filter: blur(5px);
}

/* LAYOUT */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.split-layout {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT COLUMN TEXT */
.text-column {
  color: #fff;
}
.event-dates {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.hero-headline {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 10px 0;
  color: #fff;
}

.event-logo {
  max-width: 100%;
  max-height: 180px;
  margin: 0 0 15px 0;
  display: block;
  object-fit: contain;
}

.hero-subhead {
  font-size: 1.75rem;
  font-weight: 400;
  color: #4db4e2;
  margin: 0 0 20px 0;
}
.hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.giveback-box {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border-left: 4px solid #fcc862;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 40px;
  align-items: center;
  backdrop-filter: blur(10px);
}
.giveback-icon {
  font-size: 1.8rem;
  margin-right: 15px;
}
.giveback-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #fff;
}

.action-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.primary-btn {
  background: #fcc862;
  color: #173958;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(252, 200, 98, 0.2);
  display: inline-block;
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(252, 200, 98, 0.3);
  background: #fdd485;
}
.primary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.hidden-desktop { display: none; }

/* GLASS CARD (RIGHT COLUMN) */
.glass-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  color: #173958;
}
.form-title {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 25px;
  color: #173958;
  font-weight: 800;
}

/* FORM */
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #173958;
}
.form-group input[type="text"], 
.form-group input[type="email"],
.form-group input[type="file"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
  transition: all 0.3s ease;
  color: #173958;
}
.form-group input:focus {
  outline: none;
  border-color: #4db4e2;
  box-shadow: 0 0 0 4px rgba(77, 180, 226, 0.15);
  background: #fff;
}
.form-group input[type="file"] {
  padding: 11px;
}

.radio-group {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}
.radio-label {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
}
.radio-label:hover {
  border-color: #4db4e2;
  background: rgba(77, 180, 226, 0.05);
}
.radio-label input {
  margin-right: 10px;
  accent-color: #3378ba;
}
.field-hint {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0;
  margin-bottom: 10px;
}

/* STATUS & ERRORS */
.error-msg {
  background: #ffeaea;
  color: #c82333;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  border: 1px solid #f5c6cb;
}
.status-banner {
  background: rgba(255, 255, 255, 0.9);
  color: #173958;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid #4db4e2;
}

/* RULES LINK */
.rules-link {
  background: none;
  border: none;
  color: #64748b;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 25px;
  font-size: 0.85rem;
  padding: 0;
  font-weight: 600;
  display: block;
  text-align: center;
  width: 100%;
}
.rules-link:hover { color: #3378ba; }

/* RESULTS & COUPON */
.coupon-box {
  background: #f4f8fa;
  border: 2px dashed #4db4e2;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  margin: 25px 0;
}
.coupon-code {
  font-family: monospace;
  font-size: 2rem;
  font-weight: 800;
  color: #3378ba;
  background: #fff;
  padding: 12px 24px;
  display: inline-block;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.shop-btn {
  background: #fff;
  color: #3378ba;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #3378ba;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.shop-btn:hover {
  background: #3378ba;
  color: #fff;
}

/* SHARE PANEL */
.share-panel {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #cbd5e1;
}
.share-panel h4 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #173958;
  margin-bottom: 10px;
}
.share-panel p {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 0;
}
.share-link-box {
  display: flex;
  margin: 20px 0;
  gap: 10px;
}
.share-link-box input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  font-family: monospace;
  font-size: 1rem;
  color: #3378ba;
}
.share-link-box button {
  padding: 0 20px;
  background: #3378ba;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
}
.share-link-box button:hover {
  background: #173958;
}
.social-buttons {
  display: flex;
  gap: 10px;
}
.social-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}
.social-btn:hover { opacity: 0.9; }
.social-btn.fb { background: #1877f2; }
.social-btn.tw { background: #000000; }

/* MODAL */
.modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(23, 57, 88, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: #f4f8fa;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #173958;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.close-btn:hover {
  background: #cbd5e1;
}
.rules-text {
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hidden-desktop { display: inline-block; }
  .action-buttons { flex-direction: column; align-items: stretch; }
  .primary-btn { width: 100%; text-align: center; }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 3rem; }
  .hero-subhead { font-size: 1.4rem; }
  .glass-card { padding: 30px 20px; }
  .radio-group { flex-direction: column; gap: 10px; }
}