/*
 * Homepage Styles
 */

:root {
    --mw-gold: #ffbf1f;
    --mw-gold-soft: #ffd76a;
    --mw-cream: #fff3d2;
    --mw-bronze: #9a6c2b;
    --mw-bronze-soft: #6f4d1f;
    --mw-gold-glow: rgba(255, 191, 31, 0.32);
    --mw-surface: #0b0a19;
    --mw-surface-alt: #17111d;
    --mw-surface-card: rgba(24, 18, 26, 0.92);
}

.mw-homepage {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(154, 108, 43, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 164, 40, 0.16), transparent 26%),
        radial-gradient(circle at 50% 0%, rgba(255, 243, 210, 0.06), transparent 32%),
        linear-gradient(180deg, #06050f 0%, #050510 55%, #04030a 100%);
}

.mw-homepage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 15%, rgba(255, 191, 31, 0.5) 0, rgba(255, 191, 31, 0) 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 243, 210, 0.22) 0, rgba(255, 243, 210, 0) 2px),
        radial-gradient(circle at 30% 60%, rgba(255, 191, 31, 0.35) 0, rgba(255, 191, 31, 0) 2px),
        radial-gradient(circle at 70% 85%, rgba(154, 108, 43, 0.24) 0, rgba(154, 108, 43, 0) 2px);
    background-size: 260px 260px, 320px 320px, 340px 340px, 380px 380px;
    opacity: 0.55;
}

.mw-home-section {
    position: relative;
    padding: 84px 0;
}

.mw-home-section--panel {
    background: transparent;
    border-top: 0;
    border-bottom: 0;
}

.mw-home-section--striped::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        transparent;
    pointer-events: none;
}

.mw-home-section > .container,
.mw-home-hero > .container {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.mw-home-section > .container::before,
.mw-home-hero > .container::before {
    content: none;
}

.mw-home-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.mw-home-heading h2,
.mw-home-hero__title,
.mw-home-final-cta h2 {
    color: var(--mw-gold);
    text-shadow: 0 0 18px rgba(255, 191, 31, 0.18);
    letter-spacing: 0.02em;
}

.mw-home-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.mw-home-heading p,
.mw-home-hero__subtitle,
.mw-home-hero__microcopy,
.mw-home-final-cta p {
    color: #e9dcc0;
    font-size: 1rem;
    line-height: 1.8;
}

.mw-home-heading__text,
.mw-home-hero__microcopy,
.mw-home-card__text,
.mw-home-game-card__text,
.mw-home-testimonial__text,
.mw-home-news-card__text,
.mw-home-final-cta__text {
    color: #e9dcc0;
    font-size: 1rem;
    line-height: 1.8;
}

.mw-home-heading__text p,
.mw-home-hero__microcopy p,
.mw-home-card__text p,
.mw-home-game-card__text p,
.mw-home-testimonial__text p,
.mw-home-news-card__text p,
.mw-home-final-cta__text p {
    margin: 0;
}

.mw-home-heading__text p + p,
.mw-home-hero__microcopy p + p,
.mw-home-card__text p + p,
.mw-home-game-card__text p + p,
.mw-home-testimonial__text p + p,
.mw-home-news-card__text p + p,
.mw-home-final-cta__text p + p {
    margin-top: 12px;
}

.mw-home-kicker,
.mw-home-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 191, 31, 0.35);
    background: linear-gradient(180deg, rgba(255, 191, 31, 0.12), rgba(255, 191, 31, 0.03));
    color: var(--mw-cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mw-home-hero {
    position: relative;
    padding: 86px 0 72px;
    text-align: center;
    border-bottom: 0;
}

.mw-home-hero__inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 36px 0 20px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.mw-home-hero__title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.02;
    margin: 18px 0 14px;
}

.mw-home-hero__subtitle {
    font-size: clamp(1.1rem, 2.1vw, 1.45rem);
    margin-bottom: 8px;
}

.mw-home-hero__microcopy {
    max-width: 640px;
    margin: 0 auto 26px;
    color: var(--mw-cream);
}

.mw-home-hero__actions,
.mw-home-center-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mw-home-hero__actions {
    margin-top: 28px;
}

