/* General Styles */
html, body {
  font-family: Arial, sans-serif;
  background-color: #f8f1e9 !important;
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: rgba(34, 34, 34, 0.95);
  padding-top: 40px;
  transition: left 0.5s ease;
  z-index: 1050;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  padding: 15px 20px;
  margin: 5px 0;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.sidebar a:hover {
  color: #c7670e;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar a:nth-child(1n):hover {
  color: #c7670e;
}

.sidebar a:nth-child(2n):hover {
  color: #4a90e2;
}

.sidebar a:nth-child(3n):hover {
  color: #c7670e;
}

.sidebar-close {
  display: block;
  width: 32px;
  margin: 10px auto 10px calc(50% - 16px - 20px);
  text-align: center;
  font-size: 1rem;
  color: white;
  background-color: #c7670e;
  padding: 6px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sidebar-close:hover {
  background-color: #d77920;
}

/* Hamburger Button */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: white;
  background-color: #c7670e;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle[data-sidebar-open="true"] {
  display: none;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto 20px; /* Removed top margin to prevent pushing content down */
  padding: 0 20px; /* Reduced padding to minimize vertical space */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f1e9 !important;
}

/* Header */
header {
  background-color: #f8f1e9;
  color: #333;
  padding: 0 20px; /* Reduced padding to 0 vertically */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Header Logo */
#header-logo {
  /* width: 364px; */ /* Previously commented out to allow inline width: 70vw */
  margin-bottom: 10px;
}

h1 {
  font-size: 3.5rem;
  margin: 0;
  line-height: 1.2;
  font-weight: bold;
  color: #333;
  text-align: center;
}

/* Description */
.description {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 20px; /* Restored original margin */
  line-height: 1.6;
  color: #666;
  text-align: center;
}

.description a, .support-link, .ticket-link, .dropbox-link {
  color: #c7670e;
  text-decoration: underline;
}

.description a:hover, .support-link:hover, .ticket-link:hover, .dropbox-link:hover {
  color: #d77920;
}

/* Payment Options Section */
.payment-options {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #f8f1e9 !important;
}

.payment-options h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Ticket System Section */
.ticket-system {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #f8f1e9 !important;
}

.ticket-system h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.ticket-system form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.ticket-system label {
  font-size: 1.2rem;
  margin: 10px 0 5px;
  width: 100%;
  text-align: left;
}

.ticket-system input,
.ticket-system textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 15px;
}

.ticket-system textarea {
  resize: vertical;
}

/* Naughty List Section */
.naughty-list {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #f8f1e9 !important;
}

.naughty-list h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.naughty-list p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.naughty-list a {
  color: #c7670e;
  text-decoration: underline;
}

.naughty-list a:hover {
  color: #d77920;
}

/* Windows Performance Section */
.windows-performance {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #f8f1e9 !important;
}

.windows-performance h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.windows-performance p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Custom Game Configs Section */
.custom-game-configs {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #f8f1e9 !important;
}

.custom-game-configs h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.custom-game-configs p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.custom-game-configs a {
  color: #c7670e;
  text-decoration: underline;
}

.custom-game-configs a:hover {
  color: #d77920;
}

/* Purchase Confirmation Section */
.purchase-confirmation {
  padding: 20px 0;
  text-align: center;
  width: 100%;
  background-color: #f8f1e9 !important;
}

.purchase-confirmation h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.purchase-confirmation p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Coupon Section */
.coupon-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
}

#coupon-input {
  width: 100%;
  max-width: 200px;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

.apply-coupon-button {
  background-color: #c7670e;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  max-width: 200px;
}

.apply-coupon-button:hover {
  background-color: #d77920;
}

/* Modal for Coupon and Easter Egg */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.modal-content {
  background-color: #f8f1e9;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 5px;
  position: relative;
  text-align: center;
}

.modal-content.small-modal {
  max-width: 300px;
  padding: 15px;
}

.modal-close {
  color: #c7670e;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover {
  color: #d77920;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.modal-content p {
  font-size: 1.2rem;
  margin: 10px 0;
}

.modal-content .dropbox-note {
  font-size: 1rem;
  color: #666;
  margin-top: 15px;
}

.modal-content a {
  color: #c7670e;
  text-decoration: underline;
}

.modal-content a:hover {
  color: #d77920;
}

/* Buttons */
.square-button,
.submit-button {
  background-color: #6772e5;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  margin: 10px auto;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  display: block;
  max-width: 200px;
}

.square-button:hover,
.submit-button:hover {
  background-color: #5469d4;
}

.coinbase-button {
  background-color: #0667d0;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  margin: 10px;
  cursor: pointer;
  border-radius: 5px;
}

.coinbase-button:hover {
  background-color: #055bb5;
}

.paypal-button {
  background-color: #0070ba;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  display: block;
  max-width: 200px;
}

.paypal-button:hover {
  background-color: #003087;
}

#paypal-button-container {
  margin: 10px;
  max-width: 200px;
  width: 100%;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-content {
    margin-top: 0; /* Removed top margin for mobile */
    padding: 0 10px;
    background-color: #f8f1e9 !important;
  }

  .description {
    font-size: 1.2rem;
  }

  .sidebar a {
    font-size: 1.2rem;
    padding: 12px 15px;
  }

  .sidebar-close {
    font-size: 0.9rem;
    padding: 5px;
    width: 30px;
    margin: 8px auto 8px calc(50% - 15px - 20px);
  }

  /* #header-logo {
    width: 297px;
  } */ /* Previously commented out to allow inline width: 46vw */

  header {
    padding: 0 10px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .modal-content {
    width: 90%;
    margin: 20% auto;
  }

  .modal-content.small-modal {
    width: 80%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .description {
    font-size: 1rem;
  }

  .sidebar a {
    font-size: 1.1rem;
    padding: 10px 15px;
  }

  .sidebar-close {
    font-size: 0.8rem;
    padding: 4px;
    width: 28px;
    margin: 6px auto 6px calc(50% - 14px - 20px);
  }

  /* #header-logo {
    width: 246px;
  } */ /* Previously commented out to allow inline width: 46vw */

  .square-button,
  .coinbase-button,
  .submit-button,
  .paypal-button,
  .apply-coupon-button {
    width: 100%;
    max-width: 300px;
  }

  #paypal-button-container {
    width: 100%;
    max-width: 300px;
  }

  h1 {
    font-size: 2rem;
  }

  .modal-content {
    width: 95%;
    margin: 30% auto;
  }

  .modal-content.small-modal {
    width: 90%;
    max-width: 200px;
  }
}