/* style.css - Durango Degenerates - FINAL WORKING VERSION */

/* ===== BASE STYLES ===== */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
}

/* ===== SPLASH SCREEN ===== */
#splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
  background-color: #e6ffe6;
  position: relative;
  z-index: 9999;
}

#logo {
  width: 440px;
  max-width: 90%;
  margin: 20px auto;
  display: block;
  transition: transform 0.4s ease-in-out;
}

#logo.animate {
  transform: scale(1.1);
}

#subTitle {
  font-size: 1.25em;
  margin: 10px 0 20px;
  display: block;
  font-weight: bold;
  color: #228B22;
}

#connContainer {
  display: block;
  padding: 10px;
  background-color: transparent;
  font-weight: normal;
  font-size: 0.9em;
}

#connDot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
}

#connDot.green {
  background-color: #00ff00;
  border: 1px solid #00cc00;
}

#connDot.red {
  background-color: #ff0000;
  border: 1px solid #cc0000;
}

#connDot.yellow {
  background-color: #ffff00;
  border: 1px solid #cccc00;
}

#connDot.dot {
  background-color: #ccc;
  border: 1px solid #999;
}

/* ===== MAIN PAGES ===== */
#pickGroupsPage {
  display: block;
  padding: 20px;
  background: #e6ffe6;
  min-height: 100vh;
  visibility: visible;
  opacity: 1;
}

/* Hide main page when splash is showing */
#splash:not([style*="none"]) ~ #pickGroupsPage,
body:has(#splash:not([style*="none"])) #pickGroupsPage {
  display: none;
}

/* Show main page when body has main-page-active class */
body.main-page-active #pickGroupsPage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#historyPage, #settingsPage {
  display: none;
  padding: 20px;
  background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
  min-height: 100vh;
}

/* ===== HEADER ===== */
#appHeader {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 10px 20px;
  border-bottom: 2px solid #ccc;
  position: relative;
}

/* Show header when body has main-page-active class */
body.main-page-active #appHeader {
  display: flex !important;
}

#appHeader img {
  height: 108px;
}

/* ===== MAIN HEADINGS ===== */
#formGroupsHeading {
  font-size: 2.5em;
  color: #228B22;
  font-weight: bold;
  margin: 20px auto 30px auto;
  text-align: center;
  display: block;
  visibility: visible;
}

#formGroupsSub {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
  display: block;
  visibility: visible;
}

/* ===== BUTTONS - BASE STYLES ===== */
button, #enterButton {
  padding: 18px 36px;
  margin: 20px auto;
  text-align: center;
  font-size: 1.2em;
  background-color: #228B22;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
}

button:hover, #enterButton:hover {
  background-color: #1e7a1e;
}

button:disabled, #startMatchButton:disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
}

/* ===== ENTER BUTTON - MOBILE OPTIMIZED ===== */
#enterButton {
  -webkit-tap-highlight-color: rgba(34, 139, 34, 0.3);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  pointer-events: auto;
}

@media (max-width: 768px) {
  #enterButton {
    min-height: 60px;
    padding: 20px 40px;
    font-size: 1.3em;
    touch-action: manipulation;
  }
}

/* ===== PASSWORD MODAL ===== */
#passwordModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
}

#passwordModal.show,
#passwordModal[style*="flex"] {
  display: flex !important;
}

#passwordModal .plaque-content {
  background: white;
  border: 4px solid #228B22;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  width: 450px;
  max-width: 90vw;
  text-align: center;
  position: relative;
}

#passwordInput {
  width: 100%;
  padding: 20px;
  font-size: 1.4em;
  border: 3px solid #ddd;
  border-radius: 10px;
  margin: 20px 0;
  box-sizing: border-box;
}

#passwordModal button {
  padding: 18px 35px;
  font-size: 1.2em;
  margin: 10px;
  background: #228B22;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block !important;
  visibility: visible !important;
}

/* ===== WELCOME MODAL ===== */
#welcomePlaque {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

#welcomePlaque.show {
  display: flex;
  opacity: 1;
}

#welcomePlaque .plaque-content {
  background: white;
  border: 3px solid #228B22;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 350px;
  text-align: center;
}

#welcomePlaque h3 {
  font-size: 1.3em;
  margin: 0 0 15px 0;
  color: #228B22;
}

#welcomePlaque button {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  margin: 8px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  display: block !important;
  visibility: visible !important;
}

/* ===== SCOREKEEPER MODAL ===== */
#scorekeeperPlaque {
  display: none;
  opacity: 0;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  background: white;
  border: 4px solid #228B22;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-align: center;
}

