/* Basic Words & Vocabulary - japanese Learning Game */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --two-basic-word-primary-bg: #ffc62f;
  --two-basic-word-secondary-bg: #1e1e1e;
  --two-basic-word-inner-box: #fdf1cf;
  --two-basic-word-accent-bg: #4cd964;
  --two-basic-word-font-color: #1e1e1e;
  --two-basic-word-light-font: #ffffff;
  --two-basic-word-japanese-font: "Noto Sans", sans-serif;
  --two-basic-word-correct-color: #4cd964;
  --two-basic-word-incorrect-color: #ff6b6b;
  --two-basic-word-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --two-basic-word-border-radius: 15px;
  --two-basic-word-border-radius-sm: 12px;
  --two-basic-word-border-radius-xs: 8px;
}

/* ===== OVERLAY ===== */
.two-vocab-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(10px, 2vw, 20px);
  animation: twoFadeIn 0.4s ease-out;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

@keyframes twoFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTAINER ===== */
.two-vocab-container {
  background: var(--two-basic-word-primary-bg);
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  border-radius: var(--two-basic-word-border-radius);
  box-shadow: 0 25px 60px rgba(30, 30, 30, 0.3);
  animation: twoSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  border: 4px solid var(--two-basic-word-secondary-bg);
}

@keyframes twoSlideUp {
  from {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===== HEADER ===== */
.two-vocab-header {
  background: linear-gradient(45deg, #2ecc71 40%, #4cd964 40%, #2ecc71 61%);
  padding: clamp(15px, 3vw, 25px) clamp(20px, 4vw, 30px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 4px solid var(--two-basic-word-primary-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.two-vocab-title {
  color: var(--two-basic-word-light-font);
  font-size: clamp(20px, 4vw, 32px);
  margin: 0;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-family: var(--two-basic-word-japanese-font);
  flex: 1;
}

.two-vocab-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 2.5vw, 18px);
  margin: 5px 0 0 0;
  font-weight: 600;
  width: 100%;
}

.two-vocab-close-btn {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-secondary-bg);
  border: none;
  width: clamp(30px, 7vw, 40px);
  height: clamp(30px, 7vw, 40px);
  border-radius: 50%;
  font-size: clamp(16px, 3vw, 20px);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  /* position: absolute;
  top: 2px;
  right: 2px; */
  border: 3px solid var(--two-basic-word-primary-bg);
  font-weight: 800;
}

.two-vocab-close-btn:hover {
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-primary-bg);
  transform: rotate(90deg) scale(1.1);
}

/* ===== SCORE DASHBOARD ===== */
.two-vocab-score-dashboard {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(180px, 22vw, 240px), 1fr)
  );
  gap: clamp(15px, 3vw, 20px);
  padding: clamp(20px, 4vw, 30px);
  background: var(--two-basic-word-inner-box);
}

.two-vocab-score-card {
  background: var(--two-basic-word-primary-bg);
  padding: clamp(15px, 3vw, 20px);
  border-radius: var(--two-basic-word-border-radius);
  text-align: center;
  box-shadow: var(--two-basic-word-card-shadow);
  transition: all 0.3s;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-score-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.two-vocab-score-label {
  color: var(--two-basic-word-font-color);
  font-size: clamp(15px, 2vw, 15px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-score-label-english {
  color: #666;
  font-size: clamp(10px, 1.8vw, 12px);
  margin-bottom: 10px;
}

.two-vocab-score-value {
  color: var(--two-basic-word-font-color);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  margin: 10px 0;
}

.two-vocab-progress-bar {
  height: clamp(8px, 1.5vw, 10px);
  background: rgba(30, 30, 30, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 12px;
}

.two-vocab-progress-fill {
  height: 100%;
  background: var(--two-basic-word-secondary-bg);
  border-radius: 5px;
  transition: width 0.6s ease-out;
}

.two-vocab-total {
  background: var(--two-basic-word-primary-bg);
}

.two-vocab-total .two-vocab-progress-fill {
  background: linear-gradient(
    90deg,
    #ff6b6b,
    var(--two-basic-word-secondary-bg)
  );
}

.two-vocab-score-icon {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
  color: var(--two-basic-word-secondary-bg);
}

/* ===== LEARNING SECTIONS ===== */
.two-vocab-learning-sections {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(250px, 30vw, 300px), 1fr)
  );
  gap: clamp(15px, 3vw, 20px);
  padding: clamp(20px, 4vw, 30px);
  background: var(--two-basic-word-inner-box);
}

.two-vocab-section-card {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid var(--two-basic-word-secondary-bg);
  box-shadow: var(--two-basic-word-card-shadow);
}

.two-vocab-section-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    var(--two-basic-word-primary-bg) 0%,
    #ffd93d 100%
  );
}

.two-vocab-section-icon {
  font-size: clamp(32px, 6vw, 48px);
  margin-bottom: 15px;
  color: var(--two-basic-word-secondary-bg);
}

.two-vocab-section-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 5px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-section-subtitle {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0 0 10px 0;
  font-weight: 600;
}

.two-vocab-section-desc {
  color: #777;
  font-size: clamp(15px, 1.8vw, 15px);
  line-height: 1.5;
  margin: 2px 0px 15px 0px;
}

/* ===== GAME MENU ===== */
.two-vocab-game-menu {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(280px, 35vw, 350px), 1fr)
  );
  gap: clamp(20px, 4vw, 25px);
  padding: clamp(20px, 4vw, 30px);
  background: var(--two-basic-word-inner-box);
}

.two-vocab-game-card {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid var(--two-basic-word-secondary-bg);
  box-shadow: var(--two-basic-word-card-shadow);
}

.two-vocab-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.two-vocab-game-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 5px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-game-subtitle {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0 0 10px 0;
  font-weight: 600;
}

.two-vocab-game-desc {
  color: #777;
  font-size: clamp(12px, 1.8vw, 14px);
  line-height: 1.5;
  margin: 0 0 15px 0;
}

