/* =========================================================
   GLOBAL & BACKGROUND
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

:root {
  --accent: #00aff0;
  --glass: rgba(0, 0, 0, 0.55);
  --muted: #ccc;
  --smoke: linear-gradient(130deg, #7d1cb6, #9a2abc, #e1306c);
   
}

body {
  min-height: 100vh;
  color: #fff;
  line-height: 1.5;
  background: url('assets/images/victoria-banxx-pool.webp') no-repeat center/cover fixed;
  position: relative;
  overflow-x: hidden;
}

/* Meet & Greet page background (keeps the same branded overlay) */
body.meet-and-greet {
  background: url('assets/images/victoria-banxx.webp') no-repeat center/cover fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

a { 
  color: var(--accent); 

}

.accent { color: var(--accent); }

/* =========================================================
   REVEAL SYSTEM
========================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  filter: blur(6px);
  will-change: opacity, transform;
  transition:
    opacity 900ms cubic-bezier(.16,.84,.36,1),
    transform 900ms cubic-bezier(.16,.84,.36,1),
    filter 1100ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.from-bottom { transform: translate3d(0, 45px, 0); }
.from-top { transform: translate3d(0, -45px, 0); }
.fade-in { transform: none; }

/* small delays via data-delay attribute (fallback friendly) */
[data-delay="1"] { transition-delay: 0.18s; }
[data-delay="2"] { transition-delay: 0.36s; }
[data-delay="3"] { transition-delay: 0.54s; }
[data-delay="4"] { transition-delay: 0.72s; }
[data-delay="5"] { transition-delay: 0.9s; }

/* =========================================================
   HEADER
========================================================= */
header {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 50px;
}

.header-overlay {
  background: rgba(0,175,240,0.05);
  padding: 28px;
  border-radius: 12px;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

header p {
  margin-bottom: 8px;
  color: #eee;
}

/* =========================================================
   CTA BUTTON
========================================================= */
.exclusive-btn {
  display: inline-block;
  padding: 12px 30px;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
  box-shadow: 0 0 20px rgba(0,175,240,0.5), 0 0 30px rgba(0,175,240,0.3), inset 0 0 15px rgba(0,175,240,0.1);
  animation: pulseSoft 2000ms infinite;
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease;
}

@keyframes pulseSoft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0,175,240,0.5), 0 0 30px rgba(0,175,240,0.3), inset 0 0 15px rgba(0,175,240,0.1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(0,175,240,0.7), 0 0 50px rgba(0,175,240,0.5), inset 0 0 20px rgba(0,175,240,0.15);
  }
}

.exclusive-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 35px rgba(0,175,240,0.8), 0 0 60px rgba(0,175,240,0.6), 0 12px 36px rgba(0,175,240,0.32), inset 0 0 20px rgba(0,175,240,0.2);
}

/* =========================================================
   MAIN + SECTIONS
========================================================= */
main {
  max-width: 989px;
  padding: 2rem 1rem;
  margin: 0 auto;
}

section {
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.45));
  padding: 1.8rem;
  border-radius: 12px;
  margin-bottom: 1.6rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Instructions */
#instructions h2 {
  font-size: 1.45rem;
}

#instructions ol {
  margin: 0.6rem 0 0 1rem;
  color: #eee;
}

#instructions li {
  margin: 0.6rem 0;
  font-size: 1.05rem;
}

/* Calculator */
#calculator h2 {
  font-size: 1.6rem;
}

.account-group {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.98rem;
}

/* Number Inputs + Spinner Buttons */
input[type="number"],
select.tier {
  width: 100%;
  padding: 1.1rem;
  margin-top: 0.25rem;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.98rem;
}

/* cross-browser appearance reset for inputs */
input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.4rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.number-control {
  position: relative;
  width: 100%;
}

.spinner-btn {
  position: absolute;
  right: 6px;
  width: 20px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 10px;
  user-select: none;
  transition: 0.2s ease;
  border: none;
  padding: 0;
  line-height: 1;
}

.spinner-btn:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.05);
}

.spinner-up { top: 15px; }
.spinner-down { bottom: 8px; }

/* Dropdown styling */
select.tier {
  cursor: pointer;

  /* cross-browser appearance reset */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select.tier option {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

/* Buttons */
.button-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

button {
  background: linear-gradient(130deg, #7d1cb6, #9a2abc, #e1306c);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(188,42,141,0.28);
}

/* Total */
#totalResult {
  text-align: center;
  margin-top: 1rem;
  font-size: 3rem;
}

/* Socials */
#socials h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Fix for blue dashes: Ensure links have no decoration and use flex to remove whitespace */
.icons .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem; /* Replaces direct image margins/gap */
}

.icons a {
  text-decoration: none;
  border: none;
  outline: none;
  display: block; /* Flex item behavior */
  line-height: 0; /* Ensures no extra vertical space */
}

.icons::before,
  .icons::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
  }

  .icons img::before,
  .icons img::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
}

/* Instagram Link Styling */
.instagram-link {
  color: #ff6fa5;
  text-decoration: underline;
}

.instagram-link-no-underline {
  color: #ff6fa5;
  text-decoration: none;
}

/* Social Proof Section */
#social-proof {
  text-align: center;
  padding: 1.5rem;
  margin: 0 auto 2rem auto;
  max-width: 500px;
}

.social-proof-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6fa5;
}

.profile-info {
  text-align: left;
}