#scorekeeperPlaque.show {
  display: block;
  opacity: 1;
}

.scorekeeper-button {
  width: 100%;
  margin: 8px 0;
  padding: 15px 20px;
  background-color: white;
  color: #228B22;
  border: 2px solid #228B22;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scorekeeper-button:hover {
  background-color: #f0f8f0;
}

.scorekeeper-button.selected {
  background-color: #228B22;
  color: white;
}

/* ===== MONEY GAME MODAL ===== */
#moneyGamePlaque {
  display: none;
  opacity: 0;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  background: white;
  border: 4px solid #228B22;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 90vw;
  width: 400px;
}

#moneyGamePlaque.show {
  display: block;
  opacity: 1;
}

/* History page specific styles */
#historyPage {
  background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
}

#historyPage .page-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#historyPage .back-button {
  background: #228B22;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5em;
  cursor: pointer;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#historyPage .back-button:hover {
  background: #1e7a1e;
  transform: scale(1.1);
}

#historyPage .page-content {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.money-game-section {
  background: linear-gradient(135deg, #f8fff9, #e8f5e8);
  border: 2px solid #28a745;
  border-radius: 12px;
  margin: 20px 0;
  padding: 20px;
}

.money-player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
  transition: all 0.3s ease;
}

.money-player-row.money-player {
  border-color: #28a745;
  background: #f8fff9;
}

.money-toggle {
  position: relative;
  width: 60px;
  height: 32px;
}

.money-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.money-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #6c757d;
  transition: 0.3s;
  border-radius: 32px;
}

.money-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.money-toggle input:checked + .money-slider {
  background-color: #28a745;
}

.money-toggle input:checked + .money-slider:before {
  transform: translateX(28px);
}

/* ===== PLAYER BUTTONS ===== */
.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap: 8px;
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

#pickGroups {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  visibility: visible !important;
}

.player-button {
  background-color: white;
  color: #228B22;
  border: 2px solid #228B22;
  margin: 8px 0;
  padding: 18px 15px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  min-height: 55px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 90% !important;
  max-width: 600px;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

.player-button.selected {
  background-color: #228B22;
  color: white;
}

.player-button:hover {
  background-color: #1e7a1e;
  color: white;
}

/* Mobile player buttons */
@media (max-width: 768px) {
  .buttons-container,
  #pickGroups {
    padding: 0 15px;
  }
  
  .player-button {
    width: 100% !important;
    font-size: 1.2em;
    padding: 18px 15px;
    min-height: 55px;
  }
}

/* ===== ADDED PLAYERS SECTION ===== */
#addedPlayersSection {
  margin: 20px auto;
  max-width: 600px;
}

#addedPlayersHeading {
  font-size: 1.4em;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

#addedPlayersContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 15px;
}

#addedPlayersContainer .player-button {
  background-color: #f0f0f0;
  color: #666;
  border: 2px solid #ccc;
}

#addedPlayersContainer .player-button:hover {
  background-color: #e0e0e0;
  color: #333;
}

#addedPlayersContainer .player-button.selected {
  background-color: #666;
  color: white;
  border-color: #444;
}

/* ===== ADD PLAYER SECTION ===== */
.add-player-section {
  background-color: #f8f8f8;
  border: 2px solid #228B22;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 500px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add-player-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
  justify-content: center;
}

.add-player-row input[type="text"] {
  flex: 1;
  max-width: 250px;
  padding: 10px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin: 0;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
}

.toggle-input {
  display: none;
}

.toggle-slider {
  display: block;
  width: 80px;
  height: 35px;
  background-color: #ccc;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
  border: 2px solid #999;
}

.toggle-slider:before {
  content: "";
  position: absolute;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-slider {
  background-color: #228B22;
  border-color: #1e7a1e;
}

.toggle-input:checked + .toggle-slider:before {
  transform: translateX(45px);
}

/* ===== BOTTOM BUTTONS ===== */
.bottom-buttons {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #ddd;
}

.bottom-buttons button {
  display: block;
  margin: 10px auto;
  width: 100%;
  max-width: 300px;
}

/* ===== HAMBURGER MENU ===== */
#hamburgerMenu {
  position: relative;
}

.hamburger-button {
  background: none;
  border: none;
  padding: 10px;
  margin: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-button:hover {
  background: rgba(34, 139, 34, 0.1);
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: #228B22;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-button.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-button.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-button.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid #228B22;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
}

.menu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: #f8f9fa;
  color: #228B22;
}

.menu-icon {
  font-size: 1.3em;
  margin-right: 12px;
  width: 25px;
  text-align: center;
}

.menu-text {
  font-weight: bold;
  font-size: 1em;
  color: #333;
}

.menu-item:hover .menu-text {
  color: #228B22;
}

/* ===== PAGE HEADERS ===== */
.page-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
}

.back-button {
  background: #228B22;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5em;
  cursor: pointer;
  margin: 0 15px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: #1e7a1e;
  transform: scale(1.1);
}

.page-header h1 {
  font-size: 2.2em;
  color: #228B22;
  margin: 0;
  flex: 1;
  text-align: center;
}

.page-content {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SETTINGS PAGE ===== */
.settings-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.settings-section h3 {
  color: #228B22;
  margin-bottom: 20px;
  font-size: 1.4em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-feature-setting {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-feature-setting:hover {
  border-color: #228B22;
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.1);
}

.feature-header-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: white;
  border-bottom: 1px solid #e9ecef;
}

.feature-title-mobile {
  margin: 0 0 5px 0;
  color: #228B22;
  font-size: 1.2em;
}

.feature-description {
  margin: 0;
  color: #666;
  font-size: 0.9em;
  font-style: italic;
}

.mobile-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.mobile-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mobile-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.mobile-toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.mobile-toggle-input:checked + .mobile-toggle-slider {
  background-color: #228B22;
}

.mobile-toggle-input:checked + .mobile-toggle-slider:before {
  transform: translateX(26px);
}

.mobile-feature-controls {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.3s ease;
}

.mobile-feature-controls.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.mobile-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.mobile-select {
  background: white;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 1em;
  color: #333;
  min-width: 80px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.mobile-select:focus {
  border-color: #228B22;
  outline: none;
  box-shadow: 0 0 5px rgba(34, 139, 34, 0.3);
}

.mobile-settings-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 3px solid #228B22;
}

.mobile-reset-btn, .mobile-save-btn {
  padding: 15px 30px;
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 100%;
  border: none;
  cursor: pointer;
}

.mobile-reset-btn {
  background: #6c757d;
  color: white;
}

.mobile-save-btn {
  background: #28a745;
  color: white;
}

/* ===== MATCH DISPLAY ===== */
.match-started-header {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.match-started-header h2 {
  color: #228B22;
  font-size: 2em;
  margin: 0 0 15px 0;
}

.match-groups-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.match-group-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.match-group-card:hover {
  border-color: #228B22;
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.2);
}

.group-header {
  text-align: center;
  margin-bottom: 20px;
}

.group-header h3 {
  color: #228B22;
  font-size: 1.5em;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.group-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.match-button {
  flex: 1;
  max-width: 150px;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-btn {
  background: linear-gradient(135deg, #228B22, #32CD32);
}

.card-btn:hover {
  background: linear-gradient(135deg, #1e7a1e, #28a745);
  transform: translateY(-2px);
}

.link-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.link-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
}

/* ===== COPYRIGHT NOTICE ===== */
#copyrightNotice {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #228B22;
  font-size: 0.85em;
  font-weight: bold;
  text-align: center;
  width: 100%;
  z-index: 100;
}

/* ===== UTILITY CLASSES ===== */
.connected-bg {
  background-color: #e6ffe6;
}

.shake {
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  #copyrightNotice {
    bottom: 10px;
    font-size: 0.8em;
    padding: 0 10px;
  }
  
  .menu-dropdown {
    right: -10px;
    min-width: 180px;
  }
  
  .page-header {
    flex-direction: column;
    text-align: center;
  }
  
  .page-header h1 {
    margin-top: 10px;
  }
  
  .group-buttons {
    flex-direction: column;
  }
  
  .match-button {
    max-width: none;
  }
  
  .mobile-control-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .mobile-select {
    width: 100%;
  }
  
  .feature-header-mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  #copyrightNotice {
    bottom: 8px;
    font-size: 0.75em;
  }
  
  .match-started-header h2 {
    font-size: 1.6em;
  }
  
  .group-header h3 {
    font-size: 1.3em;
  }
}

/* ===== MOBILE TOUCH OPTIMIZATIONS ===== */
@media (max-width: 430px) {
  #passwordModal .plaque-content {
    max-width: 320px;
    padding: 18px;
  }
  
  #welcomePlaque .plaque-content {
    max-width: 320px;
    padding: 18px;
  }
  
  .player-button {
    font-size: 1.1em;
    padding: 16px 12px;
    border-radius: 10px;
  }
}