body {
    margin: 0;
    padding: 0;
    background-color: rgb(4, 14, 31, 1)
}

#site-wrapper {
  max-width: 1440px; 
  margin-left:auto; 
  margin-right:auto;
}

#header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 12.5vh;
  box-sizing: border-box;
}

#header-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 12.5vh;
  max-height: 12.5vh;
  min-width: 0;
  max-width: 50%;
  box-sizing: border-box;
}

#header-content img {
  height: 100%; 
  width: auto; 
  object-fit: contain;
  margin-right: 1.5vh;
}

#header-content h1 {
  margin: 0; 
  line-height: 1;
  white-space: nowrap;
  font-size: min(5vw, 4vh);
}

.center-bg {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem
}

#hero {
  position: relative;
  min-height: 60vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-left: 1rem;
  padding-bottom: 0;
}

.hero-text {
  z-index: 2;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  font-weight: 800;
  /* The Increased Depth Shadow Stack */
  text-shadow: 
    /* Layer 0: High-opacity black for immediate legibility and edge definition */
    0px 2px 4px rgba(0, 0, 0, 0.9), 
    0px 0px 2px rgba(0, 0, 0, 1),
    
    /* Your original Glow Effects */
    0 0 10px rgba(255, 255, 255, 0.3), 
    0 0 20px rgba(0, 170, 255, 0.6), 
    0 0 40px rgba(0, 170, 255, 0.4);
}

.text-hidden {
    opacity: 0;
}

#hero-button {
  position: relative;
  margin: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

#hero-temp {

  background-image: url(cover.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 65vh;
  box-sizing: border-box;
  z-index: -1;
}


.back-video {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    z-index: -1;
    transition: opacity 1s ease-in-out;
}

/* State Classes for the Video Crossfade */
.fade-active {
    opacity: 1;
    z-index: -1;
}

.fade-hidden {
    opacity: 0;
    z-index: -2;
}

.back-video-feature {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    z-index: -1;
}

#copy_vid {
  position: absolute;
  filter: brightness(0.4);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}

.feature_card {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.feature_card_wbg {
    position: relative; 
    overflow: hidden;   
    padding: 2.5rem;
    color: white;
    z-index: 1;
}

.feature-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
}

#viral, #ease {
    flex: 1;
}

#cta {
  text-align: center;
}

#cta .back-video {
    /* Standard syntax */
    mask-image: linear-gradient(
        to bottom, 
        transparent 0%, 
        black 25%, 
        black 75%, 
        transparent 100%
    );
    
    /* Required for Chrome, Safari, and Edge support */
    -webkit-mask-image: linear-gradient(
        to bottom, 
        transparent 0%, 
        black 25%, 
        black 75%, 
        transparent 100%
    );
    
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}
#footerBranding {
  background-color: #02070f; 
  padding: 2em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* Ensures logo stays left */
  position: relative;
  margin-top: auto;
}

#footerLogo {
  flex-shrink: 0;
  z-index: 2;
}

#footerCopy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%; /* Ensures text center aligns properly */
}

#footerCopy p {
  margin: 0; /* REMOVES the bottom gutter globally */
}

#footerCopy a {
  pointer-events: auto;
}

/* Button */

  :root {
    --neon-blue: #00f0ff;
    --deep-blue: #004e92;
    --dark-bg: #000428;
  }

  .tech-button {
    /* 1. Typography */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    text-transform: none; /* The image uses Title Case, not uppercase */
    letter-spacing: 0.5px;
    
    /* 2. Shape & Layout */
    position: relative;
    padding: 15px 40px;
    border-radius: 50px; /* Creates the pill shape */
    border: 2px solid var(--neon-blue);
    cursor: pointer;
    background: linear-gradient(180deg, #00b4db 0%, #0083b0 100%);
    
    /* 3. The Glow & Depth Effects */
    box-shadow: 
      0 0 10px rgba(0, 240, 255, 0.5),  /* Outer soft glow */
      inset 0 0 15px rgba(255, 255, 255, 0.3); /* Inner shine/glass effect */
      
    /* Smooth transition for hover effects */
    transition: all 0.3s ease;
  }

  /* The "Outer Ring" (Double border effect) */
  .tech-button::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 55px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    z-index: -1;
  }

  /* Hover State */
  .tech-button:hover {
    box-shadow: 
      0 0 20px var(--neon-blue),
      inset 0 0 20px rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 5px rgba(255,255,255, 0.8);
    transform: scale(1.02);
  }
  
  /* Active/Click State */
  .tech-button:active {
    transform: scale(0.98);
    box-shadow: 0 0 5px var(--neon-blue);
  }


  h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    color: #ffffff; 
    margin: 0;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-align: center;
    /* The Glow Effect */
    text-shadow: 
      0 0 10px rgba(255, 255, 255, 0.3), /* Layer 1: Subtle white outer glow for immediate definition */
      0 0 20px rgba(0, 170, 255, 0.6), /* Layer 2: The main blue neon glow */
      0 0 40px rgba(0, 170, 255, 0.4); /* Layer 3: Wide atmospheric dispersion */
    }

  h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #ffffff; 
    margin: 0;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    /* The Glow Effect */
    text-shadow: 
      0 0 10px rgba(255, 255, 255, 0.3),
      0 0 20px rgba(0, 170, 255, 0.6),
      0 0 40px rgba(0, 170, 255, 0.4);
    }

    h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #ffffff; 
    margin: 0;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    /* The Glow Effect */
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.3),
      0 0 4px rgba(0, 170, 255, 0.6),
      0 0 8px rgba(0, 170, 255, 0.4);
    }

    p {
    font-family: 'poppins', sans-serif;
    font-size: 1rem;
    color: #ffffff; 
    margin: 0;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    /* The Glow Effect */
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.3),
      0 0 4px rgba(0, 170, 255, 0.6),
      0 0 8px rgba(0, 170, 255, 0.4);
    }

    p a {
    text-shadow: none;
    color: #00aaff; 
    text-decoration: underline;
  }

    ul {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #ffffff; 
    margin: 0;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    /* The Glow Effect */
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.3),
      0 0 4px rgba(0, 170, 255, 0.6),
      0 0 8px rgba(0, 170, 255, 0.4);
  }

