/* CSS Critico - Inline para LCP rapido */
:root { --p-color: #85039b; --s-color: #F5D7F9; --text: #333; }
*, *::before, *::after { box-sizing: border-box; }
body { font-family: sans-serif; margin: 0; color: var(--text); line-height: 1.6; }
header { box-sizing: border-box; width: 100%; max-width: 100%; background: var(--p-color); color: white; display: flex; justify-content: space-between; align-items: stretch; gap: 0.5rem; position: sticky; top: 0; z-index: 1000; padding: 0 0.65rem 0 0; box-shadow: 0 10px 30px rgba(255, 0, 207, 0.18); height: 48px; }
.logo { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; padding: 0; overflow: hidden; }
.logo a { display: flex; align-items: center; max-width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; }
.logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; margin: 0; padding: 0; border: 0; object-fit: contain; object-position: left center; }

/* Menu Hamburger */
.menu-btn { box-sizing: border-box; flex: 0 0 36px; background: #fff; border: 0; color: var(--p-color); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; display: block; width: 36px; height: 36px; border-radius: 999px; box-shadow: 0 4px 12px rgba(80, 0, 65, 0.26); transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease; align-self: center; }
.menu-btn:hover,
.menu-btn:focus-visible { background: #ffe6fa; transform: scale(1.05); box-shadow: 0 0 0 4px rgba(255,255,255,0.35), 0 4px 12px rgba(80, 0, 65, 0.26); outline: none; }
.menu-btn.active { transform: scale(1.05); }
nav {
    box-sizing: border-box;
    display: block;
    width: calc(100% - 1.5rem);
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0.75rem;
    background: linear-gradient(180deg, #fff 0%, #fff4fd 100%);
    border: 8px solid rgb(124 0 255 / 36%);
    border-radius: 15px;
    box-shadow: 0 18px 40px rgba(80, 0, 65, 0.22);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 4rem);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}
nav::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #ff00cf 0%, #ff64df 50%, #ff00cf 100%);
}
nav.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    flex-direction: column;
    gap: 0.32rem;
    padding: 0.48rem;
}
nav li:not(:last-child) {
    border-bottom: 0;
}
.nav-group-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.45rem 0 0.08rem;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff 0%, #f4d7fb 100%);
    color: #351247;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255, 0, 207, 0.16);
}
.nav-group-title::before {
    content: "✦";
    color: var(--p-color);
    font-size: 1rem;
    line-height: 1;
}
.nav-group-title--games::before { content: "◈"; }
.nav-group-title--love::before { content: "♥"; }
.nav-group-title--work::before { content: "◆"; }
.nav-group-title--oracles::before { content: "✦"; }
.nav-group-title--articles::before { content: "☾"; }
.nav-group-title--spells::before { content: "✧"; }
nav a {
    color: #351247;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
    position: relative;
    display: block;
    border: 1px solid rgba(255, 0, 207, 0.14);
    border-radius: 12px;
    padding: 0.62rem 0.75rem 0.62rem 0.95rem;
    background: #fff;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(80, 0, 65, 0.08);
}
nav a::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    bottom: 0.55rem;
    left: 0.45rem;
    width: 3px;
    border-radius: 999px;
    background: var(--p-color);
}
nav a:hover,
nav a:focus-visible {
    background: #B800FF;
    color: #fff;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(80, 0, 65, 0.08);
}
nav a:hover::before,
nav a:focus-visible::before {
    background: #fff;
}

@media (min-width: 769px) {
    nav {
        width: max-content;
        min-width: 320px;
        max-width: min(92vw, 520px);
        left: auto;
        right: 0.75rem;
    }
    nav a {
        white-space: nowrap;
    }
}

