/* Home page — hero, features, symbols showcase, how-to, heritage, CTA */

/* --- Hero --- */
.hero-section {
    position: relative;
    padding: 70px 0 90px;
    z-index: 1;
    min-height: 78vh;
    display: flex;
    align-items: center;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}
.hero-text { text-align: left; }
.hero-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-image {
    width: 100%;
    max-width: 540px;
    filter: drop-shadow(0 12px 0 rgba(0,0,0,0.18)) drop-shadow(0 22px 38px rgba(0,0,0,0.28));
    animation: heroBobble 5s ease-in-out infinite;
}
@keyframes heroBobble {
    0%, 100% { transform: translateY(0) rotate(-1.2deg); }
    50%      { transform: translateY(-14px) rotate(1.2deg); }
}

.hero-eyebrow {
    display: inline-block;
    background: var(--white);
    color: var(--orange-deep);
    border: 3px solid var(--ink);
    border-radius: 999px;
    padding: 8px 22px;
    font-family: 'Lilita One', cursive;
    letter-spacing: 1.5px;
    font-size: 13px;
    box-shadow: 0 4px 0 var(--ink);
    margin-bottom: 22px;
    text-transform: uppercase;
}
.hero-title {
    font-family: 'Lilita One', cursive;
    font-size: 64px;
    line-height: 1;
    margin-bottom: 22px;
    color: var(--white);
    letter-spacing: 1px;
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 0 7px 0 var(--ink), 0 14px 24px rgba(0,0,0,0.3);
}
.hero-title span,
.hero-title .accent { color: var(--yellow); display: block; }
.hero-subtitle {
    font-size: 17px;
    font-weight: 600;
    max-width: 560px;
    margin: 0 0 30px 0;
    line-height: 1.6;
    color: var(--navy);
    background: rgba(255,244,224,0.92);
    border: 3px solid var(--ink);
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 6px 0 var(--ink);
}

/* Primary CTA — eye-catching pulsing yellow→orange */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(180deg, #FFE680 0%, #FFCC2E 55%, #FFA319 100%);
    color: var(--navy);
    padding: 22px 56px;
    border-radius: 22px;
    text-decoration: none;
    font-family: 'Lilita One', cursive;
    font-size: 28px;
    letter-spacing: 2px;
    border: 4px solid var(--ink);
    box-shadow:
        0 10px 0 var(--ink),
        0 18px 32px rgba(230,106,0,0.45),
        inset 0 4px 0 rgba(255,255,255,0.65);
    text-shadow: 0 2px 0 rgba(255,255,255,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    animation: ctaWiggle 3.4s ease-in-out infinite;
}
.hero-cta::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(255,204,46,0.7);
    animation: ctaPulseRing 1.8s ease-out infinite;
    z-index: -1;
}
.hero-cta:hover {
    transform: translateY(4px) rotate(-0.6deg);
    box-shadow:
        0 5px 0 var(--ink),
        0 10px 18px rgba(0,0,0,0.22),
        inset 0 4px 0 rgba(255,255,255,0.65);
}
.hero-cta:active {
    transform: translateY(7px);
    box-shadow: 0 2px 0 var(--ink), 0 4px 10px rgba(0,0,0,0.2), inset 0 4px 0 rgba(255,255,255,0.65);
}
.hero-cta i { font-size: 30px; }
@keyframes ctaPulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(255,204,46,0.75); }
    70%  { box-shadow: 0 0 0 22px rgba(255,204,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,204,46,0); }
}
@keyframes ctaWiggle {
    0%, 92%, 100% { transform: translateY(0) rotate(0); }
    94%           { transform: translateY(-2px) rotate(-1.5deg); }
    96%           { transform: translateY(-2px) rotate(1.5deg); }
    98%           { transform: translateY(-1px) rotate(-0.6deg); }
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 26px;
    flex-wrap: wrap;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 999px;
    border: 3px solid var(--ink);
    box-shadow: 0 4px 0 var(--ink);
    font-family: 'Lilita One', cursive;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-badge i { font-size: 18px; color: var(--orange-deep); }

/* --- Section title (shared by home sections) --- */
.section-title {
    font-family: 'Lilita One', cursive;
    font-size: 48px;
    text-align: center;
    margin-bottom: 14px;
    color: var(--white);
    letter-spacing: 1px;
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 0 5px 0 var(--ink);
    line-height: 1.05;
}
.section-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    max-width: 640px;
    margin: 0 auto 44px;
    color: var(--navy);
    background: rgba(255,244,224,0.85);
    border: 3px solid var(--ink);
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: 0 5px 0 var(--ink);
}

