/* Gambito Puzzles — page-specific overrides */

/* Hero single phone showcase */
.hero-single-phone {
    display: flex;
    justify-content: center;
    margin: 2.5rem auto 1.5rem;
}

.hero-single-phone-frame {
    width: 240px;
    border-radius: 36px;
    overflow: hidden;
    border: 2px solid var(--accent);
    background: var(--secondary);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 48px -8px var(--accent);
    animation: phoneFloat 3.8s ease-in-out infinite;
    will-change: transform;
}

.hero-single-phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.25s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-single-phone-frame img.is-fading {
    opacity: 0;
}

@media (max-width: 520px) {
    .hero-single-phone-frame { width: 185px; }
}

/* Progress section — full-width three-column panel */
.progress-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
}

.progress-panel .rlp-item {
    padding: 2rem;
    border-right: 1px solid var(--glass-border);
}

.progress-panel .rlp-item:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .progress-panel { grid-template-columns: 1fr; }
    .progress-panel .rlp-item {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem;
    }
    .progress-panel .rlp-item:last-child { border-bottom: none; }
}

/* League badge strip */
.league-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.league-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.league-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.league-badge.league-wood   { border-color: rgba(121, 85, 72, 0.6);  color: #A1887F; }
.league-badge.league-stone  { border-color: rgba(120, 120, 120, 0.6); color: #B0BEC5; }
.league-badge.league-bronze { border-color: rgba(176, 141, 87, 0.6);  color: #CD9B3A; }
.league-badge.league-silver { border-color: rgba(176, 190, 197, 0.6); color: #CFD8DC; }
.league-badge.league-legend {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px -4px var(--accent);
}
