/* Basic reset and font settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #E5F5FF;
}

/* Container to hold both left and right sections */
.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
}



.page-title {
  font-size: 120px;
  margin-left: 150px;
  text-align: center;
  font-weight: bold;
  font-family: 'Mitr', sans-serif;
}

.page-subtitle {
  font-size: 75px;
  text-align: center;
  margin-bottom: 75px;
  margin-left: 150px;
  font-weight: 500;
  font-family: 'Mitr', sans-serif;
}

.play-button {
  background-color: #702632; /* Darker maroon color */
  color: #fff;
  margin-top: 25px;
  margin-left: 150px;
  margin-bottom: 50px;
  padding: 15px 60px; /* Wider padding */
  border: 2px solid #702632;
  border-radius: 8px;
  font-size: 35px;
  font-family: 'Mitr', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.play-button:hover {
  background-color: #511c25;
}

/* Right Section */
.right-section {
  flex: 1;                 /* Fills remaining space */
  position: relative;      /* So we can absolutely position top-buttons & volume-icons */
  background-color: #E5F5FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left Section */
.left-section {
  width: 40%;              /* Adjust as needed */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #E5F5FF;  /* Changed to light blue */
}

/* Placeholder box for logo image */
.logo-box {
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
}

  /*.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
} */

/* Top Buttons (ประวัติการเล่น, เลือกเกม) */
.top-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.top-buttons button {
  background-color: #702632;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: 'Mitr', sans-serif;
}

.top-buttons button:hover {
  background-color: #8c2e3d;
}


/* Default (Desktop) - โลโก้อยู่ฝั่งขวา */
.left-section {
order: 1;
}

.right-section {
order: 2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.logo-box {
width: 400px;
height: 400px;
}

/* Responsive (Mobile) - โลโก้ย้ายไปด้านบน */
@media (max-width: 768px) {
.container {
  flex-direction: column;
  height: auto;
}

.right-section {
  order: 2;
  width: 100%;
  padding: 0;
}

.left-section {
  order: 1;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-box {
  width: 200px;
  height: 200px;
  margin: 20px auto;
}

.page-title {
  font-size: 40px;
  margin: 10px 0;
  text-align: center;
}

.page-subtitle {
  font-size: 28px;
  margin: 10px 0 20px;
  text-align: center;
}

.play-button {
  font-size: 1rem;
  padding: 12px 32px;
  margin: 10px 0 0;
}

.top-buttons {
  position: static;
  justify-content: center;
  margin-bottom: 20px;
}

.top-buttons button {
  font-size: 0.8rem;
  padding: 8px 12px;
}

.volume-icons {
  position: static;
  justify-content: center;
  margin-top: 20px;
}

.volume-icons img {
  width: 20px;
  height: 20px;
}
}