/* src/styles.css */
:root {
  --primary-pastel: #B8E1FF;
  --secondary-pastel: #FFD1DC;
  --accent-pastel: #CAFFBF;
  --bg-pastel: #FDFCF0;
  --text-dark: #2D3436;
  --text-muted: #636E72;
  --card-bg: rgba(255, 255, 255, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --font-family: "Montserrat", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background:
    linear-gradient(
      135deg,
      #fdfcf0 0%,
      #e0f2f1 100%);
  color: var(--text-dark);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-dark);
}
.game-container {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  outline: none;
}
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  z-index: 999;
}
.game-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}
.board-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 48;
}
.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0;
}
.btn-primary {
  background: var(--text-dark);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-secondary {
  background: white;
  color: var(--text-dark);
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.btn-secondary:hover {
  background: #f5f5f5;
  border-color: var(--secondary-pastel);
}
.btn-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}
.game-actions {
  display: flex;
  justify-content: space-around;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.action-btn {
  background: none;
  border: none;
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
.action-btn .material-symbols-outlined {
  font-size: 24px;
}
.action-btn:hover:not(:disabled),
.action-btn.active {
  color: var(--text-dark);
}
.action-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.mobile-menu-btn {
  display: none;
}
.timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  background: var(--glass-bg);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s;
}
.timer.stopped {
  background: var(--accent-pastel);
  color: #2e7d32;
}
.controls {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  height: fit-content;
  transition: all 0.3s;
}
.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.3s ease-out, opacity 0.3s;
}
.setting-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.setting-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 0.2rem;
}
.difficulty-selector {
  display: flex;
  gap: 0.5rem;
}
.difficulty-selector button {
  flex: 1;
  padding: 0.6rem;
  border: none;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.difficulty-selector button.active {
  background: var(--primary-pastel);
  font-weight: 700;
  color: #0056b3;
}
.premium-select {
  appearance: none;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.2rem;
}
.premium-select:hover {
  border-color: var(--accent-pastel);
  background-color: #fafafa;
}
.premium-select:focus {
  outline: none;
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.hint-box {
  background: #fff9c4;
  border-radius: 8px;
  font-size: 0.9rem;
  border-left: 4px solid #fbc02d;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.hint-box.visible {
  opacity: 1;
  visibility: visible;
  max-height: 200px;
  padding: 1rem;
  margin-top: 1rem;
}
.rules-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000 !important;
  animation: fadeIn 0.3s;
  padding: 1rem;
}
body.modal-open {
  overflow: hidden !important;
}
.rules-modal {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  z-index: 1000;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: sticky;
  top: -2rem;
  background: white;
  z-index: 10;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: -0.5rem;
  z-index: 1000;
}
.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
}
.btn-close {
  background: #f5f5f5;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-close:hover {
  background: #ff5252;
  color: white;
  transform: rotate(90deg);
}
.rules-section {
  margin-bottom: 1.2rem;
}
.rules-section h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 4px;
}
.rules-section p,
.rules-section ul {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.rules-section ul {
  padding-left: 1.4rem;
}
.rules-note {
  background: #e8f5e9;
  padding: 1rem;
  border-radius: 12px;
  border-left: 4px solid #4caf50;
  font-size: 0.9rem;
  color: #2e7d32;
  margin-top: 1rem;
}
.win-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.4s;
}
.modal-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
  border-radius: 24px;
}
.modal-content h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
}
.icon-win {
  font-size: 5rem;
  color: #fbc02d;
  filter: drop-shadow(0 0 10px rgba(251, 192, 45, 0.4));
}
.btn-restart {
  background: var(--text-dark);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.btn-restart:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: #000;
}
.btn-restart:active {
  transform: scale(0.98);
}
.seo-content {
  background: #fdfdfd;
  padding: 3rem 1rem;
  border-top: 1px solid #eee;
  margin-top: 4rem;
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-dark);
  line-height: 1.6;
}
.content-wrapper h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2D3436;
}
.content-wrapper h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}
.content-wrapper ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.content-wrapper li {
  margin-bottom: 0.5rem;
}
details {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}
summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
details p {
  margin-top: 0.5rem;
  color: #666;
}
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes pulseHint {
  0% {
    box-shadow: inset 0 0 0 0px #fbc02d;
  }
  50% {
    box-shadow: inset 0 0 0 6px #fbc02d;
  }
  100% {
    box-shadow: inset 0 0 0 0px #fbc02d;
  }
}
.game-footer {
  width: 100%;
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.game-footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.2s;
}
.game-footer a:hover {
  color: var(--text-dark);
  text-decoration: underline;
}
.separator {
  margin: 0 0.5rem;
  color: rgba(0, 0, 0, 0.2);
}
.home-container {
  padding: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  box-sizing: border-box;
  overflow: hidden;
}
.home-ad-container {
  margin-top: auto;
  width: 100%;
  height: 18vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.game-ad-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  min-height: 100px;
}
.lang-selector {
  position: absolute;
  top: 1rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: var(--glass-bg);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
}
.lang-selector button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.lang-selector button.active {
  color: var(--text-dark);
  transform: scale(1.1);
}
.lang-selector span {
  color: rgba(0, 0, 0, 0.1);
}
.hero {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease-out;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  background:
    linear-gradient(
      45deg,
      var(--text-dark),
      var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}
.header-content h1 {
  margin: 0;
  line-height: 1;
}
.brand-logo {
  width: 100px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 8px 16px rgba(184, 225, 255, 0.4));
  transition: transform 0.3s ease;
  margin-bottom: 0;
}
.brand-logo:hover {
  transform: scale(1.05) rotate(-2deg);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.game-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 1rem 1rem 0 rgba(31, 38, 135, 0.1);
}
.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.08);
}
.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.icon-wrapper .material-symbols-outlined {
  font-size: 40px;
}
.icon-wrapper.sudoku {
  background-color: var(--primary-pastel);
  color: #0081cf;
}
.icon-wrapper.queens {
  background-color: var(--secondary-pastel);
  color: #e91e63;
}
.icon-wrapper.tango {
  background-color: var(--accent-pastel);
  color: #2e7d32;
}
.btn-start {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.game-card:hover .btn-start {
  background: var(--text-dark);
  color: white;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tango-board-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
.tango-game-board {
  background: #333;
  padding: 3px;
  gap: 3px;
  display: grid;
  border-radius: 12px;
  position: relative;
  border: 3px solid #333;
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.tango-cell {
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  -webkit-user-select: none;
  user-select: none;
  aspect-ratio: 1;
}
.tango-cell.initial {
  background: #f0f0f0;
}
.tango-cell.hinted {
  background: #fff9c4;
  animation: pulseHint 1.5s infinite;
}
.tango-cell.error {
  box-shadow: inset 0 0 0 4px #ff5252;
  z-index: 2;
}
.constraint {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.constraint.horizontal {
  right: -6px;
  top: 0;
  bottom: 0;
  width: 6px;
  height: 100%;
}
.constraint.vertical {
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  width: 100%;
}
.sign {
  background: #333;
  color: white;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.sign.diff {
  color: #ffab91;
}
.icon-sun {
  color: #fbc02d;
  font-size: clamp(20px, 5vw, 32px);
  font-variation-settings: "FILL" 1;
}
.icon-moon {
  color: #5c6bc0;
  font-size: clamp(18px, 4.5vw, 28px);
  font-variation-settings: "FILL" 1;
}
.sudoku-board-outer {
  border: 3px solid #666;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  aspect-ratio: 1;
}
.sudoku-board {
  display: grid;
  background: white;
  gap: 0;
  width: 100%;
  height: 100%;
}
.sudoku-row {
  display: contents;
}
.sudoku-cell {
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.1s;
  color: #5c6bc0;
  -webkit-user-select: none;
  user-select: none;
  border-right: 0.5px solid rgba(0, 0, 0, 0.1);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
}
.sudoku-cell:hover {
  background: #f0f4ff;
}
.sudoku-cell.initial {
  color: #2D3436;
  font-weight: 700;
}
.sudoku-cell.selected {
  background: #e8eaf6;
  box-shadow: inset 0 0 0 3px #5c6bc0;
  z-index: 5;
}
.sudoku-cell.hinted {
  background: #fff9c4;
}
.sudoku-cell.error {
  box-shadow: inset 0 0 0 4px #ff5252;
  z-index: 4;
}
.thick-right {
  border-right: 3px solid #666 !important;
}
.thick-bottom {
  border-bottom: 3px solid #666 !important;
}
.input-section {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.num-pad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.num-btn {
  height: 60px;
  background: #f8f9fa;
  border: none;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  transition: transform 0.1s, background 0.2s;
}
.num-btn:hover {
  background: #eee;
  transform: translateY(-2px);
}
.num-btn:active {
  transform: translateY(0);
}
.tool-btn {
  height: 60px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.tool-btn .material-symbols-outlined {
  font-size: 20px;
  margin-bottom: 2px;
}
.tool-btn:hover:not(:disabled) {
  background: #f8f9fa;
  color: var(--text-dark);
  border-color: #ddd;
}
.queens-board {
  background: #333;
  padding: 2px;
  gap: 2px;
  display: grid;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border: 2px solid #333;
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.queens-row {
  display: contents;
}
.queens-cell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  border-radius: 4px;
  -webkit-user-select: none;
  user-select: none;
  aspect-ratio: 1;
}
.queens-cell:hover {
  filter: brightness(0.85);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.queens-cell.error {
  box-shadow: inset 0 0 0 4px #ff5252;
  z-index: 2;
}
.queens-cell.hinted {
  animation: pulseHint 1s infinite;
}
.icon-queen {
  font-size: clamp(24px, 6vw, 34px);
  color: #2D3436;
  pointer-events: none;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.icon-mark {
  font-size: clamp(20px, 5vw, 24px);
  color: #000;
  font-weight: bold;
  pointer-events: none;
}
@media (max-width: 768px) {
  html,
  body {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    overscroll-behavior: none;
    position: fixed;
  }
  .home-container {
    padding: 0.5rem;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .hero {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 0;
  }
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 10px;
  }
  .hero h1 {
    font-size: 1.5rem;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    max-width: 90%;
  }
  .logo {
    max-width: 100px;
    height: auto;
    margin-right: 40px;
  }
  .logo {
    max-width: 140px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
    align-content: start;
    padding-bottom: 0.2rem;
  }
  .game-card {
    padding: 0.8rem;
    flex-direction: row;
    gap: 0.8rem;
    text-align: left;
    align-items: center;
    box-shadow: 0 0.2rem 0.2rem rgba(31, 38, 135, 0.1);
    min-height: 70px;
  }
  .icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }
  .icon-wrapper .material-symbols-outlined {
    font-size: 24px;
  }
  .game-card h2 {
    margin: 0;
    font-size: 1.1rem;
  }
  .game-card p {
    display: none;
  }
  .home-ad-container {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    transform: scale(0.9);
  }
  .main-footer {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.8rem;
  }
  .btn-start {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    margin-left: auto;
  }
  .game-container {
    height: 100dvh;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
  }
  .game-ad-container {
    min-height: auto;
    margin-bottom: 0px;
    padding-top: 0.5rem;
  }
  .game-header {
    padding: 0.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
    z-index: 5;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    z-index: 999;
  }
  .game-header h1 {
    font-size: 1.1rem;
    margin: 0;
  }
  .timer {
    font-size: 0.9rem;
    padding: 0.2rem 0.6rem;
  }
  .game-content {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    z-index: 1;
    overflow: hidden;
  }
  .board-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 80px;
    width: 100%;
    box-sizing: border-box;
  }
  .tango-game-board,
  .queens-board,
  .sudoku-board-outer {
    width: 90vw;
    height: 90vw;
    max-width: 55vh;
    max-height: 55vh;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 0;
  }
  .sudoku-board-outer {
    height: 80vw;
  }
  .input-section {
    width: 94%;
    max-width: 400px;
    gap: 0.5rem;
    margin-top: 1 rem;
  }
  .num-pad-grid {
    gap: 0.5rem;
  }
  .num-btn {
    height: 42px;
    font-size: 1.1rem;
    width: 100%;
  }
  .tool-btn {
    height: 42px;
    font-size: 0.85rem;
    width: 100%;
  }
  .controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
  }
  .settings-panel {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    transition: all 0.3s ease;
  }
  .settings-panel.expanded {
    max-height: 80vh;
    opacity: 1;
    padding: 1.5rem;
    overflow-y: auto;
  }
  .game-actions {
    padding: 0.8rem;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    z-index: 22;
    border-top: none;
  }
  .action-btn {
    font-size: 0.7rem;
    gap: 0.1rem;
  }
  .action-btn .material-symbols-outlined {
    font-size: 22px;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .constraint.horizontal {
    right: -3px;
    width: 6px;
  }
  .constraint.vertical {
    bottom: -3px;
    height: 6px;
  }
  .hint-box {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto 10px auto;
    z-index: 30;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-height: 30vh;
    overflow-y: auto;
    transform: translateX(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s, opacity 0.3s;
    pointer-events: none;
    .ad-container {
      margin: 0;
    }
  }
  .hint-box.visible {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .game-footer {
    display: none;
  }
  .mobile-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    width: 100%;
  }
  .mobile-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .mobile-footer-links .separator {
    color: #ccc;
  }
}
.mobile-footer-links {
  display: none;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
