/* ---------- Global Styles ---------- */
    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background-color: #0b0b0b;
      color: #f5f5f5;
    }

    header, section {
      font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    a {
      text-decoration: none;
      color: inherit;
    }

    /* ---------- Navbar ---------- */
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 24px;
      background-color: #000;
      border-bottom: 2px solid #d4a017; /* gold-ish accent */
      position: sticky;
      top: 0;
      z-index: 100;
      position: relative;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-left img {
      height: 42px;
      width: auto;
    }

    .club-name {
      font-weight: bold;
      font-size: 1.1rem;
      letter-spacing: 1px;
    }

    .nav-links {
      display: flex;
      align-items: center;   /* THIS centers vertically */
      gap: 20px;
    }

    .nav-links a {
      display: flex;              /* make link a flex container */
      align-items: center;        /* center text vertically */
      justify-content: center;    /* center text horizontally */
      height: 30px;               /* fixed height */
      padding: 0 16px;            /* horizontal spacing */
      border-radius: 8px;

      color: #f5f5f5;
      padding: 6px 10px;
      font-size: 0.95rem;
      transition: background 0.2s;
    }


    .nav-links a:hover {
      background-color: #d4a017;
      color: #000;
    }

    #nav img:hover {
      transform: scale(1.05);
    }

    .nav-socials {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .nav-socials img {
      width: 22px;
      height: 22px;
      transition: transform 0.2s;
    }

    .nav-socials img:hover {
      transform: scale(1.2);
    }

    .nav-socials img {
      height: 24px;     /* control size by height only */
      width: auto;      /* keep original ratio */
      object-fit: contain;
      display: block;
      transition: transform 0.2s ease;
    }

    .nav-socials img:hover {
      transform: scale(1.15);
    }

    /* ---------- Home Logo ---------- */
    #home img {
      width: 220px;          /* control size */
      max-width: 70%;
      height: auto;

      margin-bottom: 24px;  /* space below logo */

      filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));

      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .freedeck-link, .discord-link{
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: #d4a017;
      border-bottom: 1px solid rgba(212, 160, 23, 0.35);
      padding-bottom: 2px;
      width: fit-content;
      transition: color 0.2s, border-color 0.2s;
      margin-bottom: 10%;
    }

    .freedeck-text, .discord-text {
      align-items: center;
      max-width: 60%;
      margin: 0 auto;        /* centers the block element horizontally */
      margin-bottom: 1%;
      text-align: center;    /* optional: centers the text inside */
    }

    #YTGrid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      max-width: 60%;
      margin: 0 auto;
    }

    .yt-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;  /* maintains video proportions */
    }

    .yt-embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 8px;
    }

    /* Optional subtle hover effect */
    #home img:hover {
      transform: scale(1.05);
      filter: drop-shadow(0 10px 26px rgba(212, 160, 23, 0.6));
    }

    .freedeck-link::after, .discord-link::after {
      content: '→';
      transition: transform 0.2s;
    }

    .freedeck-link:hover, .discord-link:hover  {
      color: #f0c040;
      border-color: #f0c040;
    }

    .freedeck-link:hover::after, .discord-link:hover::after {
      transform: translateX(4px);
    }

    /* ---------- Sections ---------- */

    section {
      padding: 80px 24px;
      max-width: 900px;
      margin: auto;
    }

    h1, h2 {
      color: #d4a017;
    }

    .hero {
      text-align: center;
      padding-top: 100px;
    }

    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }

    .hero p {
      font-size: 1.1rem;
      color: #ccc;
    }

    /* ---------- Sponsors ---------- */

    .sponsors {
      text-align: center;
      padding: 60px 20px;
      max-width: 100%;
      background-color: #111;
    }

    .sponsor-logos {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

    .sponsor-logos img {
      height: 120px;
      /* filter: grayscale(100%); */
      transition: height 0.3s;
    }

    .sponsor-logos img:hover {
      filter: grayscale(0%);
      height: 200px;
    }


    /* ---------- Footer ---------- */
    footer {
      text-align: center;
      padding: 20px;
      background-color: #000;
      border-top: 1px solid #222;
      font-size: 0.85rem;
      color: #aaa;
    }


    /* ---------- Hamburger Menu ---------- */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
      background: none;
      border: none;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background-color: #f5f5f5;
      transition: all 0.3s ease;
    }

    .hamburger.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000;
        border-top: 1px solid #222;
        border-bottom: 2px solid #d4a017;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 24px;
        gap: 4px;
        z-index: 99;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-links a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #1a1a1a;
        border-radius: 0;
      }

      .nav-links a:last-of-type {
        border-bottom: none;
      }

      .nav-socials {
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid #1a1a1a;
        justify-content: flex-start;
        gap: 16px;
      }
    }