/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  @font-face {
    font-family: 'Newake';
    src: url('fonts/Newake-Font-Demo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
  
  html, body {
    height: 100%;
    font-family: 'Newake', sans-serif;
    color: white;
    overflow: hidden;
    scroll-behavior: smooth;
  }
  
  /* Ensuring Newake is used globally */
  body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, textarea {
    font-family: 'Newake', sans-serif;
  }
  
  /* Background video and overlay */
  #bg-video {
    width: 120vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: -10vw;
    z-index: -2;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../images/web gradient.png");
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: -1;
    pointer-events: none;
  }
  
  /* Header (restored original look) */
  .header {
    position: absolute;
    top: 2rem;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    z-index: 1000;
    background: transparent;
  }
  
  .header ul {
    list-style: none;
    display: flex;
    gap: 20rem;
  }
  
  .header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    background: transparent;
    transition: background 0.3s, color 0.3s;
  }
  
  .header a:hover {
    background-image: url("../images/web gradient.png");
    background-size: cover;
    background-position: center;
    color: rgb(255, 255, 255);
  }
  
  /* Scroll snapping container */
  .snap-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
  }
  
  .snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
    padding: 8rem 2rem;
    z-index: 1;
    position: relative;
  }
  
  /* Button Grid - fixed to 3 columns */
  .button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  
    /* NEW: Center vertically */
    height: calc(100vh - 160px); /* subtract estimated header + footer height */
    align-content: center;       /* vertical alignment of rows */
    justify-content: center;     /* horizontal alignment */
  }
  
  /* Add this wrapper to crop to 2.39:1 aspect */
  .button-grid img {
    position: relative;
    width: 100%;
    aspect-ratio: 2.39 / 1;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); /* Add shadow here */
  }
  
  .button-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
  }
  
  .button-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6); /* Stronger shadow on hover */
  cursor: pointer;
  }
  /* Popup styling */
  .popup {
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90vw;
    height: 90vh;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .popup:target {
    display: flex;
  }
  
  .popup-content {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    color: white;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
  }
  
  .popup-content iframe {
    width: 100%;
    height: 360px;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    z-index: 10000;
  }
  
  /* Video info toggle */
  .video-info {
    list-style: none;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
    overflow: visible;         /* Ensure full text shows */
    max-height: none;          /* Remove max-height limit */
    text-overflow: unset;      /* Avoid ellipsis */
    white-space: normal;       /* Allow wrapping */
  }
  
  .video-info.hidden {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin-top: 0;
    transition: all 0.3s ease;
  }
  
  .toggle-info-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  .toggle-info-button .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .toggle-info-button.open .arrow {
    transform: rotate(180deg);
  }
  
  /* Footer */


  .footer {
    width: 100%;
    background: rgba(0, 0, 0, 0); /* fully transparent */
    color: white;
    padding: 20px 40px;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    z-index: 10;
  }
  
  .footer:hover {
    background: rgba(0, 0, 0, 0.7); /* fade in black on hover */
  }
  
  
  
  .footer-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .icon-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .icon-buttons p {
    position: absolute;
    left: 48.5%;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
  }
  
    .footer-icon {
    width: 24px;
    height: 24px;
  }
  .reach-out-btn {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
  }
  
  .reach-out-btn:hover {
    background: white;
    color: black;
  }
  
  .icon-buttons p {
    margin-left: 20px;
    font-size: 12px;
    white-space: nowrap;
  }
  
  /* Scrollbar styles */
  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background: #1a1a1a;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 6px;
    border: 3px solid #1a1a1a;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #777;
  }
  
  * {
    scrollbar-width: thin;
    scrollbar-color: #555 #1a1a1a;
  }
  
  .sportsbuttons-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .indented-paragraph {
    text-indent: 2em;       /* Creates a tab-like indent at start */
    margin-bottom: 1.5rem;  /* Adds space between paragraphs */
    line-height: 1.6;       /* Improves readability */
  }

  .video-info-gif {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  }

  .vertical-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px; /* Optional: limits width on wide screens */
    margin: 1.5rem auto;
    aspect-ratio: 9 / 16; /* Proper vertical video ratio */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }
  
  .vertical-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }