/* rewrite style.css */

/* -- global style -- */

/* alt-option-button: Alternative option button. Appear in guest page, etc. */

.alt-option-button {
  height: 150px;
  width: 150px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.alt-option-button i {
  color: #333;
  margin-bottom: 1.0rem;
  font-size: 2.5rem;
  display: block;
}

.alt-option-button:hover {
  background-color: #f7f7f7;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* large-button: Large button e.g. "Classic Games" button */

.large-button {
  width: 500px;
  height: 500px;
  border: 2px solid #ccc;
  border-radius: 16px;
  text-align: center;
  padding: 1rem;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.large-button:hover {
  background-color: #222;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.large-button img {
  height: 66%;
  width: auto;
  object-fit: contain;
  margin: 0 auto 3rem;
  display: block;
}

.large-button h3 {
  font-size: 2.0rem; 
  margin: 0;
  text-align: center;
}

/* -- style for members.html -- */

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

#welcome-message {
  margin: 1.5rem 0;
  font-size: 1.2rem;
}

/* -- style for guest.html -- */

.entry-page-wrapper {
  display: flex;
  justify-content: center; /* center the whole row */
}

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


/* -- style for entry.html -- */

.entry-page-wrapper {
  display: flex;
  justify-content: center; /* center the whole row */
}

.entry-panels-layout {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 50px;
  padding: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.entry-panel-block {
  height: 30%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.entry-panel {
  background-color: black;
  width: 250px;
  min-width: 250px;
  height: 500px;
  padding: 1rem;
  border-radius: 16px;
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  color: white;
 
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
  gap: 1rem;
}

.entry-panel:hover {
  background-color: grey; 
}

.entry-panel-button {
  height: 150px;
  width: 150px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.entry-panel-button i {
  color: #333;
  margin-bottom: 1.0rem;
  font-size: 2.5rem;
  display: block;
}

.entry-panel-button:hover {
  background-color: #f7f7f7;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#signup-email,
#signup-password,
#signin-email,
#signin-password {
  width: 100%;
  max-width: 200;
}

.entry-panel-input {
  height: 33%;
  width: auto;
  box-sizing: border-box;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.entry-panel-input label {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: white;
  font-weight: bold;
}

.entry-panel-input input {
  background-color: #fff9c4; /* pale yellow */
}

.entry-panel-text {
  flex: 2;                     /* take 2/3 of height */
  display: flex;
  flex-direction: column;
  justify-content: center;      /* center text vertically */
  align-items: center;
  text-align: center;
}

/* -- style for index.html -- */

.index-icon {
  width: 500px;
  height: 500px;
  border: 2px solid #ccc;
  border-radius: 16px;
  text-align: center;
  padding: 1rem;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.index-icon:hover {
  background-color: #222;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.index-icon img {
  height: 60%;
  width: auto;
  object-fit: contain;
  margin: 1rem auto 3rem;
  display: block;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.index-icon h3 {
  height: 15%;
  width: auto;
  font-size: 2.0rem; 
  margin: 0;
  text-align: center;
}

.index-icon p {
  height: 10%;
  width: auto;
  font-size: 1.0rem; 
  margin: 0;
  text-align: center;
}

.logo-icon {
  border-radius: 50%;
  display: block
}

/* ----------------- */


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

main {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  height: 100vh;             /* full viewport height */
}

body {
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #222;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
}

.hero {
  padding: 3rem 1rem;
  text-align: center;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    display: none;
    background: #222;
    padding: 1rem;
  }

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

  .burger {
    display: block;
  }
}

.hero img {
  width: clamp(50px, 100vw, 200px);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.icon-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.icon-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.centered-placeholder {
  text-align: center;
  padding: 80px 20px;
  font-size: 1.2rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo a {
  display: flex;
  align-items: center;
  padding: 0.5rem;
}

.form-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section h1 {
  margin-bottom: 0.5rem;
}

.form-section p {
  margin-bottom: 1.5rem;
  color: #444;
}

.form-section form input,
.form-section form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.form-section form button {
  padding: 0.75rem 1.5rem;
  background-color: white;
  border: none;
  border-radius: 8px;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.form-section form button:hover {
  background-color: gold;
  color: black;
}

.login-button-container {
  margin-top: 2rem;
  text-align: center;
}

.login-button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  background-color: #000;
  color: white;
  border: 2px solid #000;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-button:hover {
  background-color: white;
  color: #000;
}

/* Style for the icon sections like Games / Join Us / About */
.icons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
}


.games-category h1 {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0 1rem 0;
}

.icon-box--member {
  background-color: #ede7f6;
  border-color: #673ab7;
}

.icon-box--member:hover {
  background-color: #d1c4e9;
  border-color: #5e35b1;
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(103, 58, 183, 0.3);
}

.logo-button {
  display: inline-block;
  margin-bottom: 1rem
}

.logo-button:hover {
  transform: translateY(-4px);
}

.logo-navbar {
  background-color: black;
  color: white;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-box {
  background-color: black;
  width: 500px;
  height: 500px;
  padding: 1rem;
  border-radius: 16px;
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  margin-top: 2rem auto;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.fixed-box form {
  width: 100%;
  max-width: 350px;
}

.fixed-box h2 {
  margin-bottom: 2rem;
}

.fixed-box label {
  margin-bottom: 0.25rem;
  gap: 0.5rem;
  display: block;
  font-weight: bold;
  align-items: center;
  justify-content: center;
}

.fixed-box input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 5px;
  text-align: center;
}

.btn-login {
  background-color: gold;
  color: black;
  font-weight: bold;
  padding: 3rem 3rem;
  font-size: 5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 80%;
  max-width: 300px;
}

.btn-login:hover {
  background-color: white;
  color: black;
}


.text-in-fixed_box {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-in-fixed_box p {
  line-height: 1.6;
  margin: 3rem auto;  
  text-align: justify;
  hyphens: auto
}

.members-page .auth-box {
}

.xxx {
  width: 500px;
  min-height: 300px;
  background-color: #000;
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem auto;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.btn-login {
  background-color: white;
  color: black;
  font-weight: bold;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #444;
  color: #fff;
}

footer {
  background-color: #000;   /* keep dark background */
  padding: 2rem 1rem;
  text-align: center;       /* center everything */
  color: #fff;
}

.footer-content {
  display: flex;
  flex-direction: column;   /* stack logo and text */
  align-items: center;      /* center horizontally */
  justify-content: center;
}

.footer-logo {
  width: 100px;              /* adjust size as needed */
  margin-bottom: 1rem;      /* space between logo and text */
  border-radius: 50%;
}


