:root {
    --bg-dark: #000000;
    --bg-light: #000000;
    --primary-gold: var(--accent, #D4AF37);
    --primary-gold-hover: var(--accent-light, #FFD700);
    --accent-rgb: 212, 175, 55;
    /* Default fallback */
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(var(--accent-rgb), 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: linear-gradient(to bottom, #170d30 0%, #0a0618 40vh, #000000 70vh);
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes coinFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   ELEMENTOS MÍSTICOS - Background Celestial
   ============================================ */

.mystical-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow:
        0 0 3px rgba(212, 175, 55, 0.8),
        0 0 6px rgba(212, 175, 55, 0.5);
    animation: twinkle 3s ease-in-out infinite;
}

.star::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6), transparent);
    border-radius: 50%;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Z-Index para garantir que conteúdo fique acima */
.container {
    position: relative;
    z-index: 10;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER NAVIGATION
   ============================================ */

.nav-left,
.nav-right {
    position: absolute;
    top: 25px;
    display: flex;
    gap: 16px;
    z-index: 100;
}

.nav-left {
    left: 30px;
}

.nav-right {
    right: 30px;
}

.nav-btn {
    font-family: var(--font-heading);
    color: #FFD700;
    background: rgba(23, 13, 48, 0.7);
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), inset 0 0 5px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.nav-btn:hover {
    color: #a855f7 !important;
    border-color: #a855f7 !important;
    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.8),
        0 0 20px rgba(168, 85, 247, 0.4) !important;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(168, 85, 247, 0.5),
        0 0 40px rgba(168, 85, 247, 0.3),
        inset 0 0 15px rgba(168, 85, 247, 0.2) !important;
}

.nav-btn:hover::before {
    opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0 10px 0;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.mystique-logo-stacked {
    margin-bottom: 3rem;
    animation: fadeInScale 1.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.logo-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.main-logo-img {
    height: calc(6rem + 5px);
    /* 5px maior conforme solicitado */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
    display: block;
}



.logo-subtitle-container {
    text-align: center;
    max-width: 700px;
}

.subtitle-main {
    font-family: 'Aptos', 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.subtitle-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA SECTION - Call to Action Buttons
   ============================================ */

.cta-section {
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    height: 56px;
    padding: 0 32px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: rotate(180deg) scale(1.1);
}

.cta-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border: 2px solid rgba(168, 85, 247, 0.5);
    color: #ffffff;
    box-shadow:
        0 4px 15px rgba(124, 58, 237, 0.4),
        0 0 30px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
    border-color: rgba(196, 181, 253, 0.8);
    box-shadow:
        0 6px 25px rgba(124, 58, 237, 0.6),
        0 0 50px rgba(168, 85, 247, 0.4),
        0 0 80px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
}

.cta-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* ============================================
   READINGS SECTION
   ============================================ */

.readings-section {
    padding: 60px 0 80px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: #FFD700;
    /* Amarelo Dourado Vibrante */
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

/* ============================================
   RECURSOS MÍSTICOS - Boxes Verticais
   ============================================ */

.recursos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.recurso-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.recurso-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.recurso-box:hover {
    border-color: #a855f7;
    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.6),
        0 0 50px rgba(168, 85, 247, 0.4),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.recurso-box:hover::before {
    opacity: 1;
}

.recurso-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.recurso-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-gold-hover);
    transition: fill 0.3s ease;
}

.recurso-box:hover .recurso-icon {
    background: rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.recurso-box:hover .recurso-icon svg {
    fill: #a855f7;
}

.recurso-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-gold-hover);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.recurso-box:hover .recurso-title {
    color: #a855f7;
}

.recurso-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Título da Seção de Tiragens */
.tiragens-title {
    margin-top: 60px;
    margin-bottom: 40px;
    color: #FFD700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.tiragens-title::after {
    background: linear-gradient(90deg, transparent, #FFD700, transparent) !important;
}

/* ============================================
   TIRAGENS GRID
   ============================================ */

.readings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reading-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.reading-card:hover {
    border-color: #a855f7;
    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.6),
        0 0 50px rgba(168, 85, 247, 0.4),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.reading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.reading-card:hover::before {
    opacity: 1;
}

.card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    fill: #FFD700;
    stroke: #FFD700;
    transition: all 0.3s ease;
}

.reading-card:hover .card-icon {
    background: rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.reading-card:hover .card-icon svg {
    fill: #a855f7;
    stroke: #a855f7;
}

.card-title {
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    color: #FFD700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.reading-card:hover .card-title {
    color: #a855f7;
}

.card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(23, 13, 48, 0.4), #0a0618 100%);
    width: 100%;
    margin-top: 60px;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.cta-star-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-star-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #FFD700;
    stroke-width: 2;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.final-cta-subtitle {
    font-family: 'Aptos', 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin: 0 auto 40px;
    max-width: 700px;
    line-height: 1.6;
}

.final-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    height: 60px;
    padding: 0 40px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border: 2px solid rgba(168, 85, 247, 0.5);
    color: #ffffff;
    box-shadow:
        0 4px 15px rgba(124, 58, 237, 0.4),
        0 0 30px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.final-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.final-cta-button:hover::before {
    left: 100%;
}

.final-cta-button svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.final-cta-button:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
    border-color: rgba(196, 181, 253, 0.8);
    box-shadow:
        0 6px 25px rgba(124, 58, 237, 0.6),
        0 0 50px rgba(168, 85, 247, 0.4),
        0 0 80px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.final-cta-button:hover svg {
    transform: rotate(180deg) scale(1.1);
}

.final-cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* ============================================
   FOOTER
   ============================================ */

.hypper-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-developed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Aptos', 'Segoe UI', sans-serif;
}

.footer-text {
    font-size: 0.8rem;
    opacity: 0.5;
    color: #fff;
    margin: 0;
}

.hypper-logo {
    height: 48px;
    width: auto;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .recursos-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .readings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-left,
    .nav-right {
        position: static;
        justify-content: center;
        margin: 10px auto;
    }
}

@media (max-width: 640px) {
    .recursos-container {
        grid-template-columns: 1fr;
    }

    .readings-grid {
        grid-template-columns: 1fr;
    }

    .logo-title {
        font-size: 2.5rem;
    }

    .letter-m {
        font-size: 3.5rem;
    }

    .letters-rest {
        font-size: 2.5rem;
    }
}