:root {
  /* Colors */
  --primary: #008080;
  --primary-light: #e6f2f2;
  --secondary: #9cc89d;
  --secondary-light: #e8f5e9;
  --accent: #ef6c5a;
  --bg-color: #ffffff;
  --text-dark: #1a1a1a;
  --text-grey: #666666;
  --white: #ffffff;
  --card-bg: #ffffff;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, rgba(156, 200, 157, 0.1) 100%);

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;

  /* Layout */
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 12px;

  /* Effects */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 60px rgba(0, 128, 128, 0.15);

  --font-family: 'Inter', sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Redesign Specifics */
body.redesign-body {
  background-color: #ffdce6; /* Matching the pink in the new pattern */
  display: flex;
  flex-direction: column;
  height: 100dvh;
  margin: 0;
  padding: var(--space-2);
  overflow: hidden;
}

/* Interactive Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Behind all content */
  pointer-events: none; /* Allows clicks to pass through to the main card */
}

/* Ensure no scrolling if possible */
html, body {
  height: 100%;
  overflow: hidden;
}

/* Centered Layout Main Container */
.layout-centered {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2); /* Prevent touching edges */
  height: 100%;
}

@media (min-width: 600px) {
  .layout-centered {
    padding-top: var(--space-4);
    padding-bottom: var(--space-2);
  }
}

/* Card Wrapper */
.main-card {
  background-color: var(--card-bg);
  border: 2px solid var(--primary); /* Thin teal green line */
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  padding: var(--space-2); /* Mobile padding reduced */
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5vh;
  flex: none; /* Let content dictate height */
  height: auto;
  max-height: 100%; /* Don't exceed screen height (minus layout padding) */
  overflow-y: auto; /* Enable internal scroll if it overflows */
  
  /* Hide Scrollbar */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.main-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

@media (min-width: 600px) {
  .main-card {
    padding: var(--space-4) var(--space-3);
    gap: 0;
    justify-content: flex-start;
  }
}
@media (min-width: 768px) {
  .main-card {
    padding: var(--space-6) var(--space-4);
    max-height: calc(100vh - var(--space-6));
  }
}

/* Horizontal Logo */
.logo-wrapper {
  margin-bottom: 0; /* Let gap handle it */
}
@media (min-width: 600px) {
  .logo-wrapper { margin-bottom: var(--space-4); }
}

.horizontal-logo {
  height: 60px; /* Reduced for mobile */
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 600px) {
  .horizontal-logo { height: 100px; }
}
@media (min-width: 768px) {
  .horizontal-logo {
    height: 140px; /* Greatly increased for prominence */
  }
}

/* Hero Text */
.hero-text {
  max-width: 700px;
  margin-bottom: 0; /* Let gap handle it */
}

.hero-text h1 {
  font-size: 1.25rem; /* Shrunk for mobile */
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: var(--space-1); /* Reduced */
}

.hero-text p {
  font-size: 0.9rem; /* Shrunk */
  color: var(--text-grey);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .hero-text { margin-bottom: var(--space-4); }
  .hero-text h1 { font-size: 1.8rem; margin-bottom: var(--space-2); }
  .hero-text p { font-size: 1rem; line-height: 1.6; }
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
}

/* Modern Countdown */
.countdown-container-modern {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; /* Force 1 line on mobile */
  gap: var(--space-1); /* Very tight gap */
  margin-bottom: 0; /* Let gap handle it */
}

@media (min-width: 600px) {
  .countdown-container-modern {
    gap: var(--space-4);
    margin-bottom: var(--space-4);
  }
}

/* White boxes with colored border */
.countdown-box-modern {
  background-color: var(--white);
  border: 2px solid;
  border-radius: var(--radius-sm);
  padding: var(--space-1) 4px; /* Super compact on mobile */
  width: 65px; /* Extremely small to fit 4 on 320px screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Soft drop shadow */
}

@media (min-width: 600px) {
  .countdown-box-modern {
    width: 140px; /* Fixed width */
    padding: var(--space-3);
  }
}

/* Specific border colors for the modern look (gradient or alternating) */
/* We'll use a mix of primary and a bright green to mimic the image's vibrant borders */
.countdown-box-modern:nth-child(1) { border-color: #badc58; } /* Using a limeish green */
.countdown-box-modern:nth-child(2) { border-color: var(--primary); }
.countdown-box-modern:nth-child(3) { border-color: #badc58; }
.countdown-box-modern:nth-child(4) { border-color: var(--primary); }

.countdown-val-modern {
  font-size: 1.6rem; /* Shrunk heavily for mobile */
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums; /* Critical for fixed character width */
}

@media (min-width: 600px) {
  .countdown-val-modern {
    font-size: 3.5rem;
    margin-bottom: var(--space-1);
  }
}

.countdown-lbl-modern {
  font-size: 0.65rem; /* Shrunk heavily */
  font-weight: 700;
  color: #999;
  letter-spacing: 0.5px;
}

@media (min-width: 600px) {
  .countdown-lbl-modern {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
}

/* Social Section */
.social-section-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0; /* Let gap handle it */
}

@media (min-width: 600px) {
  .social-section-modern { margin-bottom: var(--space-2); }
}

.social-prompt {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-1); /* Reduced */
  font-size: 0.95rem; /* Reduced */
}

@media (min-width: 600px) {
  .social-prompt {
    font-size: 1.1rem;
    margin-bottom: var(--space-2);
  }
}

.social-icons-row {
  display: flex;
  gap: var(--space-2); /* Tighten spacing */
}

@media (min-width: 600px) {
  .social-icons-row { gap: var(--space-3); }
}

.social-circle {
  width: 40px; /* Shrunk */
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background-color 0.2s;
}

@media (min-width: 600px) {
  .social-circle {
    width: 50px;
    height: 50px;
  }
}

.social-circle:hover {
  transform: translateY(-3px);
}

.fb-circle {
  background-color: var(--primary); /* Teal #008080 */
}
.fb-circle:hover {
  background-color: #006666;
}

.ig-circle {
  background-color: #badc58; /* Lime Green */
  color: #1a1a1a; /* Darker icon for contrast on lime */
}
.ig-circle:hover {
  background-color: #a4c44f;
}

.tiktok-circle {
  background-color: var(--accent); /* Coral Red #ef6c5a */
}
.tiktok-circle:hover {
  background-color: #d65b4b;
}

.social-icon-modern {
  width: 18px; /* Shrunk */
  height: 18px;
}

@media (min-width: 600px) {
  .social-icon-modern {
    width: 24px;
    height: 24px;
  }
}

/* Minimal Footer */
footer {
  padding: var(--space-2) 0;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}