.mw-home-center-cta {
    margin-top: 32px;
}

.mw-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mw-home-btn:hover {
    transform: translateY(-2px);
}

.mw-home-btn--primary {
    background: linear-gradient(180deg, #ffd24e 0%, #ffbf1f 52%, #f09e00 100%);
    color: #120c00;
    box-shadow: 0 10px 25px rgba(255, 191, 31, 0.22);
}

.mw-home-btn--secondary {
    border-color: rgba(154, 108, 43, 0.5);
    background: linear-gradient(180deg, rgba(34, 25, 18, 0.68), rgba(18, 14, 22, 0.76));
    color: var(--mw-cream);
}

.mw-home-btn--secondary:hover {
    color: var(--mw-gold-soft);
    border-color: rgba(255, 191, 31, 0.42);
    box-shadow: 0 10px 24px rgba(154, 108, 43, 0.16);
}

.mw-home-hero__glow {
    position: absolute;
    top: 50%;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.42;
    transform: translateY(-50%);
    pointer-events: none;
}

.mw-home-hero__glow--left {
    left: -70px;
    background: rgba(154, 108, 43, 0.26);
}

.mw-home-hero__glow--right {
    right: -70px;
    background: rgba(255, 174, 46, 0.26);
}

.mw-home-steps,
.mw-home-feature-grid,
.mw-home-reason-grid,
.mw-home-testimonial-grid,
.mw-home-news-grid {
    display: grid;
    gap: 24px;
}

.mw-home-steps,
.mw-home-feature-grid,
.mw-home-testimonial-grid,
.mw-home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mw-home-reason-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mw-home-card,
.mw-home-game-card,
.mw-home-category-card,
.mw-home-testimonial,
.mw-home-news-card,
.mw-home-final-cta {
    background: linear-gradient(180deg, rgba(24, 18, 26, 0.96), rgba(12, 9, 16, 0.98));
    border: 1px solid rgba(154, 108, 43, 0.24);
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.mw-home-card {
    position: relative;
    min-height: 100%;
    padding: 28px 24px;
}

.mw-home-testimonial__top h3 {
    flex-grow: 1;
}

.mw-home-card h3,
.mw-home-game-card h3,
.mw-home-category-card h3,
.mw-home-testimonial h3,
.mw-home-news-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--mw-cream);
}

.mw-home-card p,
.mw-home-game-card p,
.mw-home-category-card p,
.mw-home-testimonial p,
.mw-home-news-card p {
    color: #dbcdae;
    font-size: 0.96rem;
    line-height: 1.75;
}

.mw-home-card__eyebrow {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 191, 31, 0.1);
    border: 1px solid rgba(255, 191, 31, 0.45);
    color: var(--mw-gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
}

.mw-home-card__spark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 12px;
    background:
        radial-gradient(circle at center, rgba(255, 191, 31, 0.55), rgba(255, 191, 31, 0.04) 65%),
        linear-gradient(180deg, rgba(255, 191, 31, 0.12), rgba(255, 191, 31, 0));
    border: 1px solid rgba(255, 191, 31, 0.26);
}

.mw-home-card__icon {
    color: var(--mw-gold-soft);
    font-size: 1rem;
    line-height: 1;
}

.mw-home-card__inline-cta {
    display: inline-flex;
    margin-top: 16px;
    color: var(--mw-gold-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.mw-home-editor-content {
    max-width: 980px;
    margin: 44px auto 0;
    color: #e9dcc0;
    font-size: 1rem;
    line-height: 1.8;
}

.mw-home-editor-content > * {
    margin: 0;
}

.mw-home-editor-content > * + * {
    margin-top: 16px;
}

.mw-home-editor-content h2,
.mw-home-editor-content h3,
.mw-home-editor-content h4 {
    color: var(--mw-cream);
}

.mw-home-editor-content a {
    color: var(--mw-gold-soft);
}

.mw-home-editor-content a:hover {
    color: #fff0b8;
}

.mw-home-game-card,
.mw-home-category-card,
.mw-home-news-card {
    overflow: hidden;
}

.mw-home-game-card__media,
.mw-home-category-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: rgba(255, 191, 31, 0.06);
}

.mw-home-game-card__media-link {
    color: inherit;
}

.mw-home-game-card__media img,
.mw-home-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mw-home-game-card__placeholder,
.mw-home-category-card__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--mw-gold-soft);
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(255, 191, 31, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(18, 16, 40, 0.88), rgba(9, 8, 20, 0.95));
}

