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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #74b9ff, #0984e3, #6c5ce7);
  min-height: 100vh;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2d3436;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ข้อความแนะนำ */
.instructions {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #667eea;
}

.instructions p {
  font-size: 18px;
  color: #2c3e50;
  line-height: 1.8;
  font-weight: 500;
  margin: 0;
}

.video-container {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.video-container iframe {
  border-radius: 10px;
}

.norwegian {
  font-size: 20px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.6;
}

.word {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: all 0.2s;
  display: inline-block;
}

.word:hover {
  background: #fff3cd;
  transform: translateY(-2px);
}

.pronunciation {
  color: #17a2b8;
  font-size: 20px;
  margin-top: 5px;
  font-style: italic;
}

.thai {
  color: #6c757d;
  font-size: 20px;
  margin-top: 8px;
}

.conversation-item {
  background: white;
  padding: 24px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.conversation-item:hover {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  transform: scale(1.01);
}

.sound-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sound-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.sound-button:active {
  transform: scale(0.95);
}

.sound-icon {
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/></svg>') center/contain no-repeat;
}

/* Responsive */
@media (max-width: 768px) {
  .instructions {
    padding: 15px 20px;
  }

  .instructions p {
    font-size: 16px;
  }

  .sound-button {
    width: 50px;
    height: 50px;
  }

  .sound-icon {
    width: 20px;
    height: 20px;
  }

  .norwegian {
    font-size: 18px;
  }

  .pronunciation,
  .thai {
    font-size: 18px;
  }
}