/**
 * Bélier Horoscope - Styles
 *
 * @package Belier_Horoscope
 * @version 1.0.0
 */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* Container principal */
.belier-horoscope-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.belier-horoscope-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: belier-rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes belier-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bloc d'introduction */
.belier-horoscope-intro {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.belier-intro-symbol {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    animation: belier-float 4s ease-in-out infinite;
}

.belier-intro-symbol svg {
    width: 100%;
    height: 100%;
}

@keyframes belier-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.belier-intro-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.belier-intro-dates {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.belier-intro-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.belier-intro-decoration span {
    display: block;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.belier-intro-decoration span:nth-child(1),
.belier-intro-decoration span:nth-child(3) {
    width: 60px;
    height: 1px;
}

.belier-intro-decoration span:nth-child(2) {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.belier-intro-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem 0;
}

/* Bouton modernisé */
.belier-discover-button {
    background: transparent;
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 1rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.belier-discover-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 179, 71, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.belier-discover-button:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.belier-discover-button:hover::before {
    opacity: 1;
}

.belier-discover-button:active {
    transform: translateY(0);
}

.belier-discover-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Contenu de l'horoscope */
.belier-horoscope-content {
    position: relative;
    z-index: 1;
}

.belier-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: belier-fadeIn 0.5s ease forwards;
    opacity: 0;
}

.belier-section:nth-child(1) { animation-delay: 0.1s; }
.belier-section:nth-child(2) { animation-delay: 0.2s; }
.belier-section:nth-child(3) { animation-delay: 0.3s; }
.belier-section:nth-child(4) { animation-delay: 0.4s; }
.belier-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes belier-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.belier-section:hover {
    transform: translateX(5px);
    box-shadow: -5px 0 20px rgba(255, 215, 0, 0.1);
}

.belier-section:last-child {
    margin-bottom: 0;
}

.belier-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.belier-section-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 179, 71, 0.1) 100%);
    border-radius: 12px;
    margin-right: 1rem;
    color: #ffd700;
    flex-shrink: 0;
}

.belier-section-icon svg {
    width: 22px;
    height: 22px;
}

.belier-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffd700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.belier-section-text {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Message Lucas spécial */
.belier-lucas-message {
    color: #50fa7b;
    font-weight: 600;
}

/* Popup / Modal */
.belier-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: belier-fadeIn 0.3s ease;
    opacity: 1;
}

.belier-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: belier-popupSlide 0.3s ease;
}

@keyframes belier-popupSlide {
    from {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.belier-popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.belier-popup-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffd700;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
}

.belier-popup-message {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.belier-popup-close {
    background: transparent;
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 0.75rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.belier-popup-close:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
}

/* Loader */
.belier-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.belier-loader-stars {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.belier-loader-star {
    font-size: 1.5rem;
    animation: belier-twinkle 1s ease-in-out infinite;
}

.belier-loader-star:nth-child(2) {
    animation-delay: 0.2s;
}

.belier-loader-star:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes belier-twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.belier-loader-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 600px) {
    .belier-horoscope-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .belier-horoscope-intro {
        padding: 2rem 1rem;
    }

    .belier-intro-symbol {
        font-size: 3rem;
    }

    .belier-intro-title {
        font-size: 2rem;
    }

    .belier-discover-button {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }

    .belier-section {
        padding: 1.25rem;
    }

    .belier-section-header {
        flex-direction: column;
        text-align: center;
    }

    .belier-section-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .belier-section-title {
        font-size: 0.9rem;
    }

    .belier-popup {
        padding: 1.5rem;
    }
}