/* Grid de Cards */
main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
main.has-top-ad { margin-top: 0.9rem; }
.top-ad { width: 100%; height: 280px; min-height: 280px; margin: 0 0 1rem; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.top-ad .ad-section { width: 100%; height: 280px; min-height: 280px; margin: 0; }
.top-ad .adsbygoogle { display: block; width: 100%; min-height: 280px; }
.intro { background: linear-gradient(180deg, #fbf6ff 0%, #ffffff 100%); border: 1px solid rgba(255,0,207,0.28); border-radius: 22px; padding: 1.4rem 0.75rem; box-shadow: 0 16px 34px rgba(34, 10, 49, 0.06); text-align: center;}
.intro h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; color: #351247; }
.intro p { margin: 0.9rem auto 0; max-width: 94ch; color: #4d3d58; font-size: 20px}
.section-panel { background: linear-gradient(180deg, #fff 0%, #fff9fe 100%); border: 1px solid rgba(255,0,207,0.28); border-radius: 18px; padding: 1.15rem; box-shadow: 0 12px 28px rgba(34, 10, 49, 0.05); }
main > section:not(.intro) { margin-top: 1.4rem; }
.section-panel .section-title { margin-top: 0; }
.section-title { margin: 2.2rem 0 0.7rem; font-size: clamp(1.4rem, 2vw, 1.9rem); color: #351247; text-align: center; }
.section-lead { margin: 0 auto; max-width: 72ch; color: #5a4b66; font-size: 20px; text-align: center; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 2rem; }
.card-section-divider { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 0.35rem 0 0.1rem; color: #351247; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: 0.06em; }
.card-section-divider::before,
.card-section-divider::after { content: ""; flex: 1 1 80px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 0, 207, 0.42)); }
.card-section-divider::after { background: linear-gradient(90deg, rgba(255, 0, 207, 0.42), transparent); }
.card-section-divider span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: 999px; background: linear-gradient(135deg, #fff 0%, #f8ddff 100%); border: 1px solid rgba(255, 0, 207, 0.22); box-shadow: 0 8px 18px rgba(80, 0, 65, 0.08); }
.card-section-divider span::before { content: "✧"; color: var(--p-color); font-size: 1rem; }
.card { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 8px 10px 18px rgba(50, 20, 70, 0.32); border: 2px solid rgba(255, 0, 207, 0.34); }
.card-link { display: block; color: inherit; text-decoration: none; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.card-link:hover,
.card-link:focus-visible { transform: translateY(-8px); box-shadow: 10px 16px 28px rgba(50, 20, 70, 0.38); outline: none; }
.card-link:hover .card-media img,
.card-link:focus-visible .card-media img { transform: scale(1.05); }
.card-link:hover .card-title-bar,
.card-link:focus-visible .card-title-bar { background: linear-gradient(135deg, #a900c8 0%, #8D00AC 52%, #71008d 100%); }
.card-title-bar { background: linear-gradient(135deg, #c018d6 0%, #8D00AC 52%, #760092 100%); color: white; padding: 0.5rem 0.5rem; transition: background-color 0.28s ease, transform 0.28s ease; text-align: center;}
.card-title-bar h3 { font-size: 1.1rem; line-height: 1.3; margin: 0; }
.card-media { position: relative; overflow: hidden; background: #eee; }
.card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, #ececec 8%, #f9d8f4 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.4s linear infinite;
    transition: opacity 0.35s ease;
    z-index: 1;
}
.card-media.image-loaded::before {
    opacity: 0;
    animation: none;
    pointer-events: none;
}
.card img { width: 100%; height: 200px; object-fit: cover; background: #eee; opacity: 0; transition: transform 0.35s ease, opacity 0.55s ease, filter 0.55s ease; }
.card-media .card-image { width: 100%; height: auto; display: block; }
.card-media .card-image--limited { max-width: 560px; }
.card-media.image-loaded img { opacity: 1; }
@keyframes skeleton-shine {
    to { background-position-x: -200%; }
}
.card-content { padding: 0.4rem 0.6rem 0.4rem; }
.card-content p {
    margin: 0;
    color: #4d3d58;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
    text-align: center;
    font-size: 18px;
}
.content-section { margin-top: 2.4rem; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.25rem; }
.content-block { background: #fff; border-radius: 18px; padding: 1.2rem; border: 1px solid rgba(255, 0, 207, 0.28); box-shadow: 0 10px 24px rgba(34, 10, 49, 0.05); }
.content-block h3 { margin: 0 0 0.65rem; font-size: 1.05rem; color: #351247; }
.content-block p { margin: 0; color: #4d3d58; }
.faq-list { display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.faq-item { background: #fff; border: 1px solid rgba(255, 0, 207, 0.28); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 8px 18px rgba(34, 10, 49, 0.04); }
.faq-item h3 { margin: 0 0 0.45rem; font-size: 1rem; color: #260833; }
.faq-item p { margin: 0; color: #33263b; }

.article-page { max-width: 980px; }
.article-hero { background: linear-gradient(180deg, #fff 0%, #fff7fd 100%); border: 1px solid rgba(255, 0, 207, 0.14); border-radius: 22px; padding: 1.4rem; box-shadow: 0 16px 34px rgba(34, 10, 49, 0.06); text-align: center; }
.article-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; color: #351247; }
.article-hero p { margin: 0.9rem auto 0; max-width: 78ch; color: #4d3d58; font-size: 20px; }
.article-cover { display: block; width: 100%; height: auto; margin: 1.2rem auto 0; border-radius: 18px; border: 1px solid rgba(255, 0, 207, 0.18); box-shadow: 0 12px 28px rgba(50, 20, 70, 0.16); }
.article-body { margin-top: 1.4rem; }
.article-section { margin-top: 1.4rem; background: #fff; border: 1px solid rgba(255, 0, 207, 0.12); border-radius: 18px; padding: 1.2rem; box-shadow: 0 10px 24px rgba(34, 10, 49, 0.05); }
.article-section h2 { margin: 0 0 0.8rem; color: #351247; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.2; text-align: center; }
.article-section p { margin: 0.8rem 0 0; color: #4d3d58; font-size: 19px; }
.article-section ul,
.article-section ol { margin: 0.8rem 0 0; padding-left: 1.2rem; color: #4d3d58; font-size: 19px; }
.article-section li + li { margin-top: 0.35rem; }
.article-image { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto 1rem; border-radius: 16px; border: 1px solid rgba(255, 0, 207, 0.18); box-shadow: 0 10px 22px rgba(50, 20, 70, 0.14); }
.article-video { position: relative; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; margin: 1rem auto 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 0, 207, 0.18); box-shadow: 0 10px 22px rgba(50, 20, 70, 0.14); background: #111; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-note { background: #fff7fd; border-left: 4px solid var(--p-color); border-radius: 12px; padding: 0.9rem 1rem; }
.article-related { max-width: 1200px; margin: 2.4rem auto 0; padding: 0 1rem; }
.ad-section { margin: 1.4rem 0; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.ad-section .adsbygoogle { display: block; width: 100%; }
.game-page { max-width: 1120px; }
.game-panel { background: linear-gradient(180deg, #fff 0%, #fff7fd 100%); border: 1px solid rgba(255, 0, 207, 0.16); border-radius: 22px; padding: 1.25rem; box-shadow: 0 16px 34px rgba(34, 10, 49, 0.06); text-align: center; }
.game-panel h1 { margin: 0; font-size: 30px; line-height: 1.08; color: #351247; }
.game-panel h2 { margin: 0.55rem 0 0; color: #5a126f; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.game-panel p { margin: 0.8rem auto 0; max-width: 82ch; color: #4d3d58; font-size: 20px; }
.game-page--marselha .marselha-panel { background: linear-gradient(135deg, #ffffff 0%, #fff4fb 42%, #f6edff 100%); border-color: rgba(142, 0, 172, 0.2); }
.marselha-guidance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; max-width: 700px; margin: 1rem auto 0; }
.marselha-guidance span { display: block; padding: 0.65rem 0.8rem; border: 1px solid rgba(255, 0, 207, 0.22); border-radius: 8px; background: rgba(255, 255, 255, 0.84); color: #351247; font-weight: 700; box-shadow: 0 8px 18px rgba(50, 20, 70, 0.07); }
.buzios-panel { background: linear-gradient(135deg, #fff 0%, #fff8f0 44%, #f5f8ff 100%); }
.buzios-cast { display: grid; justify-items: center; gap: 1rem; max-width: 720px; margin: 1.2rem auto 0; padding: 1rem; border: 1px solid rgba(141, 0, 172, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.76); }
.buzios-image-submit { display: block; width: min(100%, 560px); border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 12px; box-shadow: 0 14px 28px rgba(50, 20, 70, 0.14); transition: transform 0.2s ease, box-shadow 0.2s ease; overflow: hidden; }
.buzios-image-submit img { display: block; width: 100%; height: auto; }
.buzios-image-submit:hover,
.buzios-image-submit:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(50, 20, 70, 0.22); outline: 3px solid rgba(141, 0, 172, 0.22); outline-offset: 3px; }
.buzios-submit { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 48px; border: 0; border-radius: 999px; padding: 0.8rem 1.25rem; background: var(--p-color); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px rgba(80, 0, 65, 0.24); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.buzios-submit:hover,
.buzios-submit:focus-visible { transform: translateY(-3px); background: #b000d4; box-shadow: 0 14px 28px rgba(80, 0, 65, 0.32); outline: none; }
.tarot-board { display: grid; gap: clamp(0.5rem, 1.6vw, 0.9rem); justify-content: center; margin-top: 1.25rem; overflow: hidden; }
.tarot-row { --card-width: clamp(72px, 12vw, 118px); --card-overlap: clamp(42px, 7vw, 72px); display: flex; justify-content: flex-start; width: var(--row-width); max-width: 100%; margin: 0 auto; }
.tarot-row--9 { --row-width: calc(var(--card-width) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap)); }
.tarot-row--8 { --row-width: calc(var(--card-width) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap)); }
.tarot-row--6 { --row-width: calc(var(--card-width) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap) + var(--card-overlap)); }
.tarot-card-button { flex: 0 0 var(--card-width); width: var(--card-width); aspect-ratio: 68 / 106; border: 2px solid #ED15DF; border-radius: 8px; padding: 0; cursor: pointer; background: #fff; box-shadow: 0 8px 16px rgba(50, 20, 70, 0.24); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; } 
.tarot-card-button + .tarot-card-button { margin-left: calc((var(--card-width) - var(--card-overlap)) * -1); }
.tarot-card-button:hover,
.tarot-card-button:focus-visible { transform: translateY(-8px); box-shadow: 0 14px 24px rgba(50, 20, 70, 0.34); outline: none; }
.tarot-card-button.is-selected { transform: translateY(-12px) scale(1.04); }
.tarot-card-back { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-reveal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: rgba(30, 0, 40, 0.72); padding: 1rem; }
.card-reveal[hidden] { display: none; }
.card-reveal__inner { width: min(92vw, 360px); background: linear-gradient(180deg, #fff 0%, #fff4fd 100%); border: 2px solid rgba(255, 0, 207, 0.45); border-radius: 22px; padding: 1rem; text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36); animation: reveal-card 0.45s ease both; }
.card-reveal__inner img { display: block; width: min(72vw, 210px); height: auto; margin: 0 auto 0.75rem; border-radius: 10px; box-shadow: 0 12px 28px rgba(50, 20, 70, 0.28); }
.card-reveal__inner h2 { margin: 0; color: #351247; font-size: 1.35rem; }
.card-reveal__inner p { margin: 0.4rem 0 0; color: #4d3d58; }
.loading-page { min-height: calc(100vh - 48px); display: grid; align-content: start; justify-items: center; gap: 1.25rem; margin-top: 0; padding: 0.25rem 1rem 1rem; background: radial-gradient(circle at top, #fff1fd 0%, #f9fbff 42%, #f7e7ff 100%); }
.loading-box { width: min(92vw, 420px); text-align: center; background: #fff; border: 1px solid rgba(255, 0, 207, 0.2); border-radius: 24px; padding: 1.6rem; box-shadow: 0 20px 54px rgba(50, 20, 70, 0.18); }
.loading-box h1 { margin: 0; color: #351247; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1.1; }
.loading-box p { color: #4d3d58; font-size: 19px; }
.loading-page .ad-section { width: min(92vw, 420px); min-height: 250px; margin: 0; }
.loader-orbit { width: 92px; height: 92px; border-radius: 50%; border: 5px solid #f3d7fa; border-top-color: var(--p-color); margin: 1.1rem auto; animation: spin 1s linear infinite; }
.loading-box--buzios { background: linear-gradient(180deg, #fff 0%, #fff8ef 100%); }
.buzios-loader { position: relative; width: 132px; height: 96px; margin: 1rem auto; }
.buzios-loader span { position: absolute; width: 34px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff 0%, #f5e4c8 42%, #c99d5d 78%, #80501f 100%); box-shadow: inset -4px -5px 8px rgba(80, 45, 12, 0.22), 0 6px 14px rgba(60, 30, 10, 0.16); animation: shell-toss 1.25s ease-in-out infinite; }
.buzios-loader span:nth-child(1) { left: 7px; top: 10px; animation-delay: 0s; }
.buzios-loader span:nth-child(2) { left: 46px; top: 2px; animation-delay: 0.08s; }
.buzios-loader span:nth-child(3) { left: 88px; top: 14px; animation-delay: 0.16s; }
.buzios-loader span:nth-child(4) { left: 20px; top: 42px; animation-delay: 0.24s; }
.buzios-loader span:nth-child(5) { left: 62px; top: 37px; animation-delay: 0.32s; }
.buzios-loader span:nth-child(6) { left: 98px; top: 52px; animation-delay: 0.4s; }
.buzios-loader span:nth-child(7) { left: 39px; top: 68px; animation-delay: 0.48s; }
.buzios-loader span:nth-child(8) { left: 77px; top: 71px; animation-delay: 0.56s; }
.result-card { max-width: 820px; margin: 0 auto; text-align: center; background: radial-gradient(circle at 50% 135px, rgba(255, 0, 207, 0.12) 0%, rgba(255, 247, 253, 0.9) 34%, #fff 70%); }
.result-card img { display: block; width: 148px; height: 260px; object-fit: cover; margin: 0 auto 1rem; border-radius: 10px; border: 1px solid rgba(255, 0, 207, 0.28); box-shadow: 0 20px 42px rgba(50, 20, 70, 0.38), 0 0 0 8px rgba(255, 255, 255, 0.84), 0 0 36px rgba(255, 0, 207, 0.22); }
.result-card img.buzios-result-image { width: 220px; height: 260px; max-width: 90vw; object-fit: contain; }
.result-card h1 { margin: 0 0 0.5rem; color: #351247; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.result-card h2 { color: #8D00AC; }
.result-description { max-width: 72ch; margin: 0.7rem auto 0; text-align: left; }
.result-description p { margin: 0.7rem 0 0; color: #4d3d58; font-size: 19px; line-height: 1.65; }
.result-actions { display: flex; flex-wrap: nowrap; gap: 0.75rem; justify-content: center; margin-top: 1.2rem; }
.result-actions a { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 0.72rem 1rem; border-radius: 999px; background: var(--p-color); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 18px rgba(80, 0, 65, 0.22); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.result-actions a:hover,
.result-actions a:focus-visible { transform: translateY(-3px); background: #b000d4; box-shadow: 0 13px 24px rgba(80, 0, 65, 0.32); outline: none; }
.result-related { margin-top: 1.4rem; }
.result-related .section-title { margin-top: 0; }
.result-related .grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 1rem; }
.result-related .card-title-bar { padding: 0.75rem; }
.result-related .card-title-bar h3 { font-size: 0.95rem; }
.result-related .card-content p { font-size: 16px; }
@keyframes reveal-card {
    from { opacity: 0; transform: translateY(18px) scale(0.92) rotateY(70deg); }
    to { opacity: 1; transform: translateY(0) scale(1) rotateY(0); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes shell-toss {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    35% { transform: translateY(-14px) rotate(18deg) scale(1.06); }
    70% { transform: translateY(4px) rotate(-10deg) scale(0.96); }
}

footer { background: #222; color: white; text-align: center; padding: 2rem; margin-top: 4rem; }
footer a { color: #fff; }

.modal-open {
    overflow: hidden;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(22, 6, 34, 0.72);
}

.privacy-modal[hidden] {
    display: none;
}

.privacy-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    height: min(82vh, 760px);
    overflow: hidden;
    border: 1px solid #ffc2f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(24, 8, 35, 0.38);
}

.privacy-modal__dialog h2 {
    margin: 0;
    padding: 1rem 4rem 1rem 1.25rem;
    color: #2a073f;
    font-size: 1.35rem;
    line-height: 1.25;
    border-bottom: 1px solid #ffd5f6;
    background: #fff6fd;
}

.privacy-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #a000b5;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.privacy-modal__close:hover,
.privacy-modal__close:focus-visible {
    background: #79008c;
    outline: 3px solid #f7b8ff;
    outline-offset: 2px;
}

.privacy-modal__frame {
    display: block;
    width: 100%;
    height: calc(100% - 65px);
    border: 0;
    background: #fff;
}

@media (max-width: 640px) {
    .privacy-modal {
        align-items: stretch;
        padding: 0.5rem;
    }

    .privacy-modal__dialog {
        height: calc(100vh - 1rem);
    }

    .privacy-modal__dialog h2 {
        padding: 0.85rem 3.75rem 0.85rem 1rem;
        font-size: 1.1rem;
    }

    .privacy-modal__close {
        top: 0.45rem;
        right: 0.55rem;
    }
}

@media (max-width: 768px) {
    nav { max-height: calc(100svh - 5.25rem); }
    nav { width: calc(100% - 2.4rem); left: auto; right: 0.55rem; }
    nav ul { padding-bottom: 4rem; }
    .top-ad { height: 250px; min-height: 250px; margin: 0 0 0.75rem; padding: 0; }
    .top-ad .ad-section { height: 250px; min-height: 250px; }
    .top-ad .adsbygoogle { min-height: 250px; }
    main.has-top-ad { margin-top: 0.75rem; }
    main { margin-top: 0.75rem; padding: 0 0.55rem; }
    .section-panel { padding: 0.75rem; }
    .article-hero,
    .article-section { padding: 0.9rem; }
    .article-related { padding: 0 0.55rem; }
    .article-section p,
    .article-section ul,
    .article-section ol { font-size: 18px; }
    .game-panel { padding: 0.6rem; }
    .game-panel p { font-size: 18px; }
    .marselha-guidance { grid-template-columns: 1fr; gap: 0.45rem; }
    .marselha-guidance span { padding: 0.5rem 0.65rem; }
    .tarot-row { --card-width: clamp(42px, 15vw, 58px); --card-overlap: clamp(28px, 9.8vw, 38px); }
    .tarot-row--6 { padding-left: 0; padding-right: 0; }
    .loading-page { min-height: calc(100svh - 48px); gap: 0.9rem; margin-top: 0; padding: 0.15rem 0.65rem 0.8rem; }
    .loading-box { padding: 1rem; border-radius: 18px; }
    .loading-box p { margin: 0.45rem 0 0; font-size: 17px; }
    .loader-orbit { width: 58px; height: 58px; border-width: 4px; margin: 0.65rem auto; }
    .loading-page .ad-section { width: min(100%, 336px); min-height: 250px; }
    .article-page > .ad-section:first-child { margin-bottom: 0.35rem; }
    .article-page > .ad-section:first-child + .article-section { margin-top: 0.35rem; }
    .result-description p { font-size: 18px; line-height: 1.6; }
    .result-actions { gap: 0.5rem; }
    .result-actions a { flex: 1 1 0; min-width: 0; padding: 0.68rem 0.55rem; font-size: 15px; }
    .result-related .grid-cards { grid-template-columns: 1fr; gap: 18px; }
    .result-related .card-title-bar h3 { font-size: 1.05rem; }
    .result-related .card-content p { font-size: 17px; }
}