.mw-home-game-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 0;
    background: rgba(255, 191, 31, 0.9);
    color: #120c00;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mw-home-game-card__body,
.mw-home-category-card__body,
.mw-home-news-card {
    padding: 22px;
}

.mw-home-game-card__body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mw-home-game-card__body .mw-home-text-link {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
    align-self: stretch;
}

.mw-home-game-card__title-link {
    color: inherit;
}

.mw-home-game-card__title-link:hover {
    color: var(--mw-gold-soft);
}

.mw-home-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 191, 31, 0.4);
    border-radius: 0;
    background: linear-gradient(180deg, #ffd24e 0%, #ffbf1f 56%, #e29900 100%);
    color: #120c00;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.88rem;
    box-shadow: 0 12px 24px rgba(255, 191, 31, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mw-home-text-link:hover {
    color: #120c00;
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 30px rgba(255, 191, 31, 0.2);
}

.mw-home-testimonial {
    padding: 24px;
}

.mw-home-testimonial__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mw-home-testimonial__avatar {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 243, 210, 0.12), rgba(255, 191, 31, 0.08));
    border: 1px solid rgba(255, 191, 31, 0.35);
    color: var(--mw-cream);
    font-family: 'Orbitron', sans-serif;
}

.mw-home-stars {
    margin-top: 3px;
    color: var(--mw-gold);
    letter-spacing: 0.2em;
    font-size: 0.82rem;
}

.mw-home-testimonial__role {
    margin-top: 2px;
    color: #cdb884;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mw-home-news-card__date {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--mw-cream);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mw-home-faq-list {
    max-width: 920px;
    margin: 0 auto;
}

.mw-home-faq-list .faq-item {
    margin-bottom: 16px;
    border-color: rgba(70, 66, 145, 0.4);
    background: rgba(12, 11, 28, 0.95);
}

.mw-home-faq-list .faq-question {
    color: #fff4c6;
}

.mw-home-faq-list .faq-question:hover {
    background: rgba(24, 22, 52, 0.98);
}

.mw-home-faq-list .faq-question svg {
    color: var(--mw-gold);
}

.mw-home-final-cta {
    max-width: 760px;
    margin: 0 auto;
    padding: 46px 28px;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(255, 243, 210, 0.12), transparent 26%),
        radial-gradient(circle at bottom left, rgba(154, 108, 43, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(30, 22, 24, 0.97), rgba(62, 46, 18, 0.9));
    box-shadow: 0 0 0 1px rgba(255, 191, 31, 0.12), 0 24px 60px rgba(0, 0, 0, 0.32);
}

.mw-home-final-cta h2 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.mw-home-final-cta p {
    max-width: 560px;
    margin: 0 auto 26px;
}

.mw-home-empty {
    padding: 28px;
    border: 1px dashed rgba(255, 191, 31, 0.28);
    border-radius: 0;
    text-align: center;
    color: #d4cdef;
    background: rgba(18, 16, 40, 0.5);
}

@media (max-width: 1100px) {
    .mw-home-reason-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mw-home-game-grid,
    .mw-home-category-grid,
    .mw-home-steps,
    .mw-home-feature-grid,
    .mw-home-testimonial-grid,
    .mw-home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mw-home-section,
    .mw-home-hero {
        padding: 64px 0;
    }

    .mw-home-hero__inner,
    .mw-home-final-cta {
        padding: 36px 20px;
    }

    .mw-home-game-grid,
    .mw-home-category-grid,
    .mw-home-steps,
    .mw-home-feature-grid,
    .mw-home-reason-grid,
    .mw-home-testimonial-grid,
    .mw-home-news-grid {
        grid-template-columns: 1fr;
    }

    .mw-home-hero__actions,
    .mw-home-center-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .mw-home-hero__actions {
        margin-top: 24px;
    }

    .mw-home-center-cta {
        margin-top: 24px;
    }

    .mw-home-btn {
        width: 100%;
    }
}