.profile-username {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.profile-followers {
  margin: 0;
  font-size: 0.85rem;
  color: #999;
}

.testimonial-quote {
  font-style: italic;
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

/* Calculator Intro Text */
.calculator-intro {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* VIP Option Highlight */
.option.vip {
  border: 2px solid var(--accent);
  background: rgba(0,175,240,0.12);
  transform: scale(1.02);
}

.vip-entries {
  color: #ffd700;
  font-size: 1.6rem;
}

.vip-badge {
  font-size: 0.9rem;
  color: #ffd700;
  margin-bottom: 0.8rem;
}

/* Help Modal Button Center */
.modal-cta-center {
  text-align: center;
  margin-top: 0.8rem;
}

/* Contact Link Emphasis */
.contact-emphasis {
  font-weight: 600;
}

.icons img {
  width: 48px;
  height: 48px;
  transition: transform 220ms ease;
  filter: none;
  background: none;
  border: none;
  box-shadow: none;
}

.icons img:hover {
  transform: translateY(-6px) scale(1.08);
}

/* Footer */
footer {
  padding: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  border-radius: 8px;
  background: rgba(0,0,0,0.45);
  margin: 1rem;
}

footer a {
  color: #ff6fa5;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover { text-decoration: underline; }

/* =========================================================
   SUBSCRIPTION MODAL
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ensure modal is above top-nav (z-index 1100) */
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

/* Prevent background overscroll and allow inner scrolling on mobile */
.modal-overlay {
  overscroll-behavior: contain;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.75));
  padding: 2rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(0,175,240,0.3);
  animation: modalSlideIn 300ms cubic-bezier(.16,.84,.36,1);
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.95) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.modal-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.modal-content h2 {
  margin-bottom: 0.8rem;
  margin-top: 0.5rem;
  font-size: 1.6rem;
  color: var(--accent);
  text-align: center;
}

.modal-content > p {
  text-align: center;
  margin-bottom: 1.6rem;
  color: #eee;
  font-size: 1.05rem;
}

.subscription-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

@media (max-width: 720px) {
  .subscription-options { grid-template-columns: 1fr; }

  /* Make modals fit and scroll nicely on small screens */
  .modal-content {
    width: 96%;
    max-width: 520px;
    /* Reduce height to ensure close button is visible below browser chrome */
    max-height: 80vh; 
    padding: 1.2rem 1rem;
    border-radius: 12px;
  }

  .modal-content h2 {
    font-size: 1.35rem; /* slightly smaller heading */
    margin-top: 0.2rem;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    background: rgba(255,255,255,0.15); /* make more visible */
  }

  /* Ensure body doesn't show behind modal content when scrolling inside modal */
  .modal-overlay.visible {
    -webkit-overflow-scrolling: touch;
  }
}

.option {
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,175,240,0.2);
  transition: all 220ms ease;
}

.option:hover {
  background: rgba(0,175,240,0.1);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.option h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.option .entries {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.modal-footer {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* =========================================================
   TOP NAV + FAQ STYLES
========================================================= */


.top-nav {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1100;
  pointer-events: auto;
}

.top-nav .nav-inner {
  background: linear-gradient(90deg, rgba(0,175,240,0.9), rgba(255,255,255,0.6));
  padding: 2px 14px;
  border-radius: 999px;
  display: flex;
  gap: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  align-items: center;
  position: relative;
}

.nav-link {
  color: black;
  text-decoration: none;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-link:hover { opacity: 0.92; transform: translateY(-2px); }



#faq h2 { margin-bottom: 1.5rem; font-size: 1.4rem; }

/* Collapsible FAQ Styling */
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(0,175,240,0.3);
}

.faq-item summary {
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s ease;
}

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

.faq-item summary:hover {
  background: rgba(0,175,240,0.08);
}

.faq-item summary .arrow {
  font-size: 0.8rem;
  color: #00afef;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary .arrow {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.2rem 1.2rem 1.2rem;
  margin: 0;
  color: #ddd;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.faq-item ul,
.modal-content ul {
  margin-left: 1.5rem;
  list-style: none;
}

.modal-content ul + p {
  margin-top: 1.2rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.countdown-banner {
  display: inline-flex;
  margin-top: 14px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown {
  color: var(--accent);
  margin-left: 8px;
  font-weight: 800;
}

/* removed entries-inline (dynamic per-account inline counters) */

/* spinner click feedback */
.spinner-btn:active {
  transform: scale(0.95);
  box-shadow: none;
}

/* toast removed */

.calc-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.calc-header h2 { 
  margin: 0;
  text-align: center;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,175,240,0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  border: 1px solid rgba(0,175,240,0.3);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  padding: 0;
  animation: gentlePulse 3000ms ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.info-icon:hover { transform: scale(1.1); background: rgba(0,175,240,0.25); }

.help-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.2rem 0;
}

.help-list li {
  margin: 0.6rem 0;
  color: #ddd;
}

.help-divider {
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.help-footer {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(0,175,240,0.06);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  color: #eee;
}

.help-tip {
  margin-top: 0.8rem;
  padding: 0.6rem;
  background: rgba(0,175,240,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  color: #eee;
}

.tiers-list {
  background: rgba(255,255,255,0.02);
  padding: 0.8rem;
  border-radius: 8px;
  margin-left: 0 !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 720px) {
  header {
    height: auto;
    padding: 3rem 1rem 2rem;
  }
  header h1 { font-size: 1.6rem; }
  .icons img { width: 40px; height: 40px; margin: 0; }
  main { padding: 1.2rem; }
  .account-group { padding-bottom: 0.8rem; }
}
