/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

html, body {
    height: 100%; /* Make sure the body and html can fill the full height */
}
  
body {
    font-family: sans-serif;
    background-color: #121212;
    color: #eee;
    line-height: 1.6;
    min-height: 100vh; /* Ensure body takes at least full viewport height */
    display: grid;
    grid-template-rows: auto 1fr auto; /* header, main content, footer */
    grid-template-areas: 
        "header"
        "main" 
        "footer";
}
  
  /* Top Navigation Bar */
  .top-bar {
    background-color: #1a1a1a;
    padding: 12.5px 20px;
    grid-area: header;
  }
  
/* Style for the active link */
.top-bar nav ul li a.active-link {
  color: #4bc0c0; /* Teal color for active link */
  font-weight: bold;
}

  .top-bar nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
  }
  
  .top-bar nav ul li {
    margin-right: 20px;
  }
  
  .top-bar nav ul li a {
    text-decoration: none;
    color: #eee;
    font-weight: bold;
  }
  
  .top-bar nav ul li a:hover {
    color: #4bc0c0;
  }
  
  /* Main Content */
  .home-content {
    padding: 20px;
    grid-area: main;
  }
  
  /* Channels Section */
  .channels {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .channels h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  
  .channel-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center; /* Ensures images are aligned */
  }
  
  .channel {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .channel a {
      text-decoration: none;
  }

  .channel img {
    width: auto;
    height: 80px;  /* Ensures both icons have the same height */
    margin-bottom: 5px;
    transition: transform 0.2s;
  }
  
  .channel img:hover {
    transform: scale(1.05);
  }
  
  .channel p {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
  }
  
  /* Games Section */
  .games {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .games h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  
  .game-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .game {
    text-align: center;
  }
  
  .game a {
      text-decoration: none;
  }

  .game img {
    width: 250px;   /* larger game images */
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.2s;
  }
  
  .game img:hover {
    transform: scale(1.05);
  }
  
  .game p {
    font-size: 1.1rem;
    color: #fff;    /* brighter text under game images */
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 0px;
    background-color: #121212;
    font-size: 0.9rem;
    color: #888;
    position: relative; /* Needed for positioning the hidden link inside */
    grid-area: footer;
  }

  footer a {
      color: #4bc0c0;
      text-decoration: none;
  }

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

  /* Easy-to-adjust hidden link - just change the --size variable */
  .truly-hidden-link {
    --size: 24px; /* ADJUST THIS VALUE to make the link bigger/smaller */
    position: absolute;
    bottom: 16px;
    right: 2px;
    width: var(--size);
    height: var(--size);
    text-decoration: none;
    color: transparent;
    z-index: 1001;
    cursor: pointer;
  }

  .truly-hidden-link:hover {
    background-color: #1d1d1d;
    border-radius: 50%;
  }

  /* Alternative: Blend into existing text */
  .blend-link {
    color: #888; /* Same as footer text */
    text-decoration: none;
    position: relative;
  }

  .blend-link:hover {
    color: #4bc0c0; /* Same as other links on hover */
  }

  /* Make a letter slightly different on hover for subtle hint */
  .blend-link .hint-letter {
    transition: color 0.3s ease;
  }

  .blend-link:hover .hint-letter {
    color: #4bc0c0;
    text-shadow: 0 0 2px rgba(75, 192, 192, 0.3);
  }