/* ============================================
   assets/css/tema_mistico.css
   Diseño Premium para MisticSecrets
   ============================================ */

:root {
    --primary: #00d4ff;
    --secondary: #ff00ff;
    --bg-dark: #0a0c14;
    --card-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --neon-glow: 0 0 20px rgba(0, 212, 255, 0.4);
}

body {
    background-color: var(--bg-dark);
    /* A���ade esta l���nea: */
    background: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
                var(--bg-dark);
    background-attachment: fixed; /* Esto hace que el fondo no se mueva al scrollear */
    color: var(--text-main);
    overflow-x: hidden;
}

/* Glassmorphism utility */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Nav Bar Enhancement (if used in index) */
.nav-container {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section Premium */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 30px 20px;
    
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .accent {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn-mistic {
    background: linear-gradient(90deg, var(--primary), #00a8cc);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mistic:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-main);
}

/* Recent Confessions Grid */
.recent-header {
    text-align: center;
    margin: 80px 0 50px;
}

.recent-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.confessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.confession-card {
    padding: 30px;
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.confession-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.confession-body {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    color: #e2e8f0;
}

.confession-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* About & Contact Section */
.info-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, transparent, rgba(10, 12, 20, 0.8));
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    border-radius: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 90%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 20px;
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.btn-block {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Horoscope Preview Section */
.horoscopo-section {
    padding: 60px 20px;
    position: relative;
}

.horoscopo-mini-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
    overflow: hidden;
}

.horoscopo-text {
    text-align: left;
    flex: 1;
}

.horoscopo-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.horoscopo-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 12px 30px;
    font-size: 0.95rem;
}

.horoscopo-icons-orbit {
    flex: 0 0 150px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horoscopo-icons-orbit .symbol {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.6;
    animation: orbit 10s linear infinite;
}

.horoscopo-icons-orbit .symbol:nth-child(1) {
    animation-delay: 0s;
}

.horoscopo-icons-orbit .symbol:nth-child(2) {
    animation-delay: -2.5s;
}

.horoscopo-icons-orbit .symbol:nth-child(3) {
    animation-delay: -5s;
}

.horoscopo-icons-orbit .symbol:nth-child(4) {
    animation-delay: -7.5s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(60px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(60px) rotate(-360deg);
    }
}

@media (max-width: 768px) {
    .horoscopo-mini-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .horoscopo-text {
        text-align: center;
    }
}