:root {
  --primary-blue: #3b82f6;
  --primary-purple: #8b5cf6;
  --primary-pink: #ec4899;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-bg: linear-gradient(to bottom right, #ddd6fe 0%, #bfdbfe 50%, #fecdd3 100%);
  --success: #10b981;
  --error: #ef4444;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --border-radius: 16px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gradient-bg);
  color: var(--text-dark);
  overflow: hidden;
}

.app-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Navigation */
.top-nav {
  background: var(--gradient-1);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  z-index: 100;
  flex-shrink: 0;
}

.bottom-bar {
    height: 5%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1em;
    font-weight: bold;
    flex-shrink: 0;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-btn.active {
  background: white;
  color: var(--primary-purple);
  border-color: white;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

/* Welcome Screen */
.welcome-screen {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 500px;
  width: 100%;
  animation: fadeIn 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;  
}

.welcome-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.welcome-subtitle {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hexagon-icon {
  display: inline-block;
  width: 30px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  clip-path: polygon(50% -50%, 100% 50%, 50% 150%, 0 50%);
}

.start-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--primary-pink));
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.start-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* How to Play Button */
.help-btn {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.help-btn:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Modal Popup */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    padding: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary-purple);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body {
    color: var(--text-dark);
    line-height: 1.7;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* Game Screen */
.game-screen {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 900px;
  height: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideIn 0.5s ease;
}

.game-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
  overflow: hidden;
  gap: 1rem;
}

.text-column {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.clue-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 0rem;
  flex-shrink: 0;
}

.clue-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0rem;
  flex-shrink: 0;
}

.clue-text a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clue-text a:hover {
    color: var(--primary-purple);
    text-decoration: none;
}

.clue-text a:visited {
    color: var(--primary-purple);
}

.clue-image {
  flex: 1;
  max-height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
}