/* ===== BUTTON STYLES ===== */
.two-vocab-game-btn,
.two-vocab-speak-btn,
.two-vocab-audio-btn,
.two-vocab-sound-btn,
.two-vocab-submit-btn,
.two-vocab-answer-btn {
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-light-font);
  border: none;
  padding: clamp(10px, 2vw, 12px) clamp(25px, 4vw, 35px);
  border-radius: 25px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-game-btn:hover,
.two-vocab-speak-btn:hover,
.two-vocab-audio-btn:hover,
.two-vocab-sound-btn:hover,
.two-vocab-submit-btn:hover,
.two-vocab-answer-btn:hover {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-secondary-bg);
  transform: translateY(-2px);
}

.two-vocab-back-btn {
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-light-font);
  border: none;
  padding: clamp(12px, 2.5vw, 15px) clamp(30px, 5vw, 45px);
  border-radius: 25px;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  margin: 30px auto 0;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-back-btn:hover {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-secondary-bg);
  transform: translateY(-3px);
}

/* ===== CONTENT AREA ===== */
.two-vocab-content {
  padding: clamp(20px, 4vw, 30px);
  background: var(--two-basic-word-inner-box);
}

.two-vocab-info-card {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin-bottom: 20px;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-info-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 24px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-info-text {
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  margin-bottom: 20px;
}
.two-vocab-info-text-tree {
  text-align: center;
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== FACTS & TIPS ===== */
.two-vocab-facts,
.two-vocab-tips-box,
.two-vocab-learning-tips {
  background: var(--two-basic-word-inner-box);
  padding: clamp(15px, 3vw, 20px);
  border-radius: var(--two-basic-word-border-radius-sm);
  margin: 20px 0;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-learning-tips {
  background: var(--two-basic-word-primary-bg);
}

.two-vocab-facts-title,
.two-vocab-tips-title,
.two-vocab-section-heading,
.two-vocab-types-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}
.two-vocab-section-heading-tree {
  text-align: center;
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-facts-list,
.two-vocab-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.two-vocab-fact-item,
.two-vocab-tip {
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  margin: 10px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.two-vocab-fact-item::before,
.two-vocab-tip::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--two-basic-word-secondary-bg);
  font-size: 24px;
}

.two-vocab-tip-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(30, 30, 30, 0.2);
}

.two-vocab-tip-item:last-child {
  border-bottom: none;
}

.two-vocab-tip-item strong {
  color: var(--two-basic-word-font-color);
  font-size: clamp(14px, 2vw, 16px);
  display: block;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-tip-item p {
  color: #666;
  font-size: clamp(12px, 1.8vw, 14px);
  margin: 0;
}

/* ===== TYPES GRID ===== */
.two-vocab-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.two-vocab-type-card {
  background: var(--two-basic-word-inner-box);
  padding: 15px;
  border-radius: var(--two-basic-word-border-radius-xs);
  border: 2px solid var(--two-basic-word-secondary-bg);
  text-align: center;
}

.two-vocab-type-name {
  color: var(--two-basic-word-font-color);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-type-count {
  color: #666;
  font-size: clamp(12px, 1.8vw, 14px);
  margin-bottom: 10px;
}

.two-vocab-type-examples {
  color: var(--two-basic-word-font-color);
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 600;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-type-pronunciation {
  color: #666;
  font-size: clamp(11px, 1.4vw, 13px);
  margin-top: 5px;
  font-style: italic;
}

/* ===== WORDS GRID ===== */
.two-vocab-words-grid,
.two-vocab-numbers-grid,
.two-vocab-colors-grid,
.two-vocab-animals-grid,
.two-vocab-family-members-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(250px, 35vw, 300px), 1fr)
  );
  gap: clamp(15px, 3vw, 20px);
  margin: 20px 0;
}

.two-vocab-word-card,
.two-vocab-number-card,
.two-vocab-color-card,
.two-vocab-animal-card,
.two-vocab-family-card {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius-sm);
  padding: clamp(15px, 3vw, 20px);
  border: 3px solid var(--two-basic-word-secondary-bg);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two-vocab-word-card:hover,
.two-vocab-number-card:hover,
.two-vocab-color-card:hover,
.two-vocab-animal-card:hover,
.two-vocab-family-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.two-vocab-word-header,
.two-vocab-animal-header,
.two-vocab-family-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(30, 30, 30, 0.2);
}

.two-vocab-word-japanese,
.two-vocab-animal-japanese,
.two-vocab-family-japanese,
.two-vocab-number-japanese,
.two-vocab-color-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-animal-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0px;
}
.image-border {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-border img {
  width: 70px;
  height: 70px;
  z-index: 2;
}
.image-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--two-basic-word-incorrect-color);
  animation: rotate 15s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.two-vocab-word-english,
.two-vocab-animal-english,
.two-vocab-family-english,
.two-vocab-number-english,
.two-vocab-color-english {
  color: #666;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
}

.two-vocab-word-details,
.two-vocab-animal-details,
.two-vocab-family-details {
  margin-bottom: 15px;
}

.two-vocab-word-pronunciation,
.two-vocab-word-usage,
.two-vocab-word-example,
.two-vocab-animal-sound,
.two-vocab-animal-pronunciation,
.two-vocab-family-pronunciation,
.two-vocab-family-role,
.two-vocab-family-respect,
.two-vocab-number-pronunciation,
.two-vocab-number-example,
.two-vocab-color-pronunciation,
.two-vocab-color-example,
.two-vocab-color-objects {
  color: #444;
  font-size: clamp(13px, 2vw, 15px);
  margin: 8px 0;
  line-height: 1.5;
}

.two-vocab-word-pronunciation strong,
.two-vocab-word-usage strong,
.two-vocab-word-example strong,
.two-vocab-animal-sound strong,
.two-vocab-animal-pronunciation strong,
.two-vocab-family-pronunciation strong,
.two-vocab-family-role strong,
.two-vocab-family-respect strong,
.two-vocab-number-pronunciation strong,
.two-vocab-number-example strong,
.two-vocab-color-pronunciation strong,
.two-vocab-color-example strong,
.two-vocab-color-objects strong {
  color: var(--two-basic-word-font-color);
}

