.game-detail {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #fff;

  &__loading,
  &__error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #999;
  }

  &__cover {
    position: relative;
    width: 100%;
    height: 220px;
  }

  &__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &__info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
  }

  &__title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
  }

  &__meta {
    display: flex;
    margin-bottom: 8px;
  }

  &__players,
  &__time {
    font-size: 14px;
    margin-right: 16px;
  }

  &__rating {
    display: flex;
    align-items: center;
  }

  &__star {
    font-size: 16px;
    color: #ccc;
    margin-right: 2px;

    &--active {
      color: #ff9900;
    }
  }

  &__rating-value {
    font-size: 14px;
    margin-left: 4px;
  }

  &__content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
  }

  &__tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  &__tag {
    font-size: 12px;
    color: #4285f4;
    background-color: rgba(66, 133, 244, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
  }

  &__section {
    margin-bottom: 24px;
  }

  &__section-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    display: block;
  }

  &__description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
  }

  &__rules {
    margin-top: 8px;
  }

  &__rule-item {
    display: flex;
    margin-bottom: 8px;
  }

  &__rule-step {
    flex-shrink: 0;
    width: 20px;
    font-size: 14px;
    color: #4285f4;
    font-weight: 500;
  }

  &__rule-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
  }

  &__example {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px;
  }

  &__example-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;

    &:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
  }

  &__example-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
  }

  &__example-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: block;
  }

  &__example-answer {
    font-size: 14px;
    color: #4285f4;
    margin-top: 4px;
    display: block;
  }

  &__footer {
    display: flex;
    padding: 16px;
    border-top: 1px solid #eee;
  }

  &__share-btn,
  &__create-btn {
    flex: 1;
  }

  &__share-btn {
    margin-right: 8px;
  }
} 