.clue-image img {
  max-height: 30vh;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.clue-image.error {
  color: var(--error);
  padding: 1rem;
  background: #fee;
  border-radius: 8px;
}

.answer-section {
  flex-shrink: 0;
  padding: 0.5rem 2rem 0.75rem;
  background: var(--bg-white);
  border-top: 1px solid #e5e7eb;
  min-height: 191px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.answer-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.answer-input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feedback-message {
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
  min-height: 2rem;
}

.feedback-message.error {
  background: #fee2e2;
  color: var(--error);
}

.feedback-message.success {
  background: #d1fae5;
  color: var(--success);
}

.feedback-message.hidden {
  visibility: hidden;
}

.extra-clue {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  text-align: left;
  border-left: 4px solid var(--primary-purple);
  animation: fadeIn 0.3s ease;
  min-height: 3rem;
}

.extra-clue.hidden {
  visibility: hidden;
}

.separator {
  height: 1px;
  background: linear-gradient(to right, transparent, #e5e7eb, transparent);
  margin: 1rem 0;
}

/* Progress Bar */
.progress-container {
  padding: 0.5rem 2rem;
  background: var(--bg-light);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

.progress-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}

.progress-dot {
  width: 18px;
  height: 16px;
  background: #d1d5db;
  clip-path: polygon(50% -50%, 100% 50%, 50% 150%, 0 50%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.completed {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  transform: scale(1.1);
}

.progress-dot.current {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  transform: scale(1.2);
  animation: pulse 2s infinite;
}

.arrow-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.arrow-btn:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: var(--shadow);
}

.arrow-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Completion Screen */
.completion-screen {
  text-align: center;
  padding: 2rem 2rem;
  animation: fadeIn 0.5s ease;
}

.completion-screen h2 {
  font-size: 1.6rem;
  color: var(--success);
  margin-bottom: 1rem;
}

.completion-animation {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.completion-hexagon {
  width: 30px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--primary-pink));
  clip-path: polygon(50% -50%, 100% 50%, 50% 150%, 0 50%);
  animation: hexagonPop 0.6s ease;
}

.completion-hexagon:nth-child(2) { animation-delay: 0.1s; }
.completion-hexagon:nth-child(3) { animation-delay: 0.2s; }
.completion-hexagon:nth-child(4) { animation-delay: 0.3s; }
.completion-hexagon:nth-child(5) { animation-delay: 0.4s; }
.completion-hexagon:nth-child(6) { animation-delay: 0.5s; }

.completion-iframe {
  width: 100%;
  max-width: 600px;
  height: 450px;
  border: none;
  border-radius: 12px;
  margin: 1rem auto;
  box-shadow: var(--shadow);
}

.reset-btn {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.reset-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* About & Games List Pages */
.content-box {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: fadeIn 0.5s ease;
}

.content-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-text {
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.game-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.game-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
  padding: 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-item:hover {
  border-color: var(--primary-purple);
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.game-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.game-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.game-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.play-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: white;
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

/* Sound Toggle */
.sound-toggle {
  position: fixed;
  top: 0.3rem;
  right: 0.3rem;
  background: var(--bg-white);
  border: 2px solid var(--primary-purple);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.sound-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.sound-toggle.muted {
  background: #fee2e2;
  border-color: var(--error);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1.35);
  }
}

@keyframes hexagonPop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(360deg);
  }
}

/* Level Transition Animation */
@keyframes slideOutLeft {
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-out {
  animation: slideOutLeft 0.4s ease forwards;
}

.slide-in {
  animation: slideInRight 0.4s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .welcome-title {
    font-size: 2.5rem;
  }

  .welcome-subtitle {
    font-size: 1rem;
  }
  
  .hexagon-icon {
    width: 22px;
    height: 19px;
  }
  
  .nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .game-content {
    padding: 1.25rem;
  }
  
  .clue-title {
    font-size: 1.4rem;
  }
  
  .clue-text {
    font-size: 0.95rem;
  }
  
  .clue-image img {
    max-height: 250px;
  }
  
  .input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-direction: column;
  }
  
  .submit-btn {
    width: 100%;
  }

  .answer-section {
    padding: 1rem;
    min-height: 253px;
  }
  
  .progress-container {
    padding: 0.75rem 1rem;
  }
  
  .progress-dot {
    width: 14px;
    height: 12px;
  }
  
  .arrow-btn {
    width: 32px;
    height: 32px;
  }
  
  .content-box {
    padding: 1.5rem;
    max-height: 80vh;
  }
  
  .sound-toggle {
    width: 45px;
    height: 45px;
    top: 0.3rem;
    right: 0.3rem;
  }

  .modal-content {
      padding: 1.5rem;
      max-height: 85vh;
  }
    
  .modal-content h2 {
      font-size: 1.5rem;
  }
  
  .modal-content h3 {
      font-size: 1.1rem;
  }
    
  .modal-body {
      font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .top-nav {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .nav-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .welcome-title {
    font-size: 2.5rem;
  }
  
  .welcome-subtitle {
    font-size: 0.9rem;
  }
  
  .game-content {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .clue-title {
    font-size: 1.2rem;
  }
  
  .clue-text {
    font-size: 0.9rem;
  }
  
  .clue-image img {
    max-height: 240px;
    max-width: 100%;
  }
  
  .answer-input {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
  
  .submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .answer-section {
    padding: 0.75rem;
    min-height: 233px;
  }
  
  .extra-clue {
    font-size: 0.85rem;
    padding: 0.75rem;
  }
  
  .progress-container {
    gap: 0.5rem;
  }
  
  .progress-dot {
    width: 12px;
    height: 10px;
    gap: 4px;
  }
  
  .arrow-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .content-box {
    font-size: 0.9rem;
    max-height: 75vh;
  }

  .content-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .completion-screen h2 {
    font-size: 1.6rem;
  }
  
  .game-item {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .play-btn {
    width: 100%;
  }

  .sound-toggle {
    width: 35px;
    height: 35px;
    top: 0.3rem;
    right: 0.3rem;
  }

  .modal-content {
      padding: 1rem;
  }
   
  .modal-close {
      font-size: 1.5rem;
      width: 35px;
      height: 35px;
  }
}

/* Scrollbar Styling */
.game-list::-webkit-scrollbar {
  width: 8px;
}

.game-list::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

.game-list::-webkit-scrollbar-thumb {
  background: var(--primary-purple);
  border-radius: 4px;
}

.game-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Scrollbar Styling for content boxes */
.content-box::-webkit-scrollbar {
    width: 8px;
}

.content-box::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.content-box::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

.content-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Short screens (landscape tablets, small laptops) */
@media (max-height: 700px) and (min-width: 769px) {
    /* Shrink font sizes across the entire game screen */
    .game-screen {
        font-size: 0.85rem;  /* Base font size reduction */
    }
    
    .clue-title {
        font-size: 1.3rem;  /* Reduced from 1.8rem */
        margin-bottom: 0.5rem;
    }
    
    .clue-text {
        font-size: 0.9rem;  /* Reduced from 1.05rem */
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .answer-input {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
    
    .submit-btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.5rem;
    }
    
    .extra-clue {
        font-size: 0.85rem;
        padding: 0.75rem;
        min-height: 2.5rem;
    }
    
    .feedback-message {
        font-size: 0.85rem;
        padding: 0.6rem;
        min-height: 2.5rem;
    }
    
    /* Change game-content to 2-column layout */
    .game-content {
        flex-direction: row;  /* Change from column to row */
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Left column: title + text */
    .text-column {
        flex: 1;  /* Takes equal space */
        display: flex;
        flex-direction: column;
        justify-content: center;  /* Vertically center */
        align-items: center;  /* Horizontally center */
        overflow-y: auto;  /* Allow scrolling if text is too long */
        padding-right: 1rem;
    }
    
    /* Right column: image */
    .image-column {
        flex: 1;  /* Takes equal space */
        display: flex;
        justify-content: center;  /* Horizontally center */
        align-items: center;  /* Vertically center */
        overflow: hidden;  /* Prevent overflow */
    }
    
    .clue-image {
        width: 100%;
        height: 100%;
        max-height: none;  /* Remove previous max-height */
    }
    
    .clue-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;  /* Maintains aspect ratio */
    }
    
    /* Reduce progress container padding */
    .progress-container {
        padding: 0.75rem 1.5rem;
    }
    
    /* Reduce answer section spacing */
    .answer-section {
        padding: 1rem 1.5rem;
        min-height: 160px;
    }
    
    .input-group {
        margin-bottom: 0.75rem;
    }
}

/* Very short screens (< 600px height) */
@media (max-height: 600px) and (min-width: 769px) {
    .game-screen {
        font-size: 0.8rem;
    }
    
    .clue-title {
        font-size: 1.1rem;
    }
    
    .clue-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .game-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .progress-container {
        padding: 0.5rem 1rem;
    }
    
    .progress-dot {
        width: 12px;
        height: 10px;
    }
    
    .arrow-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .answer-section {
        padding: 0.75rem 1rem;
        min-height: 140px;
    }
}