/* ===== CONVERSATION ===== */
.two-vocab-conversation-example,
.two-vocab-family-conversation {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-conversation-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-conversation-scenario {
  color: #666;
  font-size: clamp(16px, 2.5vw, 18px);
  margin: 0 0 15px 0;
  font-weight: 600;
}

.two-vocab-dialogue-box {
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: clamp(15px, 3vw, 20px);
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-dialogue-line {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(30, 30, 30, 0.2);
}

.two-vocab-dialogue-line:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.two-vocab-speaker {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  margin-bottom: 5px;
}

.two-vocab-dialogue-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-dialogue-english {
  color: #666;
  font-size: clamp(13px, 2vw, 15px);
  font-style: italic;
}

/* ===== PRACTICE SECTION ===== */
.two-vocab-practice-section {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-practice-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-practice-exercise,
.two-vocab-game-question,
.two-vocab-game-clue {
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: clamp(15px, 3vw, 20px);
  margin-bottom: 15px;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-practice-exercise p,
.two-vocab-game-question p,
.two-vocab-game-clue p {
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  margin: 10px 0;
  line-height: 1.5;
}

/* ===== STORY SECTION ===== */
.two-vocab-story-section {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-story-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-story-text {
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  margin-bottom: 15px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-story-moral {
  color: var(--two-basic-word-font-color);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  padding: 15px;
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  border-left: 4px solid var(--two-basic-word-secondary-bg);
}

/* ===== COLORS SPECIFIC ===== */
.two-vocab-color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 3px solid var(--two-basic-word-light-font);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.two-vocab-color-combinations,
.two-vocab-cultural-significance {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-combinations-list,
.two-vocab-significance-grid {
  display: grid;
  gap: 10px;
}

.two-vocab-combination {
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  padding: 10px 15px;
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  border-left: 4px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-significance-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.two-vocab-significance-card {
  background: var(--two-basic-word-primary-bg);
  padding: 15px;
  border-radius: var(--two-basic-word-border-radius-xs);
  border: 2px solid var(--two-basic-word-secondary-bg);
  text-align: center;
}

.two-vocab-significance-color {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-significance-meaning {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
}

/* ===== ANIMALS SPECIFIC ===== */
.two-vocab-animal-facts ul {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.two-vocab-fact {
  color: #444;
  font-size: clamp(12px, 1.8vw, 14px);
  margin: 5px 0;
  padding-left: 15px;
  position: relative;
}

.two-vocab-fact::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--two-basic-word-secondary-bg);
}

.two-vocab-animal-sounds {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-sounds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.two-vocab-sound-card {
  background: var(--two-basic-word-inner-box);
  padding: 15px;
  border-radius: var(--two-basic-word-border-radius-xs);
  border: 2px solid var(--two-basic-word-secondary-bg);
  text-align: center;
}

.two-vocab-sound-animal {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-sound-text {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: 10px;
  font-family: var(--two-basic-word-japanese-font);
}

/* ===== FAMILY TREE ===== */
.two-vocab-family-tree {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(20px, 4vw, 25px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-tree-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.two-vocab-tree-level {
  text-align: center;
  width: 100%;
}

.two-vocab-tree-title {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: 15px;
  font-weight: 600;
}

.two-vocab-tree-members {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.two-vocab-tree-member {
  background: var(--two-basic-word-inner-box);
  padding: 15px;
  border-radius: var(--two-basic-word-border-radius-xs);
  min-width: 120px;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-member-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-member-english {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
}

.two-vocab-tree-connector {
  width: 2px;
  height: 30px;
  margin: 20px auto;
  background: var(--two-basic-word-secondary-bg);
}

/* ===== GAME SPECIFIC STYLES ===== */

/* Game Progress & Stats */
.two-vocab-game-progress,
.two-vocab-game-stats {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-font-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 700;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-game-stats {
  display: flex;
  gap: 15px;
}

/* Game Content */
.two-vocab-game-content {
  padding: clamp(20px, 4vw, 30px);
  background: var(--two-basic-word-inner-box);
}

.two-vocab-game-instructions {
  background: var(--two-basic-word-inner-box);
  padding: clamp(15px, 3vw, 20px);
  border-radius: var(--two-basic-word-border-radius-sm);
  margin-bottom: 20px;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-game-instructions h3 {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0 0 10px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-game-instructions p {
  color: #444;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0;
  line-height: 1.5;
}

/* ===== MATCHING GAME STYLES ===== */
.two-vocab-blocks-container {
  /* display: flex; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;

  /* flex-wrap: wrap; */
}

.two-vocab-empty-blocks,
.two-vocab-options-blocks {
  flex: 1;
  min-width: 300px;
}

.two-vocab-block-placeholder {
  background: var(--two-basic-word-inner-box);
  border: 3px dashed var(--two-basic-word-secondary-bg);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: 27px;
  margin-bottom: 15px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 2vw, 16px);
  color: #666;
  transition: all 0.3s;
}
.two-vocab-dropped-word {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.two-vocab-block-placeholder.two-filled {
  background: var(--two-basic-word-primary-bg);
  border-color: var(--two-basic-word-secondary-bg);
  border-style: solid;
}

.two-vocab-placeholder-text {
  color: #999;
  font-style: italic;
}

.two-vocab-option-block {
  background: var(--two-basic-word-primary-bg);
  border: 2px solid var(--two-basic-word-secondary-bg);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: 15px;
  margin-bottom: 10px;
  cursor: grab;
  transition: all 0.3s;
  user-select: none;
  text-align: center;
}

.two-vocab-option-block img,
.two-vocab-option-block div {
  pointer-events: none;
}

.two-vocab-option-block:active {
  cursor: grabbing;
}

.two-vocab-option-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== LISTENING GAME STYLES ===== */
.two-vocab-listening-game {
  text-align: center;
}

.listen-image {
  border: 2px dashed red;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 10px auto;
}

.two-vocab-question {
  margin: 30px 0;
}

.two-vocab-question h3 {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 24px);
  margin: 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.two-vocab-option-card {
  background: var(--two-basic-word-primary-bg);
  padding: clamp(20px, 4vw, 25px);
  border-radius: var(--two-basic-word-border-radius-sm);
  cursor: pointer;
  border: 3px solid var(--two-basic-word-secondary-bg);
  transition: all 0.3s;
}

.two-vocab-option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.two-vocab-option-card.selected {
  background: var(--two-basic-word-inner-box);
  border-color: var(--two-basic-word-secondary-bg);
}

.two-vocab-option-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-option-english {
  color: #666;
  font-size: clamp(14px, 2vw, 16px);
}

/* ===== MEMORY GAME STYLES ===== */
.two-vocab-memory-board {
  margin: 30px 0;
}

.two-vocab-memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.two-vocab-memory-card {
  height: 150px;
  cursor: pointer;
  perspective: 1000px;
}

.two-vocab-memory-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.two-vocab-memory-card.flipped .two-vocab-memory-card-inner {
  transform: rotateY(180deg);
}

.two-vocab-memory-card-front,
.two-vocab-memory-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--two-basic-word-border-radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.two-vocab-memory-card-front {
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-light-font);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
}

.two-vocab-memory-card-back {
  background: var(--two-basic-word-primary-bg);
  transform: rotateY(180deg);
  border: 3px solid var(--two-basic-word-secondary-bg);
  flex-direction: column;
  padding: 10px;
}

.two-vocab-card-japanese {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: var(--two-basic-word-font-color);
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-card-english {
  font-size: clamp(14px, 2vw, 16px);
  color: #666;
}

.two-vocab-memory-card.matched .two-vocab-memory-card-back {
  background: var(--two-basic-word-inner-box);
  border-color: var(--two-basic-word-secondary-bg);
}

/* ===== ASSESSMENT STYLES ===== */
.two-vocab-assessment-question {
  background: var(--two-basic-word-primary-bg);
  padding: clamp(25px, 5vw, 30px);
  border-radius: var(--two-basic-word-border-radius);
  border: 3px solid var(--two-basic-word-secondary-bg);
  margin-bottom: 30px;
}

.two-vocab-question-text {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 24px);
  margin: 0 0 30px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-options-list {
  display: grid;
  gap: 15px;
}

.two-vocab-option-item {
  background: var(--two-basic-word-inner-box);
  padding: clamp(15px, 3vw, 20px);
  border-radius: var(--two-basic-word-border-radius-xs);
  cursor: pointer;
  border: 2px solid var(--two-basic-word-secondary-bg);
  transition: all 0.3s;
}

.two-vocab-option-item:hover {
  background: var(--two-basic-word-primary-bg);
  transform: translateX(5px);
}

.two-vocab-option-item.selected {
  background: var(--two-basic-word-primary-bg);
  border-color: var(--two-basic-word-secondary-bg);
}

.two-vocab-option-text {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 600;
}

/* ===== RESULTS SCREEN ===== */
.two-vocab-results-screen {
  text-align: center;
  padding: 40px;
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-results-title {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--two-basic-word-font-color);
  margin-bottom: 20px;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-results-score {
  font-size: clamp(48px, 8vw, 64px);
  font-weight: 800;
  color: var(--two-basic-word-secondary-bg);
  margin: 20px 0;
}

.two-vocab-results-message {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #666;
  margin-bottom: 30px;
}

.two-vocab-results-details {
  margin: 30px 0;
  text-align: left;
}

.two-vocab-results-details h3 {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  margin-bottom: 15px;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-results-list {
  display: grid;
  gap: 10px;
}

.two-vocab-result-item {
  background: var(--two-basic-word-inner-box);
  padding: 15px;
  border-radius: var(--two-basic-word-border-radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-result-item.correct {
  border-left-color: var(--two-basic-word-correct-color);
}

.two-vocab-result-item.incorrect {
  border-left-color: var(--two-basic-word-incorrect-color);
}

/* ===== FEEDBACK ===== */
.two-vocab-game-feedback,
.two-vocab-feedback {
  margin: 20px 0;
  padding: 15px;
  border-radius: var(--two-basic-word-border-radius-xs);
  text-align: center;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 16px);
}

.two-vocab-correct {
  background: #55a963;
  padding: 4px;
  color: #ffffff;
  border: 2px solid var(--two-basic-word-correct-color);
}

.two-vocab-incorrect {
  background: rgba(255, 107, 107, 0.2);
  color: #c62828;
  border: 2px solid var(--two-basic-word-incorrect-color);
}

/* ===== GAME CONTROLS ===== */
.two-vocab-game-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.two-vocab-game-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.two-vocab-submit-btn {
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-light-font);
}

.two-vocab-submit-btn:hover:not(:disabled) {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-secondary-bg);
}

/* ===== TOAST NOTIFICATIONS ===== */
.two-vocab-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-light-font);
  padding: clamp(15px, 3vw, 20px) clamp(25px, 5vw, 35px);
  border-radius: var(--two-basic-word-border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  min-width: clamp(250px, 40vw, 400px);
  max-width: 90vw;
  border: 3px solid var(--two-basic-word-primary-bg);
  font-family: var(--two-basic-word-japanese-font);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
}

.two-vocab-toast-show {
  bottom: clamp(20px, 4vw, 40px);
  opacity: 1;
}

.two-vocab-toast-content {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 15px);
}

.two-vocab-toast-icon {
  width: clamp(35px, 6vw, 45px);
  height: clamp(35px, 6vw, 45px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid var(--two-basic-word-light-font);
}

.two-vocab-toast-message {
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.two-vocab-toast-success {
  background: linear-gradient(135deg, #4cd964 0%, #2ecc71 100%);
}

.two-vocab-toast-error {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
}

.two-vocab-toast-warning {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-font-color);
}

.two-vocab-toast-warning .two-vocab-toast-icon {
  color: var(--two-basic-word-font-color);
  border-color: var(--two-basic-word-font-color);
}

.two-vocab-toast-info {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* ===== CONFETTI ===== */
.two-vocab-confetti {
  position: fixed;
  width: 15px;
  height: 15px;
  background: var(--two-basic-word-primary-bg);
  border-radius: 50%;
  animation: twoConfettiFall 3s linear forwards;
  z-index: 10000;
}

@keyframes twoConfettiFall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ===== EXPANDED INTRODUCTION STYLES ===== */
.two-vocab-examples-section,
.two-vocab-basics-section {
  margin: 20px 0;
}

.two-vocab-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 15px;
  margin: 15px 0;
  width: 100%;
  box-sizing: border-box;
}

.two-vocab-example-card {
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: clamp(12px, 2vw, 16px);
  border: 2px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.two-vocab-example-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
  word-break: break-word;
  overflow-wrap: break-word;
}

.two-vocab-example-english {
  color: #666;
  font-size: clamp(14px, 1.8vw, 16px);
  margin-bottom: 5px;
  font-weight: 600;
  word-break: break-word;
}

.two-vocab-example-pronunciation {
  color: var(--two-basic-word-incorrect-color);
  font-size: clamp(13px, 1.6vw, 15px);
  font-style: italic;
  margin-bottom: 5px;
  word-break: break-word;
}

.two-vocab-example-meaning {
  color: #555;
  font-size: clamp(12px, 1.6vw, 14px);
  border-top: 1px solid rgba(30, 30, 30, 0.2);
  padding-top: 8px;
  margin-top: 8px;
  word-break: break-word;
}

/* Basics Grid */
.two-vocab-basics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 15px;
  margin: 15px 0;
  width: 100%;
  box-sizing: border-box;
}

.two-vocab-basic-card {
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: clamp(12px, 2vw, 16px);
  border: 2px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.two-vocab-basic-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--two-basic-word-japanese-font);
  word-break: break-word;
}

.two-vocab-basic-description {
  color: #555;
  font-size: clamp(13px, 1.6vw, 15px);
  margin-bottom: 10px;
  line-height: 1.4;
  word-break: break-word;
}

.two-vocab-basic-example {
  background: var(--two-basic-word-primary-bg);
  padding: 6px 10px;
  border-radius: var(--two-basic-word-border-radius-xs);
  border-left: 3px solid var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-font-color);
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 15px);
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Conversations Section */
.two-vocab-conversations-section {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.two-vocab-conversations-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 0 0 12px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
  word-break: break-word;
}

.two-vocab-dialogue-item {
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: clamp(12px, 2vw, 15px);
  margin-bottom: 10px;
  border-left: 4px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.two-vocab-dialogue-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-basic-word-japanese-font);
  word-break: break-word;
  overflow-wrap: break-word;
}

.two-vocab-dialogue-english {
  color: #666;
  font-size: clamp(13px, 1.6vw, 15px);
  margin-bottom: 5px;
  font-weight: 600;
  word-break: break-word;
}

.two-vocab-dialogue-pronunciation {
  color: var(--two-basic-word-incorrect-color);
  font-size: clamp(12px, 1.5vw, 14px);
  font-style: italic;
  padding-left: 20px;
  position: relative;
  word-break: break-word;
  margin-top: 8px;
}

.two-vocab-dialogue-pronunciation::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}

/* Practice Exercises */
.two-vocab-practice-exercises {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius);
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.two-vocab-exercise-item {
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  padding: clamp(12px, 2vw, 15px);
  margin-bottom: 12px;
  border: 2px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.two-vocab-exercise-question {
  color: var(--two-basic-word-font-color);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--two-basic-word-japanese-font);
  word-break: break-word;
}

.two-vocab-exercise-text {
  background: var(--two-basic-word-primary-bg);
  padding: 10px;
  border-radius: var(--two-basic-word-border-radius-xs);
  border-left: 4px solid var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-font-color);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--two-basic-word-japanese-font);
  word-break: break-word;
  overflow-wrap: break-word;
}

.two-vocab-exercise-hint {
  color: #666;
  font-size: clamp(13px, 1.6vw, 15px);
  font-style: italic;
  padding: 6px 10px;
  background: var(--two-basic-word-inner-box);
  border-radius: var(--two-basic-word-border-radius-xs);
  border-left: 3px solid var(--two-basic-word-secondary-bg);
  word-break: break-word;
}

/* Speak buttons for examples */
.two-vocab-example-speak-btn {
  background: var(--two-basic-word-secondary-bg);
  color: var(--two-basic-word-light-font);
  border: none;
  padding: clamp(6px, 1.2vw, 8px) clamp(10px, 2vw, 15px);
  border-radius: 15px;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
  display: inline-block;
  min-height: 36px;
  text-align: center;
  box-sizing: border-box;
  word-break: keep-all;
  white-space: nowrap;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-example-speak-btn:hover {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-secondary-bg);
  transform: translateY(-2px);
}

/* Prevent horizontal overflow */
.two-vocab-info-card,
.two-vocab-section,
.two-vocab-content {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .two-vocab-examples-grid,
  .two-vocab-basics-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  }

  .two-vocab-types-grid,
  .two-vocab-significance-grid,
  .two-vocab-sounds-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .two-vocab-score-dashboard {
    grid-template-columns: 1fr;
  }

  .two-vocab-learning-sections,
  .two-vocab-game-menu {
    grid-template-columns: 1fr;
  }

  .two-vocab-words-grid,
  .two-vocab-numbers-grid,
  .two-vocab-colors-grid,
  .two-vocab-animals-grid,
  .two-vocab-family-members-grid {
    grid-template-columns: 1fr;
  }

  .two-vocab-examples-grid,
  .two-vocab-basics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .two-vocab-tree-members {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* .two-vocab-blocks-container {
    flex-direction: column;
  } */

  .two-vocab-empty-blocks,
  .two-vocab-options-blocks {
    width: 100%;
    min-width: 100%;
  }

  .two-vocab-game-controls {
    flex-direction: column;
  }

  .two-vocab-game-btn {
    width: 100%;
  }

  .two-vocab-memory-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-vocab-memory-card {
    height: 120px;
  }

  .two-vocab-conversations-section,
  .two-vocab-practice-exercises {
    padding: 15px;
    margin: 15px 0;
  }

  .two-vocab-example-speak-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    white-space: normal;
  }

  .two-vocab-example-card,
  .two-vocab-basic-card,
  .two-vocab-dialogue-item,
  .two-vocab-exercise-item {
    padding: 12px;
  }

  .two-vocab-types-grid,
  .two-vocab-significance-grid,
  .two-vocab-sounds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .two-vocab-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .two-vocab-memory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-vocab-memory-card {
    height: 100px;
  }

  .two-vocab-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-vocab-examples-grid,
  .two-vocab-basics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-vocab-conversations-section,
  .two-vocab-practice-exercises {
    padding: 12px;
    margin: 12px 0;
  }

  .two-vocab-example-card,
  .two-vocab-basic-card,
  .two-vocab-dialogue-item,
  .two-vocab-exercise-item {
    padding: 10px;
    margin-bottom: 10px;
  }

  .two-vocab-exercise-text {
    padding: 8px;
    font-size: 14px;
  }

  .two-vocab-example-speak-btn {
    padding: 10px 15px;
    font-size: 13px;
    min-height: 40px;
  }

  /* Prevent text overflow on very small screens */
  .two-vocab-example-japanese,
  .two-vocab-dialogue-japanese,
  .two-vocab-exercise-text {
    font-size: 14px;
    line-height: 1.3;
  }

  .two-vocab-example-english,
  .two-vocab-dialogue-english {
    font-size: 12px;
  }

  .two-vocab-types-grid,
  .two-vocab-significance-grid,
  .two-vocab-sounds-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-vocab-game-stats {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

/* Very small screens (under 320px) */
@media (max-width: 320px) {
  .two-vocab-examples-grid,
  .two-vocab-basics-grid {
    gap: 8px;
  }

  .two-vocab-example-card,
  .two-vocab-basic-card,
  .two-vocab-dialogue-item,
  .two-vocab-exercise-item {
    padding: 8px;
  }

  .two-vocab-example-japanese,
  .two-vocab-dialogue-japanese {
    font-size: 13px;
  }

  .two-vocab-example-speak-btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  .two-vocab-memory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .two-vocab-memory-card {
    height: 90px;
  }

  .two-vocab-card-japanese {
    font-size: 14px;
  }

  .two-vocab-card-english {
    font-size: 12px;
  }
}

/* Ensure no horizontal scroll on any screen */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Fix for long japanese words */
.two-vocab-japanese-font {
  hyphens: auto;
  word-break: break-word;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  .two-vocab-section-card:hover,
  .two-vocab-game-card:hover,
  .two-vocab-word-card:hover,
  .two-vocab-option-card:hover,
  .two-vocab-option-block:hover,
  .two-vocab-option-item:hover,
  .two-vocab-score-card:hover {
    transform: none;
    box-shadow: var(--two-basic-word-card-shadow);
  }

  .two-vocab-game-btn:hover,
  .two-vocab-speak-btn:hover,
  .two-vocab-back-btn:hover,
  .two-vocab-example-speak-btn:hover {
    transform: none;
  }

  .two-vocab-close-btn:hover {
    transform: none;
  }
}

/* -------------------- greeting section ----------  */

/* ===== EXPANDED GREETINGS STYLES ===== */
:root {
  --two-basic-word-primary-bg: #ffc62f;
  --two-basic-word-secondary-bg: #1e1e1e;
  --two-basic-word-card-bg: white;
  --two-basic-word-text-color: #1e1e1e;
  --two-basic-word-accent-color: #4cd964;
}

/* Category Sections */
.two-vocab-category-section {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-vocab-border-radius);
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-category-title {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-vocab-japanese-font);
  border-bottom: 2px solid rgba(30, 30, 30, 0.2);
  padding-bottom: 8px;
}

/* Words Grid - Responsive */
.two-vocab-words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 15px;
  margin: 15px 0;
  width: 100%;
  box-sizing: border-box;
}

.two-vocab-word-card {
  background: var(--two-basic-word-card-bg);
  border-radius: 12px;
  padding: clamp(15px, 3vw, 20px);
  border: 3px solid var(--two-basic-word-secondary-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two-vocab-word-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.two-vocab-word-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 198, 47, 0.3);
}

.two-vocab-word-japanese {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 800;
  font-family: var(--two-vocab-japanese-font);
  word-break: break-word;
}

.two-vocab-word-english {
  color: #666;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  word-break: break-word;
}

.two-vocab-word-details {
  margin-bottom: 15px;
}

.two-vocab-word-pronunciation,
.two-vocab-word-usage,
.two-vocab-word-time,
.two-vocab-word-response,
.two-vocab-word-example {
  color: #444;
  font-size: clamp(13px, 1.6vw, 15px);
  margin: 6px 0;
  line-height: 1.4;
  word-break: break-word;
}

.two-vocab-word-pronunciation strong,
.two-vocab-word-usage strong,
.two-vocab-word-time strong,
.two-vocab-word-response strong,
.two-vocab-word-example strong {
  color: var(--two-basic-word-secondary-bg);
}

/* Speak Button with custom colors */
.two-vocab-speak-btn {
  background: var(--two-basic-word-secondary-bg);
  color: white !important;
  border: none;
  padding: clamp(8px, 1.5vw, 10px) clamp(15px, 3vw, 20px);
  border-radius: 20px;
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.two-vocab-speak-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 30, 30, 0.2);
}

/* Mini Conversations */
.two-vocab-mini-conversation {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: clamp(12px, 2.5vw, 15px);
  margin-top: 15px;
  border: 2px solid var(--two-basic-word-accent-color);
}

/* Cultural Notes */
.two-vocab-cultural-notes {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
  border-radius: var(--two-vocab-border-radius);
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-primary-bg);
}

.two-vocab-cultural-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 15px;
  margin-top: 15px;
}

.two-vocab-cultural-card {
  background: white;
  border-radius: 10px;
  padding: clamp(12px, 2vw, 15px);
  border: 2px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
}

.two-vocab-cultural-title {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--two-vocab-japanese-font);
  word-break: break-word;
}

.two-vocab-cultural-desc {
  color: #555;
  font-size: clamp(13px, 1.6vw, 15px);
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: break-word;
}

.two-vocab-cultural-english {
  color: #666;
  font-size: clamp(12px, 1.5vw, 14px);
  font-style: italic;
  border-top: 1px solid rgba(30, 30, 30, 0.1);
  padding-top: 8px;
  word-break: break-word;
}

/* Conversation Cards */
.two-vocab-conversation-example {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-radius: var(--two-vocab-border-radius);
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-accent-color);
}

.two-vocab-conversation-card {
  background: white;
  border-radius: 12px;
  padding: clamp(15px, 3vw, 20px);
  margin-bottom: 15px;
  border: 2px solid var(--two-basic-word-primary-bg);
  box-sizing: border-box;
  width: 100%;
}

.two-vocab-conversation-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 198, 47, 0.3);
}

.two-vocab-conversation-scenario {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--two-vocab-japanese-font);
}

.two-vocab-context {
  color: #666;
  font-size: clamp(13px, 1.6vw, 15px);
  font-style: italic;
}

/* Practice Scenarios */
.two-vocab-practice-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #e8eaf6 100%);
  border-radius: var(--two-vocab-border-radius);
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 3px solid var(--two-basic-word-accent-color);
}

.two-vocab-scenarios-list {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.two-vocab-scenario-card {
  background: white;
  border-radius: 10px;
  padding: clamp(12px, 2vw, 15px);
  border: 2px solid var(--two-basic-word-secondary-bg);
  box-sizing: border-box;
  width: 100%;
}

.two-vocab-scenario-question {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(14px, 1.8vw, 16px);
  margin-bottom: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.two-vocab-options-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.two-vocab-option-item {
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #ddd;
  transition: all 0.3s;
  word-break: break-word;
}

.two-vocab-option-item:hover {
  background: #e8f5e8;
  border-color: var(--two-basic-word-accent-color);
}

.two-vocab-option-item.selected {
  background: #e8f5e8;
  border-color: var(--two-basic-word-accent-color);
}

.two-vocab-correct-option {
  border-color: var(--two-basic-word-accent-color);
  background: rgba(76, 217, 100, 0.1);
}

.two-vocab-wrong-option {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.two-vocab-option-text {
  color: #333;
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 500;
}

/* Answer Button with custom colors */
.two-vocab-answer-btn {
  background: var(--two-basic-word-secondary-bg);
  color: white !important;
  border: none;
  padding: clamp(8px, 1.5vw, 10px) clamp(15px, 3vw, 20px);
  border-radius: 20px;
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.two-vocab-answer-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 30, 30, 0.2);
}

/* Back Button with custom colors */
.two-vocab-back-btn {
  background: var(--two-basic-word-secondary-bg);
  color: white !important;
  border: none;
  padding: clamp(12px, 2.5vw, 15px) clamp(30px, 5vw, 45px);
  border-radius: 25px;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  margin: 30px auto 0;
  text-align: center;
  width: fit-content;
  min-width: 200px;
}

.two-vocab-back-btn:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .two-vocab-words-grid,
  .two-vocab-cultural-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  }
}

@media (max-width: 768px) {
  .two-vocab-words-grid,
  .two-vocab-cultural-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .two-vocab-category-section,
  .two-vocab-cultural-notes,
  .two-vocab-conversation-example,
  .two-vocab-practice-section {
    padding: 15px;
    margin: 15px 0;
  }

  .two-vocab-word-card,
  .two-vocab-cultural-card,
  .two-vocab-conversation-card,
  .two-vocab-scenario-card {
    padding: 12px;
  }

  .two-vocab-speak-btn,
  .two-vocab-answer-btn {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .two-vocab-words-grid,
  .two-vocab-cultural-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .two-vocab-category-section,
  .two-vocab-cultural-notes,
  .two-vocab-conversation-example,
  .two-vocab-practice-section {
    padding: 12px;
    margin: 12px 0;
  }

  .two-vocab-word-card,
  .two-vocab-cultural-card,
  .two-vocab-conversation-card,
  .two-vocab-scenario-card {
    padding: 10px;
  }

  .two-vocab-word-japanese,
  .two-vocab-conversation-scenario {
    font-size: 16px;
  }

  .two-vocab-word-english {
    font-size: 14px;
  }

  .two-vocab-speak-btn,
  .two-vocab-answer-btn {
    padding: 10px 15px;
    font-size: 13px;
    min-height: 40px;
  }

  .two-vocab-back-btn {
    min-width: 180px;
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* Prevent overflow */
.two-vocab-content,
.two-vocab-section,
.two-vocab-info-card {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Fix long japanese words */
.two-vocab-japanese-font {
  hyphens: auto;
  word-break: break-word;
}

/* ------------- for other style ----------  */

/* ===== UNIFIED CARD STYLES ===== */
.two-vocab-number-card,
.two-vocab-color-card,
.two-vocab-animal-card,
.two-vocab-family-card {
  background: var(--two-basic-word-primary-bg);
  border-radius: var(--two-basic-word-border-radius-sm);
  padding: clamp(15px, 3vw, 20px);
  border: 3px solid var(--two-basic-word-secondary-bg);
  transition: all 0.3s;
  margin-bottom: 0;
}

.two-vocab-number-card:hover,
.two-vocab-color-card:hover,
.two-vocab-animal-card:hover,
.two-vocab-family-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== CARD HEADERS ===== */
.two-vocab-number-header,
.two-vocab-color-header,
.two-vocab-animal-header,
.two-vocab-family-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(30, 30, 30, 0.2);
}

.two-vocab-number-numeral {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--two-basic-word-secondary-bg);
  background: var(--two-basic-word-inner-box);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--two-basic-word-secondary-bg);
}

/* ===== CARD DETAILS ===== */
.two-vocab-number-details,
.two-vocab-color-details,
.two-vocab-animal-details,
.two-vocab-family-details {
  margin-bottom: 15px;
}

/* ===== UNIFIED TEXT STYLES ===== */
.two-vocab-number-japanese,
.two-vocab-color-japanese,
.two-vocab-animal-japanese,
.two-vocab-family-japanese {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

.two-vocab-number-english,
.two-vocab-color-english,
.two-vocab-animal-english,
.two-vocab-family-english {
  color: #666;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
}

.two-vocab-number-pronunciation,
.two-vocab-number-usage,
.two-vocab-number-example,
.two-vocab-color-pronunciation,
.two-vocab-color-example,
.two-vocab-color-objects,
.two-vocab-animal-sound,
.two-vocab-animal-pronunciation,
.two-vocab-animal-facts,
.two-vocab-family-pronunciation,
.two-vocab-family-role,
.two-vocab-family-respect {
  color: #444;
  font-size: clamp(13px, 2vw, 15px);
  margin: 8px 0;
  line-height: 1.5;
}

.two-vocab-number-pronunciation strong,
.two-vocab-number-usage strong,
.two-vocab-number-example strong,
.two-vocab-color-pronunciation strong,
.two-vocab-color-example strong,
.two-vocab-color-objects strong,
.two-vocab-animal-sound strong,
.two-vocab-animal-pronunciation strong,
.two-vocab-animal-facts strong,
.two-vocab-family-pronunciation strong,
.two-vocab-family-role strong,
.two-vocab-family-respect strong {
  color: var(--two-basic-word-font-color);
}

/* ===== GRID LAYOUTS ===== */
.two-vocab-numbers-grid,
.two-vocab-colors-grid,
.two-vocab-animals-grid,
.two-vocab-family-members-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(250px, 35vw, 300px), 1fr)
  );
  gap: clamp(15px, 3vw, 20px);
  margin: 20px 0;
}

