/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
}

.header__controls {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* Карта островов */
.islands-map {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.islands-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.islands-bg__grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 221, 112, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 221, 112, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.islands-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
}

/* Остров */
.island {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.island__icon {
  font-size: 48px;
  flex-shrink: 0;
}

.island__info {
  flex: 1;
}

.island__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.island__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.island__state {
  font-size: 32px;
  flex-shrink: 0;
}

/* Состояния острова */
.island--locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.island--locked:hover {
  transform: none;
  border-color: var(--color-border);
}

.island--available {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(0, 221, 112, 0.2);
}

.island--available:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 221, 112, 0.3);
}

.island--completed {
  border-color: rgba(0, 221, 112, 0.5);
}

.island--completed:hover {
  transform: translateY(-2px);
}

/* Контент острова */
.island-view {
  padding: var(--space-lg);
}

.island-view__header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.island-view__icon {
  font-size: 64px;
}

.island-view__title h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.island-view__title p {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.reward-badge {
  background: rgba(0, 221, 112, 0.1);
  border: 1px solid rgba(0, 221, 112, 0.3);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-left: auto;
}

/* Текст */
.txt--lg {
  font-size: 18px;
  line-height: 1.6;
}

.txt--md {
  font-size: 16px;
  line-height: 1.6;
}

.txt--sm {
  font-size: 14px;
  line-height: 1.5;
}
