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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px;
    gap: 40px;
    width: 100%;
    max-width: 760px; /* 每个块最大宽度 */
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: 600;
}

h2 {
    font-size: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.highlight {
    color: #764ba2;
    font-weight: 600;
}

.emoji {
    font-size: 1.4em;
}


.btn {
    display: inline-block;
    background: linear-gradient(135deg, #f7c8e0, #b7d5ff);
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
  }
  
.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 200, 230, 0.7);
}

.game-lead {
    margin-bottom: 22px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.game-card {
    position: relative;
    display: grid;
    min-height: 176px;
    padding: 18px;
    border: 1px solid rgba(102, 126, 234, 0.18);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(247, 200, 224, 0.38));
    color: #333;
    text-align: left;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(183, 213, 255, 0.42);
}

.game-card-live:hover {
    transform: translateY(-4px);
    border-color: rgba(118, 75, 162, 0.36);
    box-shadow: 0 16px 34px rgba(102, 126, 234, 0.24);
}

.game-card-planned {
    opacity: 0.78;
}

.game-card-status,
.game-card-title,
.game-card-copy,
.game-card-action {
    position: relative;
    z-index: 1;
}

.game-card-status {
    width: fit-content;
    height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.12);
    color: #5b66c4;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-card-title {
    align-self: end;
    color: #45335f;
    font-size: 1.2rem;
    font-weight: 700;
}

.game-card-copy {
    min-height: 48px;
    color: #555;
    font-size: 0.98rem;
    line-height: 1.5;
}

.game-card-action {
    align-self: end;
    color: #764ba2;
    font-weight: 700;
}

@media (max-width: 520px) {
    .main-content {
        padding: 36px 14px;
        gap: 28px;
    }

    .welcome {
        padding: 42px 24px;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 154px;
    }
}

@media (max-width: 720px) and (min-width: 521px) {
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
