/* === HERO LAYOUTS === */

.arena-ticker {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0.5rem 1rem;
    background-color: #FCDC73;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.arena-ticker::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.2), transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

.arena-ticker > * {
    position: relative;
    z-index: 1;
}

.arena-ticker .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

/* Header */
.header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.title-link {
    display: contents;
    text-decoration: none;
}

#logoCanvas {
    max-width: 120px;
    max-height: 120px;
}

.title-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.arena-ticker h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    background: linear-gradient(90deg, #6E0D25 0%, #B20D30 100%);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.subtitle {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #FFD700;
    background: #6C169C;
    padding: 2px 14px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle-demo {
    color: #000;
    background: #f3b93c;
}

/* Content */
.content-wrapper {
    display: flex;
    flex-direction: column;
}

.hall-title {
    margin-bottom: 16px;
}

.hall-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.hall-buttons img {
    border-radius: 8px;
}

.winner-images {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 2px solid #6E0D25;
}

.winner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.winner img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.winner-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.content-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 24px 0;
}

.cta-btn {
    display: inline-block;
    margin: 16px 0;
}

/* === HERO CTA BUTTON STYLES === */

.arena-ticker a.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    background-color: var(--primary-gold);
}

.arena-ticker a.cta-btn span {
    font-family: 'Industry', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 1rem;
    text-transform: uppercase;
    color: inherit;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

.arena-ticker a.cta-btn span::after {
    content: "\203A";
    margin-left: 6px;
    font-size: 1.4rem;
    line-height: 0;
    transition: transform 0.3s ease;
    display: inline-block;
}

.arena-ticker a.cta-btn:hover {
    background-color: #FCEFF9;
    color: var(--primary-red-dark);
    transform: scale(1.05);
}

.arena-ticker a.cta-btn:hover span::after {
    transform: translateX(3px);
}

.arena-ticker a.cta-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: currentColor;
    transform: translateX(-101%);
    transition: transform 0.3s ease-in-out;
}

.arena-ticker a.cta-btn:hover::after {
    transform: translateX(0);
}

/* === HERO VARIANT (Arena) === */
.hero-variant {
    background-color: #FCDC73;
    margin: 0.3rem auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* === HERO SECTION (Full-bleed) === */
.hero-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0;
    overflow-x: hidden;
}

/* === HERO TRAP STRIP === */
.hero-trap-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    background: #2A2A2A;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-trap-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
    margin: 0;
    opacity: 0.8;
}

.hero-trap-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-trap-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.4);
}

.hero-trap-square {
    width: 132px;
    height: 66px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
    gap: 4px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.45);
    text-decoration: none;
}

.hero-trap-square:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.hero-trap-icon {
    width: 26px;
    height: 26px;
    opacity: 0.8;
}

.hero-trap-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.1;
}

.hero-trap-equation {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #d4af37;
    letter-spacing: 2px;
    line-height: 1;
    opacity: 0.8;
}

.hero-trap-answers {
    display: flex;
    gap: 6px;
}

.hero-trap-answer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: rgba(212, 175, 55, 0.7);
    text-decoration: none;
}

.hero-trap-answer:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
    color: #d4af37;
}

@media (max-width: 480px) {
    .hero-trap-strip { padding: 14px 8px; gap: 10px; }
    .hero-trap-square { width: 120px; height: 60px; }
    .hero-trap-equation { font-size: 1.1rem; }
    .hero-trap-label { font-size: 8px; }
}

/* Digital Store banner */
.hero-store-strip {
    display: flex;
    justify-content: center;
    text-decoration: none;
    background: #FFF8F0;
    background: #FCF8F8;
    padding: 28px 24px;
    overflow: hidden;
    position: relative;
}

.hero-store-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.hero-store-glow {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-store-strip:hover .hero-store-glow {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
}

.hero-store-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.25));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-store-strip:hover .hero-store-img {
    transform: scale(1.05) rotate(-2deg);
}

.hero-store-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-store-main {
    font-family: 'Bebas Neue', sans-serif;
    color: #b8962e;
    font-size: 1.4rem;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-store-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.hero-store-cta {
    display: inline-block;
    margin-top: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b8962e;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s, letter-spacing 0.3s;
}

.hero-store-strip:hover .hero-store-cta {
    opacity: 1;
    letter-spacing: 2px;
}

/* Divider strip — matches secondary-navbar style */
.hero-divider-strip {
    background-color: #2A2A2A;
    height: 32px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid #d4af37;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* === CUP LEADERBOARD === */

.cup-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 6px;
}

.cup-players {
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
}

.cup-leaderboard-section {
    margin: 1rem 0;
    border: #ffffff 3px solid;
    padding: 0.2rem;
}

.cup-takeovers {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,0.45);
    border-radius: 4px;
    padding: 1px 7px;
}

.hill-current-king {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0,0,0,0.7);
    border-radius: 8px;
    padding: 7px 14px;
    margin: 8px 0;
    text-align: center;
}

.hill-crown-icon { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.hill-king-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); white-space: nowrap; }
.hill-king-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffd700;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: auto 1fr;
        width: 300px;
        gap: 0.5rem;
    }

    #logoCanvas {
        max-width: 120px;
        max-height: 120px;
    }

    .arena-ticker h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 1px 2px;
    }

    .arena-ticker {
        padding: 0.2rem 0.1rem;
    }

    .winner-images {
        gap: 0.4rem;
    }

    .winner img {
        width: 140px;
        height: 140px;
    }

    .content-text {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .title-break {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-store-strip { padding: 20px 8px; }
    .hero-store-inner { flex-direction: column; gap: 10px; }
    .hero-store-img { width: 140px; height: 140px; }
    .hero-store-glow { width: 160px; height: 160px; left: 50%; top: 30%; transform: translate(-50%, -50%); }
    .hero-store-text { text-align: center; align-items: center; }
    .hero-store-main { font-size: 1.2rem; }
    .hero-store-sub { font-size: 0.8rem; }
    .hero-store-cta { font-size: 0.75rem; margin-top: 4px; }
}
