/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    min-height: 100vh;
    padding: 20px;
}

/* Navigation */
header {
    margin-bottom: 30px;
}

.main-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.main-nav li a {
    color: #ffdf70;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block;
}

.main-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: underline;
}

/* Titre principal */
h1 {
    text-align: center;
    font-size: 2.2rem;
    color: #ffdf70;
    margin-bottom: 30px;
}

/* Container signes */
.signes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Carte signe */
.signe-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    width: 140px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: visible;
}

.signe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.signe-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #ffd700;
}

.signe-card h2 {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Mise en valeur du signe tendance */
.signe-card.tendance {
    background: rgba(255, 215, 0, 0.3);
    border: 2px solid #ffd700;
    transform: scale(1.1);
    box-shadow: 0 0 15px 5px rgba(255, 215, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signe-card.tendance:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px 8px rgba(255, 215, 0, 0.8);
}

/* Étoile animée */
.signe-card.tendance::after {
    content: "★";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #ffd700;
    animation: pulseStar 2s infinite alternate ease-in-out;
    text-shadow: 0 0 8px #ffd700, 0 0 15px #fffacd;
}

@keyframes pulseStar {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 1;
    }
}

/* Description (période) */
.periode {
    font-size: 0.9rem;
    color: #fff8b5;
    margin-top: 8px;
}

/* Horoscope */
.horoscope-content {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Feedback */
.feedback {
    margin-top: 15px;
    text-align: center;
}

.feedback button {
    background: #ffd700;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    transition: background-color 0.3s ease;
}

.feedback button:hover {
    background: #e6c200;
}

/* Section partage */
.share-section {
    margin-top: 30px;
    text-align: center;
}

.share-section h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #ffd700;
}

.share-section a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: background-color 0.3s ease;
}

.share-section a:hover {
    opacity: 0.8;
}

.share-section a[href*="facebook.com"] {
    background-color: #3b5998;
}

.share-section a[href*="twitter.com"] {
    background-color: #1da1f2;
}

.share-section a[href*="wa.me"] {
    background-color: #25d366;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #eee;
}

/* Responsive */
@media (max-width: 600px) {
    .signes-container {
        justify-content: center;
    }

    .signe-card {
        width: 120px;
        padding: 10px;
    }

    .feedback button {
        margin: 5px 5px;
        padding: 8px 15px;
    }

    .share-section a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.6rem;
    }
}
/* Page signe - mise en page image + description à droite */

.signe-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 15px;
    max-width: 700px;
    margin: 0 auto;
}

.signe-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.signe-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffd700;
    background-color: white;
}

.signe-description {
    color: #fff8b5;
    font-size: 1rem;
    max-width: 300px;
    text-align: left;
}

/* Responsive */
@media (max-width: 600px) {
    .signe-header {
        flex-direction: column;
        gap: 10px;
    }
    .signe-description {
        max-width: 100%;
        text-align: center;
    }
}

.admin-nav {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.admin-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.admin-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.admin-form button {
    width: 100%;
    padding: 12px;
    background-color: #5a35a5;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.admin-form button:hover {
    background-color: #43268e;
}

.alert-error {
    background-color: #ffe0e0;
    border: 1px solid #ff8080;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #c00;
}