/* ===== ADDITIONAL COMPONENTS ===== */
.two-vocab-animals-category {
  margin-bottom: 30px;
}

.two-vocab-category-title {
  color: var(--two-basic-word-font-color);
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 15px 0;
  font-weight: 800;
  font-family: var(--two-basic-word-japanese-font);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .two-vocab-numbers-grid,
  .two-vocab-colors-grid,
  .two-vocab-animals-grid,
  .two-vocab-family-members-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .two-vocab-number-header,
  .two-vocab-color-header,
  .two-vocab-animal-header,
  .two-vocab-family-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .two-vocab-number-numeral {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .two-vocab-number-card,
  .two-vocab-color-card,
  .two-vocab-animal-card,
  .two-vocab-family-card {
    padding: 12px;
  }

  .two-vocab-number-japanese,
  .two-vocab-color-japanese,
  .two-vocab-animal-japanese,
  .two-vocab-family-japanese {
    font-size: 16px;
  }

  .two-vocab-number-english,
  .two-vocab-color-english,
  .two-vocab-animal-english,
  .two-vocab-family-english {
    font-size: 14px;
  }

  .two-vocab-number-pronunciation,
  .two-vocab-color-pronunciation,
  .two-vocab-animal-pronunciation,
  .two-vocab-family-pronunciation {
    font-size: 12px;
  }
}

/* ======== help section styles ======== */

/* ===== HELP SECTION STYLES ===== */
.two-vocab-help-container {
  max-width: 800px;
}

.two-vocab-help-content {
  padding: clamp(20px, 4vw, 30px);
}

.two-vocab-help-issue {
  background: white;
  border-radius: 12px;
  padding: clamp(15px, 3vw, 20px);
  margin-bottom: 15px;
  border: 3px solid var(--two-basic-word-secondary-bg);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.3s;
}

.two-vocab-help-issue:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.two-vocab-help-number {
  background: var(--two-basic-word-primary-bg);
  color: var(--two-basic-word-secondary-bg);
  width: clamp(35px, 6vw, 45px);
  height: clamp(35px, 6vw, 45px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid var(--two-basic-word-secondary-bg);
}

.two-vocab-help-text {
  flex: 1;
}

.two-vocab-help-text h4 {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 0 0 8px 0;
  font-weight: 700;
}

.two-vocab-help-text p {
  color: #555;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
  margin: 0;
}

.two-vocab-help-tips {
  background: var(--two-basic-word-inner-box);
  border-radius: 12px;
  padding: clamp(15px, 3vw, 20px);
  margin: 20px 0;
  border: 2px solid var(--two-basic-word-accent-color);
}

.two-vocab-help-tips h3 {
  color: var(--two-basic-word-secondary-bg);
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.two-vocab-help-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.two-vocab-help-tips-list li {
  color: #555;
  font-size: clamp(14px, 1.8vw, 16px);
  margin: 8px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.4;
}

.two-vocab-help-tips-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--two-basic-word-accent-color);
  font-weight: 800;
  font-size: 16px;
}

/* Responsive adjustments for help section */
@media (max-width: 768px) {
  .two-vocab-help-issue {
    flex-direction: column;
    gap: 10px;
  }

  .two-vocab-help-number {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .two-vocab-help-content {
    padding: 15px;
  }

  .two-vocab-help-issue {
    padding: 12px;
  }
}

/* ======== help section styles end ======== */
