/* BASIC RESET & COLORS */
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

header {
    background-color: #282828; /* Green for header, football theme */
    color: white;
    padding-top: 20px;
    text-align: center;
    height: 75px;
    width: 100%;
}

.logo {
    max-height: 75px;
    position: sticky;
    left: 70%;
    height: 100%;
}

.bigtale_quiz {

}
main {
  width: 100%;
  display: flex;
  gap: 50px;
  /* flex-direction: column; */
}
.left_container {
  max-width: 350px;
  width: 100%;
  padding-top: 24px;
}
.game-list {
    display: grid;
    gap: 20px;
    padding: 15px;
}

.game_list_a {
    text-decoration: none;
}

.game {
    background-color: #fff;
    padding: 15px;
    border: 3px solid #282828;
    border-radius: 10px;
    text-align: center;
    color: #282828;
    font-size: 16px;
}

.game:hover {
    border: 3px solid #ffae00;
    background-color: #282828;
    color: #ffae00;
}

button {
    background-color: #282828; /* Blue for buttons */
    color: #ffae00;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}
button:disabled {
  background-color: #8f1f1f;
  cursor: not-allowed;
  color: #000;
}

.main_container {
  padding: 24px;
  text-align: center;
  width: 100%;
}
.howToPlayBtn {
  display: none;
}
/* DATE CONTROLS */
#dateContainer {
  gap: 10px;
  margin-bottom: 20px;
}
#datePicker {
  max-width: 200px;
  width: 50%;
}







.right_container {
  max-width: 350px;
  width: 100%;
  padding-top: 24px;
}
.bigtale_quize {
  position: relative;
  text-align: center;
  background-color: #000;
  color: #00a859;
  border-radius: 15px;
  min-height: 300px;
  padding-top: 10px;
  margin: 10px;
  max-width: calc(100% - 18px);
  width: auto;
}

}
header h1 {
    margin: 0;
}

/* INPUT & SUGGESTIONS WRAPPER */
.input-wrapper {
  display: flex;
  margin: 0 auto;
  gap: 10px;
  max-width: 500px;
  position: relative;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* SUGGESTION BOX STYLING */
.suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #f9f9f9;
  border: 1px solid #444;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  display: none; /* Hidden by default */
  margin-top: 10px;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
}

.suggestion-item:hover {
  background: #777777;
  color: #ffae00;
}

/* TABLE STYLING */
table {
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

th, td {
  border: 1px solid #333;
  padding: 10px;
  text-align: center;
}

td.partial {
  background: #3b82f6;
  /* color: #000; */
  font-weight: bold;
}

th { background: #f9f9f9; }
.correct { background: #1f8f4a; font-weight: bold; }
.wrong { background: #8f1f1f; font-weight: bold; }

/* IMAGE & INFO AREA */
#imageContainer {
  margin: 20px 0;
  text-align: center;
}

#characterImage {
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  /* filter: blur(10px);  */
  transition: filter 0.5s;
}



/* MODAL (Rules) */
.modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex; justify-content: center; align-items: center;
  z-index: 100;
}
.modal.hidden { display: none; }
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
}
.modal-content ul {
  text-align: left;
}

.social_share_section {
  margin-top: 50px;
  margin-bottom: 50px;
}
.share-buttons a{
  padding: 5px 30px;
  color: #000;
  font-size: 36px;
  border: 1px solid;
  border-radius: 10px;
}
.share-buttons a:hover {
  background: #282828;
  color: #ffae00;
}
.share-buttons i {
  margin-bottom: 20px;
}


footer {
    background-color: #282828;
    color: white;
    text-align: center;
    height: 150px;
    padding-top: 50px;
    width: 100%
}

.footer_list {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer_content {
    /* text-align: center; */
}

.social-icon-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    width: 50px;
}

.social_icons {
    font-size: 40px;
    color: #fff;
}

.social_icons:hover {
    color: #ffae00;
}

@media (max-width: 1000px) {
    header {
        padding-top: 10px;
        height: auto;
    }

    .logo {
        left: 25%;
        max-height: 60px;
        position: relative;
        margin-right: 10px;
    }

    footer {
        height: auto;
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .footer_list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }

    .social_icons {
        font-size: 30px;
    }

    .social-icon-link {
        width: 40px;
    }
    main {
        flex-direction: column; /* Stacks containers vertically */
        align-items: center;    /* Centers the containers */
        gap: 20px;              /* Reduces the gap for mobile */
    }

    .right_container {
        max-width: 100%;        /* Allows the ad/image to be responsive */
        width: auto;
        padding-top: 10px;
        margin-bottom: 20px;    /* Adds space before the footer */
    }
}
@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .logo {
        max-height: 50px;
        position: relative;
        margin-bottom: -12px;
    }

    .footer_list {
        grid-template-columns: 1fr; /* Stack footer items vertically */
    }
    #resultsTable {
      font-size: 12px;
    }
}
@media (max-width: 768px) {
  /* Hide IMDb column on mobile */
  .imdb_col {
    display: none;
  }
  th, td {
    padding: 3px;
  }
  /* Also hide the header cell */
  th.imdb_col {
    display: none;
  }
}







/* 1. Hide the toggle button on Desktop */
.menu-toggle {
    display: none;
    position: absolute;
    left: 20px;
    top: 20px;
    background: transparent;
    font-size: 24px;
}

/* 2. Mobile Specific Styles */
@media (max-width: 1000px) {
    .menu-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .left_container {
        position: fixed;
        top: 0;
        left: -350px; /* Hide off-screen */
        width: 280px;
        height: 100%;
        background: #282828;
        z-index: 1000;
        transition: 0.3s;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
        padding-top: 60px; /* Space for a close feel */
    }

    /* When the menu has the 'open' class */
    .left_container.open {
        left: 0;
    }
    .game-list h3 {
      color: #ffae00;
    }
    /* Adjust game list items for the dark sidebar */
    .game {
        border: 1px solid #444;
        margin: 0 10px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    /* Prevent body scroll when menu is open (optional) */
    body.menu-open {
        overflow: hidden;
    }
    .right_container {
      width: auto;
    }
    .main_container {
      width: auto;
    }
}




/* #characterImage {
  width: 100%;
  max-width: 400px;
  height: auto;
  transition: filter 0.5s ease;
  image-rendering: pixelated;
}

.pixelated {
  filter: url(#pixelate);
} */


.hint-container {
  margin: 15px auto;
  padding: 10px;
  background: #fdf6e3;
  border-left: 5px solid #ffae00;
  border-radius: 5px;
  max-width: 600px;
  min-height: 20px;
  font-style: italic;
  display: none; /* Hidden by default */
  color: #555;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

#hintBtn {
  background-color: #ffae00;
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
}

#hintBtn:hover {
  background-color: #282828;
  color: #ffae00;
}