/* --- Features --- */
.features-section {
    padding: 70px 0 50px;
    position: relative;
    z-index: 1;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.feature-card {
    background: var(--white);
    border: 4px solid var(--ink);
    border-radius: 22px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: 0 8px 0 var(--ink);
    transition: all 0.2s;
    color: var(--navy);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 var(--ink);
}
.feature-icon {
    width: 78px; height: 78px;
    background: var(--yellow);
    color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid var(--ink);
    box-shadow: 0 5px 0 var(--ink);
}
.feature-icon i { font-size: 36px; }
.feature-title {
    font-family: 'Lilita One', cursive;
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--orange-deep);
    letter-spacing: 0.5px;
}
.feature-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--navy);
    opacity: 0.92;
}

/* --- Symbols showcase (blue strip) --- */
.symbols-section {
    padding: 70px 0;
    position: relative;
    z-index: 1;
    background: var(--blue);
    border-top: 5px solid var(--ink);
    border-bottom: 5px solid var(--ink);
}
.symbols-section .section-title { color: var(--yellow); }
.symbols-section .section-subtitle { color: var(--white); background: var(--navy); border-color: var(--ink); }
.symbols-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}
.symbol-card {
    background: var(--white);
    border: 4px solid var(--ink);
    border-radius: 18px;
    padding: 24px 14px;
    text-align: center;
    box-shadow: 0 6px 0 var(--ink);
    transition: all 0.2s;
}
.symbol-card:hover {
    transform: translateY(-5px) rotate(-2deg);
    box-shadow: 0 10px 0 var(--ink);
}
.symbol-card img {
    width: 72px; height: 72px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.2));
}
.symbol-name {
    font-family: 'Lilita One', cursive;
    font-size: 18px;
    color: var(--navy);
    letter-spacing: 0.5px;
}
.symbol-desc {
    font-size: 12px;
    color: var(--blue-deep);
    font-weight: 700;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- How to play --- */
.how-section { padding: 70px 0; position: relative; z-index: 1; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 36px;
}
.step-card {
    text-align: center;
    padding: 28px 18px;
    background: var(--white);
    border: 4px solid var(--ink);
    border-radius: 20px;
    box-shadow: 0 7px 0 var(--ink);
    transition: all 0.2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 11px 0 var(--ink); }
.step-number {
    width: 60px; height: 60px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-family: 'Lilita One', cursive;
    font-size: 30px;
    border: 4px solid var(--ink);
    box-shadow: 0 5px 0 var(--ink);
    line-height: 1;
}
.step-title {
    font-family: 'Lilita One', cursive;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.step-text { font-size: 14.5px; color: var(--navy); line-height: 1.6; }

/* --- Heritage strip --- */
.heritage-section { padding: 70px 0; position: relative; z-index: 1; }
.heritage-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.heritage-art {
    aspect-ratio: 4 / 3;
    background: var(--cream);
    border: 4px solid var(--ink);
    border-radius: 22px;
    box-shadow: 0 8px 0 var(--ink);
    display: flex; align-items: center; justify-content: center;
    padding: 30px;
    position: relative; overflow: hidden;
}
.heritage-art img {
    max-height: 78%;
    filter: drop-shadow(0 6px 0 rgba(0,0,0,0.25));
}
.heritage-text {
    background: var(--white);
    border: 4px solid var(--ink);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 8px 0 var(--ink);
}
.heritage-text h2 {
    font-family: 'Lilita One', cursive;
    font-size: 36px;
    color: var(--orange-deep);
    margin-bottom: 14px;
    line-height: 1.05;
    letter-spacing: 0.5px;
}
.heritage-text p {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.65;
}

/* --- CTA strip --- */
.cta-section { padding: 70px 0; position: relative; z-index: 1; }
.cta-block {
    background: var(--navy);
    border: 4px solid var(--ink);
    border-radius: 26px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: 0 10px 0 var(--ink);
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,204,46,0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(61,196,240,0.20) 0%, transparent 55%);
    pointer-events: none;
}
.cta-block h2 {
    font-family: 'Lilita One', cursive;
    font-size: 46px;
    color: var(--yellow);
    margin-bottom: 14px;
    line-height: 1.05;
    letter-spacing: 1px;
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 0 4px 0 var(--ink);
    position: relative;
    z-index: 1;
}
.cta-block p {
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 16px;
    position: relative; z-index: 1;
}
.cta-block .hero-cta { position: relative; z-index: 1; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 52px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-text { text-align: center; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-badges { justify-content: center; }
    .hero-image { max-width: 420px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-section { min-height: auto; padding: 50px 0 70px; }
    .hero-title { font-size: 42px; -webkit-text-stroke: 1.5px var(--ink); }
    .hero-subtitle { font-size: 15px; padding: 12px 18px; }
    .hero-cta { padding: 18px 36px; font-size: 22px; }
    .section-title { font-size: 36px; }
    .symbols-grid { grid-template-columns: repeat(3, 1fr); }
    .heritage-row { grid-template-columns: 1fr; }
    .cta-block { padding: 40px 24px; }
    .cta-block h2 { font-size: 32px; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 34px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .symbols-grid { grid-template-columns: repeat(2, 1fr); }
}