.img-fluid {
  max-height: 3em;
}


  /* --- Scoreboard & Leaderboard Styles --- */
#scoreboard {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin: 0 5% 5% 5%;
    padding: 5%;
    border: 2px solid rgba(5, 144, 187, 1);
    border-radius: 18px;
    box-sizing: border-box;
    overflow: hidden; /* Critical for keeping emojis inside */
    position: relative; /* Critical for absolute positioning context */
    background: rgba(0, 0, 0, 0.3); /* Optional: slight tint to read text better */
    z-index: 1; /* Establishes stacking context */
}

/* The container for the actual content to ensure it sits ON TOP of emojis */
.scoreboard-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.scoreboard-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.leaderboard-table-wrapper {
    width: 100%;
    max-width: 800px;
    flex-grow: 1;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-header-row {
    border-bottom: 2px solid rgba(5, 144, 187, 1);
}

.leaderboard-th {
    padding: 10px;
    color: #fff;
}

.leaderboard-th p {
    margin: 0;
    font-weight: bold;
    opacity: 0.8;
}

.leaderboard-row {
    border-bottom: 1px solid rgba(5, 144, 187, 0.3);
}

.leaderboard-cell {
    padding: 15px 10px;
}

.leaderboard-cell p {
    margin: 0;
    color: #fff;
}

.pagination-controls {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.pagination-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(5, 144, 187, 1);
    transition: transform 0.2s;
}

.pagination-btn:hover {
    transform: scale(1.2);
    color: #fff;
}

.page-indicator {
    margin: 0;
    font-weight: bold;
    color: #fff;
}

/* --- The Emoji Particles --- */
.emoji-particle {
    position: absolute;
    pointer-events: none; /* Let clicks pass through to the table */
    user-select: none;
    z-index: 1; /* Behind content (z-index 2), inside container (z-index 1) */
    will-change: transform, opacity; /* Performance optimization */
    line-height: 1;
}


@media (max-width: 865px) {
  .back-video {
    object-fit: cover;
    object-position: left top;
  }
  
  #hero {
    min-height: auto;
    aspect-ratio: 4.35 / 3;
    min-height: unset;
    height: auto;
    position: relative;
    overflow: hidden;
  }

  .hero-text {
    font-size: 2.5rem;
  }

  .shrink-text {
  font-size: 0.75rem;
  }

  .feature-container {
      flex-direction: column;
  }
  #viral, #ease {
      flex: none;
  }
  .feature_card, .feature_card_wbg {
  padding-left: 1rem;
  padding-right: 1rem;
  }

  #footerBranding {
    padding: 1.5rem 1rem;   /* More breathing room */
    height: auto;           /* Allow container to grow tall */
    gap: 1rem;              /* Space between Logo and Text */
    justify-content: flex-start;
  }

  #footerCopy {
    position: static;       /* STOPS floating; sits next to logo */
    transform: none;        /* Resets centering */
    text-align: center;      
    pointer-events: auto;
    flex: 1;
    min-width: 0;
    width: auto;
  }
}

/* --- Contact Section Styles --- */

#contact-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1440px; 
    margin: 0 auto;
    padding: 2.5rem;
    box-sizing: border-box;
    gap: 2rem;
}

.contact-column {
    flex: 1;
    min-width: 300px;
}

/* --- Form Elements --- */

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Match Labels to your 'p' tag style (Poppins) but ensure visibility */
.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    /* Apply your standard text glow */
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.3),
      0 0 4px rgba(0, 170, 255, 0.6);
}

/* Inputs styled to match the 'Scoreboard' aesthetic */
.form-group input, 
.form-group textarea {
    background: rgba(0, 0, 0, 0.3); /* Dark transparent background */
    border: 2px solid rgba(5, 144, 187, 1); /* Matches scoreboard border */
    border-radius: 12px; /* Slightly rounded */
    padding: 12px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

/* Input Focus State: Neon Glow */
.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.button-wrapper {
    align-items: flex-start; /* Aligns button to left */
    margin-top: 1rem;
}

/* --- Right Column (Info) --- */

.info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.icon-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-icon {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--neon-blue));
}

.link-container a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;

    /* DEFAULT STATE: White text with Strong Neon Glow */
    color: #ffffff; 
    text-shadow: 
      0 0 5px rgba(0, 240, 255, 0.5),
      0 0 15px var(--neon-blue);
}

.link-container a:hover {
    /* HOVER STATE: Turns Blue, Glow disappears (or reduces) */
    color: var(--neon-blue); 
    text-shadow: none; /* Or use '0 0 2px var(--neon-blue)' for a faint hum */
}

/* Mobile Adjustment */
@media (max-width: 865px) {
    #contact-section {
        flex-direction: column;
        padding: 1rem;
    }
    
    .info-column {
        padding: 2rem 1rem;
    }
}

#successMessage {
    margin-top: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    min-height: 1.5rem; /* Prevents layout jump when text appears */
}

.msg-success {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    animation: fadeIn 0.5s ease-in-out;
}

.msg-error {
    color: #ff4e4e;
    text-shadow: 0 0 8px rgba(255, 78, 78, 0.6);
    animation: fadeIn 0.5s ease-in-out;
}

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