/* --- Paleta de Colores (Royal Fortune) --- */
:root {
    --color-bg: #1C1400; /* Negro con matiz Dorado */
    --color-primary: #FFD700; /* Oro Puro */
    --color-secondary: #B8860B; /* Oro Envejecido */
    --color-cta: #00A36C; /* Verde Esmeralda */
    --color-text-light: #FFFFFF;
    --color-text-dark: #111111;
    --font-family-serif: 'Playfair Display', serif;
    --font-family-sans: 'Inter', sans-serif;
    /* RUTA: Confirmada como '../img/royal-fortune.png' */
    --background-texture: url('../img/royal-fortune.png'); 
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family-sans); 
}

/* ESTILO CLAVE: APLICAMOS EL FONDO AL HTML */
html {
    /* Fondo con textura sutil y fija */
    background-image: var(--background-texture); 
    background-size: 300px 300px;
    background-attachment: fixed;
    /* Aseguramos que el html tome toda la altura */
    height: 100%;
}

body {
    /* Solo el color sólido, la imagen está en HTML */
    background-color: var(--color-bg); 
    color: var(--color-text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; 
}

/* Capa de Oscurecimiento (Overlay) */
/* Debe ir en el BODY::BEFORE para que flote sobre la textura del HTML */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Más transparencia que el Neon */
    z-index: 1; 
    pointer-events: none; 
}

main {
    max-width: 480px; 
    margin: 70px auto 30px; 
    padding: 0 20px;
    text-align: center;
    width: 100%;
    z-index: 10; 
}

/* --- LOGO y HEADER (Estilo Escudo Dorado) --- */
.main-logo {
    width: 120px; 
    height: 120px;
    border-radius: 10%; /* Ligeramente cuadrado/diamante */
    border: 5px solid var(--color-primary); 
    /* Sombra profunda y elegante */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 15px var(--color-secondary);
    margin-bottom: 25px;
    object-fit: cover;
}

/* === CERTIFIED STATUS (Elegancia) === */
.certified-status {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary); 
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}
.badge-icon { font-size: 1.5em; }

/* --- TÍTULO (Serif y Relieve) --- */
h1 {
    font-family: var(--font-family-serif);
    font-size: 44px; 
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--color-text-light);
    letter-spacing: 1px;
    text-transform: capitalize;
    /* Efecto de Relieve Dorado */
    text-shadow: 
        1px 1px 0 var(--color-secondary), 
        2px 2px 0 var(--color-secondary),
        4px 4px 10px rgba(0, 0, 0, 0.8);
}

.subheading {
    font-size: 20px;
    font-weight: 700;
    color: #CCC;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px #000;
}

/* Valor del Bono (El foco de Riqueza) */
.highlight-value-royal {
    color: var(--color-primary); 
    display: block; 
    font-size: 90px; 
    font-weight: 900;
    margin: 10px 0;
    font-family: var(--font-family-serif);
    /* Sombra de texto dramática */
    text-shadow: 
        0 0 10px var(--color-primary), 
        0 0 20px rgba(255, 215, 0, 0.8),
        3px 3px 5px rgba(0, 0, 0, 0.9); 
}

/* --- CTA BOX CUSTOM (Panel de Lujo) --- */
.cta-box-custom-royal {
    background-color: #332D15; /* Fondo de Terciopelo Oscuro */
    padding: 30px 25px;
    border-radius: 4px; /* Bordes más rectos */
    margin-bottom: 30px;
    border: 4px solid var(--color-secondary); /* Marco de filete */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    position: relative;
    /* Patrón sutil dentro del box */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
}

.cta-box-custom-royal p {
    font-size: 18px;
    color: #f0f0f0;
    font-weight: 400;
    margin-bottom: 25px;
}

.cta-button-royal {
    background-color: var(--color-cta); /* Verde Esmeralda */
    color: var(--color-text-dark); 
    padding: 18px 30px;
    font-size: 24px; 
    font-weight: 700;
    border: none;
    border-radius: 3px; 
    display: block;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 163, 108, 0.8), inset 0 0 5px #ffffff;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-button-royal:hover {
    background-color: #008f5d; 
    box-shadow: 0 8px 30px rgba(0, 163, 108, 1), inset 0 0 8px #ffffff;
}

.lock-assurance {
    margin-top: 15px;
    font-size: 14px;
    color: #999;
}

/* --- SECCIÓN TESTIMONIOS (Discreta) --- */
.testimonial-section {
    margin-top: 20px;
    border-top: 1px solid var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
    padding: 15px 0;
    text-align: left;
}
.testimonial-item {
    font-style: italic;
    font-size: 15px;
    margin: 10px 0;
    color: #ccc;
}
.quote-icon {
    color: var(--color-primary);
    font-size: 1.5em;
    font-weight: 900;
    margin-right: 5px;
    line-height: 0;
    vertical-align: middle;
}
.author {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 5px;
    font-size: 0.9em;
}


/* --- BARRA DE TIEMPO FIJA (Elegante) --- */
.royal-timer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    border-top: 5px solid var(--color-primary); 
    color: var(--color-text-light); 
    text-align: center;
    padding: 18px 15px;
    font-weight: 700;
    font-size: 18px; 
    z-index: 9999; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}
.royal-timer-bar strong { color: var(--color-primary); }

#timer {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--color-cta);
    text-shadow: 0 0 5px rgba(0, 163, 108, 0.5);
}

footer {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #444;
    z-index: 10;
    margin-top: 20px;
}

@media (min-width: 600px) {
    main {
        max-width: 550px; 
    }
    h1 {
        font-size: 55px;
    }
    .highlight-value-royal {
        font-size: 105px;
    }
}