:root {
  --bg-page: #070910;
  --bg-elevated: #0b0e17;
  --bg-card: #111522;
  --accent: #6c5ce7;
  --accent-light: #8b7cf6;
  --accent-gradient: linear-gradient(90deg, #6c5ce7 0%, #5a4bd4 100%);
  --success: #35c99a;
  --danger: #ef5b6b;
  --text-primary: #f1f2f7;
  --text-muted: #8d94a8;
  --border-subtle: #252c40;
  --border-accent: rgba(108, 92, 231, 0.35);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 8px 24px rgba(108, 92, 231, 0.28);
}

body {
  margin: 0;
  padding: 24px 16px;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin: auto;
  padding: 30px 24px;
  background: var(--bg-elevated);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.game-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.game-info__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 14px;
}

.game-info__icon i {
  line-height: 1;
}

.game-info h2 {
  margin: 0;
  line-height: 1.25;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.badge {
  background-color: rgba(108, 92, 231, 0.15);
  color: var(--accent-light);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(108, 92, 231, 0.25);
  white-space: nowrap;
}

.play-btn {
  background: var(--accent-gradient);
  color: var(--text-primary);
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: filter 0.2s ease, transform 0.15s ease;
}

.play-btn:hover {
  filter: brightness(1.1);
}

/* Sadece mobil cihazlar için (768px ve altı) */
@media (max-width: 768px) {
  .play-btn {
    width: 100%;
  }
  .play-btn--in-step,
  .btn--in-step {
    width: 100%;
  }
}

/* Telefonlar için (600px ve altı) */
@media (max-width: 600px) {
  .container {
    padding: 24px 18px;
  }
  .game-info__icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
  .game-info h2 {
    font-size: 20px;
  }
  .instructions {
    margin-top: 24px;
  }
}

.description {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.instructions {
  margin-top: 30px;
}

.instructions h3 {
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.step {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.step.step-one {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.step-one__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.step-one .step-info {
  max-width: none;
  flex: 1;
  min-width: 0;
}

.step-one__foot {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.step-one__foot .step-action-wrap {
  margin-top: 0;
  width: 100%;
}

.step-one .play-btn--in-step,
.step-one .btn--in-step {
  width: 100%;
  display: block;
  line-height: 1.4;
  padding: 12px 18px;
  font-size: 15px;
  white-space: normal;
  text-align: center;
}

.step-info {
  display: flex;
  flex-direction: column;
  max-width: 87%;
}

.step-title {
  font-weight: 600;
  color: var(--text-primary);
}

.step-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

.step-reward {
  font-weight: bold;
  color: var(--accent-light);
}

.step-number {
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-light);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
  font-weight: bold;
  margin-right: 10px;
  border: 1px solid var(--border-accent);
  font-size: 12px;
}

.step-wrapper {
  display: flex;
  align-items: center;
}

.step-action-wrap {
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
}

.play-btn--in-step,
.btn--in-step {
  display: inline-block;
  margin-top: 0;
  align-self: flex-start;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
  background: var(--accent-gradient);
  color: var(--text-primary);
  border: none;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: filter 0.2s ease;
}

.play-btn--in-step:hover,
.btn--in-step:hover {
  filter: brightness(1.1);
}

.btn--close-page {
  cursor: pointer;
}

.btn {
  background: var(--accent-gradient);
  color: var(--text-primary);
  padding: 12px 28px;
  border: none;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  box-shadow: var(--shadow-accent);
  transition: filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.1);
}
