/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Racing+Sans+One&display=swap');

/* Banner sotto titoli principali */
.title-banner {
    background: linear-gradient(to right, #d8baff, #bf89eb, #d8baff);
    align-items: center;
    padding: 15px 0;
    margin: 15px auto 20px auto;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(191, 137, 235, 0.3);
    position: relative;
    overflow: hidden;
    width: 800px;
    box-sizing: border-box;
}

.title-banner p {
    color: #ffffff;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
    position: relative;
    z-index: 2;
}



/* Banner specifico per la pagina index - testo più grande */
.welcome-text .title-banner p {
    font-size: 1.6rem;
}

/* Reset e base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Fix per doppia scrollbar */
body.index-page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Prevenzione overflow su elementi principali */
.main-content {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    
    width: 100%;
}

/* Assicura che tutti i contenitori siano responsive */
.hero-section,
.content-section,
.section-two,
.section-three,
.section-four,
.section-five {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    z-index: 10;
}

/* Navbar bianca con gradiente trasparente */
.navbar {
    background: linear-gradient(to bottom, white 0%, white 50%, transparent 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border: none;
    outline: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
}

.nav-logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #a479c3;
    font-family: 'Racing Sans One', cursive;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #c089e9;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown menu styles - FORZA NASCOSTO */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1001;
    /* FORZA NASCOSTO DI DEFAULT */
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease;
}

/* Mostra dropdown solo quando attivo */
.dropdown.active .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Rimuovo l'hover per evitare conflitti */

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #a479c3;
    text-decoration: none;
    font-family: 'Racing Sans One', cursive;
    font-size: 16px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: rgba(164, 121, 195, 0.1);
    color: #c089e9;
    padding-left: 25px;
}

/* Hero section con gradiente e particelle animate */
.hero-section {
    background: none;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -3px;
}

/* Contenitore particelle */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Mandala zodiacale rotante */
.zodiac-mandala {
    position: absolute;
    top: 50%; /* Posizione originale centrata */
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
}

.zodiac-mandala svg {
    width: 100%;
    height: 100%;
    color: #7a5a9c;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Elementi cosmici fluttuanti */
.cosmic-element {
    position: absolute;
    pointer-events: none;
    color: #b19cd9;
    opacity: 0.3;
    z-index: 3;
    transition: transform 0.5s ease-out;
}

.star1 {
    top: 15%;
    left: 20%;
    animation: float1 15s ease-in-out infinite;
    display: none; /* Nasconde le stelle */
}

.moon1 {
    top: 25%;
    right: 15%;
    animation: float2 18s ease-in-out infinite;
}

.planet1 {
    bottom: 30%;
    left: 15%;
    animation: float3 12s ease-in-out infinite;
}

.star2 {
    bottom: 20%;
    right: 25%;
    animation: float4 20s ease-in-out infinite;
    display: none; /* Nasconde le stelle */
}

.moon2 {
    top: 35%;
    left: 70%;
    animation: float5 16s ease-in-out infinite;
}

/* Animazioni di fluttuazione */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(90deg); }
    50% { transform: translate(-5px, -10px) rotate(180deg); }
    75% { transform: translate(-10px, 5px) rotate(270deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-15px, 10px) scale(1.1); }
    66% { transform: translate(10px, -5px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(8px, -12px) rotate(120deg); }
    60% { transform: translate(-12px, -8px) rotate(240deg); }
    90% { transform: translate(5px, 8px) rotate(360deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-8px, -10px); }
    50% { transform: translate(12px, -5px); }
    75% { transform: translate(-5px, 8px); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    40% { transform: translate(15px, -8px) scale(1.2) rotate(180deg); }
    80% { transform: translate(-10px, 12px) scale(0.8) rotate(360deg); }
}

/* Effetti di nebbia cosmica animata */
.hero-section::before,
.hero-section::after {
    display: none;
}

/* Keyframes per la nebbia cosmica */
@keyframes cosmicGlow1 {
    0%, 100% {
        transform: translate(-10%, -10%) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(5%, -15%) scale(1.1) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(10%, 5%) scale(0.9) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        transform: translate(-5%, 10%) scale(1.05) rotate(270deg);
        opacity: 0.35;
    }
}

@keyframes cosmicGlow2 {
    0%, 100% {
        transform: translate(5%, 5%) scale(0.8) rotate(0deg);
        opacity: 0.25;
    }
    30% {
        transform: translate(-10%, 10%) scale(1.2) rotate(120deg);
        opacity: 0.4;
    }
    60% {
        transform: translate(15%, -5%) scale(0.7) rotate(240deg);
        opacity: 0.15;
    }
    90% {
        transform: translate(-5%, -10%) scale(1.1) rotate(360deg);
        opacity: 0.3;
    }
}

/* Welcome text styling */
.welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-text h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: #bf89eb;
}

.welcome-text p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.0rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    color: #ffffff;
}

.blackhole-container {
    width: 500px;
    height: 500px   ;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Home icon styling */
.home-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    transition: all 0.8s ease;
}

.home-icon a {
    display: block;
    transition: transform 0.3s ease;
}

.home-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.home-icon a:hover {
    transform: scale(1.1);
}

.home-icon a:hover img {
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.3));
}

/* Oroscopo icon styling */
.oroscopo-icon {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 100;
    transition: all 0.8s ease;
}

.oroscopo-icon a {
    display: block;
    transition: transform 0.3s ease;
}

.oroscopo-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.oroscopo-icon a:hover {
    transform: scale(1.1);
}

.oroscopo-icon a:hover img {
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.3));
}

/* Consulti icon styling */
.consulti-icon {
    position: fixed;
    bottom: 210px;
    right: 30px;
    z-index: 100;
    transition: all 0.8s ease;
}

.consulti-icon a {
    display: block;
    transition: transform 0.3s ease;
}

.consulti-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.consulti-icon a:hover {
    transform: scale(1.1);
}

.consulti-icon a:hover img {
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.3));
}

/* Posizionamento icone nelle sezioni 2, 3, 4 e 5 */
.section-two-active .oroscopo-icon,
.section-three-active .oroscopo-icon,
.section-four-active .oroscopo-icon,
.section-five-active .oroscopo-icon {
    right: 30px;
    bottom: 120px;
}

.section-two-active .home-icon,
.section-three-active .home-icon,
.section-four-active .home-icon,
.section-five-active .home-icon {
    right: 30px;
    bottom: 30px;
}

.section-two-active .consulti-icon,
.section-three-active .consulti-icon,
.section-four-active .consulti-icon,
.section-five-active .consulti-icon {
    right: 30px;
    bottom: 210px;
}

/* Effetti hover per icone nelle sezioni 2, 3, 4 e 5 */
.section-two-active .home-icon a:hover,
.section-three-active .home-icon a:hover,
.section-four-active .home-icon a:hover,
.section-five-active .home-icon a:hover {
    transform: scale(1.1);
}

.section-two-active .oroscopo-icon a:hover,
.section-three-active .oroscopo-icon a:hover,
.section-four-active .oroscopo-icon a:hover,
.section-five-active .oroscopo-icon a:hover {
    transform: scale(1.1);
}

.section-two-active .consulti-icon a:hover,
.section-three-active .consulti-icon a:hover,
.section-four-active .consulti-icon a:hover,
.section-five-active .consulti-icon a:hover {
    transform: scale(1.1);
}

/* Stili per le pagine segno zodiacale - identici a index.html */
.sign-page.section-two-active .oroscopo-icon,
.sign-page.section-three-active .oroscopo-icon,
.sign-page.section-four-active .oroscopo-icon {
    right: 30px;
    bottom: 120px;
}

.sign-page.section-two-active .home-icon,
.sign-page.section-three-active .home-icon,
.sign-page.section-four-active .home-icon {
    right: 30px;
    bottom: 30px;
}

.sign-page.section-two-active .consulti-icon,
.sign-page.section-three-active .consulti-icon,
.sign-page.section-four-active .consulti-icon {
    right: 30px;
    bottom: 210px;
    transform: translateX(0);
}

.sign-page.section-two-active .home-icon a:hover,
.sign-page.section-three-active .home-icon a:hover,
.sign-page.section-four-active .home-icon a:hover {
    transform: scale(1.1);
}

.sign-page.section-two-active .oroscopo-icon a:hover,
.sign-page.section-three-active .oroscopo-icon a:hover,
.sign-page.section-four-active .oroscopo-icon a:hover {
    transform: scale(1.1);
}

.sign-page.section-two-active .consulti-icon a:hover,
.sign-page.section-three-active .consulti-icon a:hover,
.sign-page.section-four-active .consulti-icon a:hover {
    transform: scale(1.1);
}

#blackhole-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
}

/* Sezione 2 - Servizi */
.section-two {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 80px 20px;
    min-height: 70vh;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-two h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #7a5a9c;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-two p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9a7db8;
    margin-bottom: 60px;
    font-style: italic;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.cartomanti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cartomante-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.15);
    border: 2px solid rgba(154, 125, 184, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 15;
}

.cartomante-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(122, 90, 156, 0.25);
}

.premium-badge {
    position: absolute;
    top: 35px;
    left: 85px;
    background: #b19cd9;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
}

.response-bubble {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #b19cd9;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 2;
}

/* Badge "Disponibile" centrato in alto - solo testo */
.disponibile-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    color: #28a745;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stile per le card */
.cartomante-card {
    position: relative;
}

/* Avatar cartomanti nella griglia principale - FORZATO CIRCOLARE */
.cartomanti-grid .cartomante-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
}

.cartomanti-grid .cartomante-avatar img,
.cartomanti-grid .cartomante-avatar .avatar-img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid #b19cd9 !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #f8f4ff;
    display: block !important;
    box-shadow: 0 4px 12px rgba(122, 90, 156, 0.2);
    aspect-ratio: 1/1 !important;
}

.cartomanti-grid .cartomante-avatar .default-avatar,
.cartomanti-grid .user-icon {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid #b19cd9 !important;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.5rem !important;
    color: #888 !important;
    box-shadow: 0 4px 12px rgba(122, 90, 156, 0.2);
    flex-shrink: 0 !important;
    aspect-ratio: 1/1 !important;
}

.cartomanti-grid .cartomante-avatar .default-avatar {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5) !important;
    color: #888 !important;
    font-size: 32px !important;
}

.status-online {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid white;
}

.cartomante-card h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.2rem;
    color: #7a5a9c;
    margin-bottom: 5px;
    font-weight: bold;
}

.segno {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #9a7db8;
    margin-bottom: 10px;
    font-style: italic;
}

.rating {
    color: #d4a5d4;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #7a5a9c;
    font-style: italic;
    margin-bottom: 20px;
    height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
    flex-shrink: 0;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.consult-btn {
    background: linear-gradient(135deg, #b19cd9, #9a7db8);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.consult-btn:hover {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    transform: translateY(-2px);
}

/* Sezione 3 - Cosa Possiamo Dire Di Noi */
.section-three {
    background: none;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 80px 20px;
}

.section-three h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #7a5a9c;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.section-three > .container > p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9a7db8;
    margin-bottom: 60px;
    font-style: italic;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-card-3 {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.15);
    border: 2px solid rgba(154, 125, 184, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card-3:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(122, 90, 156, 0.25);
}

.service-icon {
    margin-bottom: 25px;
}

.cartomante-illustration,
.cards-illustration,
.services-illustration {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card-3 h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.3rem;
    color: #7a5a9c;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-card-3 p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #9a7db8;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* ==================== SEZIONE 4: TESTIMONIANZE ==================== */
.section-four {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0 0 80px 0;
    position: relative;
}

.section-four h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #7a5a9c;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-four > .container > p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #9a7db8;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.carousel-container {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3 card = 300% */
    gap: 0;
}

.testimonial-card {
    flex: 0 0 33.333%; /* Ogni card occupa 1/3 della larghezza totale */
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    box-sizing: border-box;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.15);
    margin: 0;
    border: 1px solid rgba(205, 167, 253, 0.2);
    width: 100%;
}

.testimonial-card:last-child {
    border-right: none;
}

.testimonial-header {
    margin-bottom: 25px;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-badge {
    background: rgba(205, 167, 253, 0.15);
    color: #9a7db8;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    line-height: 1.2;
    display: inline-block;
    text-align: center;
}

.testimonial-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
    height: 140px;
    justify-content: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #cda7fd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b19cd9, #9f7aea);
    box-shadow: 0 8px 20px rgba(205, 167, 253, 0.3);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #b19cd9, #9f7aea);
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    color: #7a5a9c;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.profile-stats {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #9a7db8;
    margin: 0;
    font-style: italic;
    line-height: 1.3;
}

.testimonial-content {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(205, 167, 253, 0.08);
    border-radius: 20px;
    border-left: 4px solid #cda7fd;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 100px;
}

.testimonial-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #7a5a9c;
    margin: 0;
    line-height: 1.4;
    font-style: italic;
    text-align: center;
    font-weight: 500;
}

.contact-btn {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg, #b19cd9 0%, #9f7aea 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-family: 'Racing Sans One', cursive;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    box-shadow: 0 8px 20px rgba(177, 156, 217, 0.3);
    margin-top: auto;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(177, 156, 217, 0.5);
    background: linear-gradient(135deg, #9f7aea 0%, #b19cd9 100%);
}

.contact-icon {
    font-size: 1.2rem;
}

/* ==================== SEZIONE 5: ULTIMI CONSULTI ==================== */
.section-five {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0 0 80px 0;
    position: relative;
}

.section-five h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #7a5a9c;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-five > .container > p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #9a7db8;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #cda7fd;
    border-radius: 25px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #7a5a9c;
    box-sizing: border-box;
}

.search-box input::placeholder {
    color: #b19cd9;
    font-style: italic;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #9a7db8;
}

.consulti-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-consulto {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(122, 90, 156, 0.1);
    border: 1px solid rgba(205, 167, 253, 0.3);
    margin-bottom: 20px;
}

.categoria-badge {
    background: #b19cd9;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Racing Sans One', cursive;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.consulto-content {
    margin-bottom: 25px;
    text-align: center;
}

.consulto-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #7a5a9c;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    font-weight: normal;
}

.consulto-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 200px;
}

.line-decoration {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #cda7fd, transparent);
}

.risposta-section {
    margin-top: 30px;
}

.risposta-intro {
    margin-bottom: 20px;
}

.ciao-label {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #7a5a9c;
    font-style: italic;
}

.risposta-content {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid #cda7fd;
}

.risposta-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #7a5a9c;
    line-height: 1.5;
    margin: 0 0 15px 0;
    text-align: left;
}

.risposta-content p:last-child {
    margin-bottom: 0;
}

.consulti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 80px;
    height: 80vh;
    width: 100%;
    margin: 0;
    padding: 20px;
}

.consulto-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    padding: 40px;
    box-shadow: inset 0 0 0 2px rgba(205, 167, 253, 0.3);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    min-height: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: cardRotate 20s linear infinite;
}

.consulto-card:nth-child(1) {
    animation-delay: 0s;
}

.consulto-card:nth-child(2) {
    animation-delay: 5s;
}

.consulto-card:nth-child(3) {
    animation-delay: 10s;
}

.consulto-card:nth-child(4) {
    animation-delay: 15s;
}

@keyframes cardRotate {
    0%, 20% { 
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
    25%, 45% { 
        transform: scale(1.02) rotateY(10deg);
        opacity: 0.9;
        background: rgba(205, 167, 253, 0.1);
    }
    50%, 70% { 
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
    75%, 95% { 
        transform: scale(0.98) rotateY(-5deg);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

.consulto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(122, 90, 156, 0.25);
    border-color: rgba(205, 167, 253, 0.4);
}

.categoria-badge {
    background: linear-gradient(135deg, #b19cd9, #9f7aea);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 30px;
    text-transform: capitalize;
    box-shadow: 0 4px 12px rgba(177, 156, 217, 0.3);
    align-self: flex-start;
}

.consulto-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
}

.consulto-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #7a5a9c;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    max-width: 90%;
}

.consulto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.risponde-label {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #9a7db8;
    font-style: italic;
}

.cartomante-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cartomante-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #cda7fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartomante-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cartomante-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background: #9f7aea;
}

.cartomante-name {
    font-family: 'Racing Sans One', cursive;
    font-size: 1rem;
    color: #7a5a9c;
    font-weight: bold;
    text-transform: lowercase;
}

.decorative-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-width: 60px;
}

.decorative-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 50px;
    height: 1px;
    background: #cda7fd;
}

.heart-icon {
    font-size: 1.2rem;
    z-index: 1;
    background: white;
    padding: 0 6px;
    color: #9f7aea;
}

/* Responsive per sezione consulti */
@media (max-width: 768px) {
    .section-five h2 {
        font-size: 1.8rem;
    }
    
    .consulti-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        height: 100vh;
    }
    
    .consulto-card {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .consulto-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .cartomante-avatar {
        width: 40px;
        height: 40px;
    }
    
    .decorative-line::before {
        left: 10px;
        right: 40px;
    }
    
    .categoria-badge {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .consulti-grid {
        height: 120vh;
    }
    
    .consulto-content p {
        font-size: 1rem;
        max-width: 95%;
    }
}

/* Controlli del carosello */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #cda7fd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #7a5a9c;
    transition: all 0.3s ease;
    font-weight: bold;
}

.carousel-btn:hover {
    background: #cda7fd;
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #cda7fd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #cda7fd;
    transform: scale(1.2);
}

.dot:hover {
    background: #b19cd9;
}

/* Responsive per carosello */
@media (max-width: 768px) {
    .testimonials-carousel {
        max-width: 400px;
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
        min-height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
    
    .contact-btn {
        max-width: 280px;
    }
}

.service-card-3 strong {
    color: #7a5a9c;
    font-weight: bold;
}

/* ===========================================
   CAROUSEL CONSULTI STYLES
   =========================================== */
.consulti-carousel {
    width: 100vw;
    margin: 0;
    position: relative;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
}

.consulti-carousel-container {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #f8f4ff 0%, #ede4ff 100%);
}

.consulti-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%; /* 4 card = 400% */
    gap: 0;
    height: 100%;
}

.consulto-carousel-card {
    flex: 0 0 25%; /* Ogni card occupa 1/4 della track width (25% di 400% = 100% viewport) */
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 80px;
    box-sizing: border-box;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    border: none;
    width: 100vw;
    max-width: none;
}

.consulto-carousel-card .categoria-badge {
    align-self: flex-start;
    margin-bottom: 30px;
}

.consulto-carousel-card .consulto-content {
    margin-bottom: 40px;
    text-align: left;
}

.consulto-carousel-card .consulto-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.consulto-carousel-card .consulto-footer {
    margin-bottom: 40px;
    justify-content: flex-start;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
}

.consulto-carousel-card .risposta-section {
    text-align: left;
}

.consulto-carousel-card .risposta-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Controlli carousel consulti */
.consulti-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0 auto;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    position: relative;
    text-align: center;
}

.consulti-carousel-btn {
    background: linear-gradient(135deg, #b19cd9, #9a7db8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(122, 90, 156, 0.3);
}

.consulti-carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 90, 156, 0.4);
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
}

.consulti-carousel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.consulti-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #cda7fd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consulti-dot.active {
    background: #cda7fd;
    transform: scale(1.2);
}

.consulti-dot:hover {
    background: #b19cd9;
}

/* Responsive per carousel consulti */
@media (max-width: 768px) {
    .consulto-carousel-card {
        padding: 40px 30px;
        min-height: 500px;
    }
    
    .consulto-carousel-card .consulto-content p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .consulto-carousel-card .risposta-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .consulti-carousel-controls {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 30px auto 0 auto !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 20px 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        position: relative !important;
    }
    
    .consulti-carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .consulti-carousel-dots {
        display: flex !important;
        gap: 12px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .consulto-carousel-card {
        padding: 30px 20px;
        min-height: 450px;
    }
    
    .consulto-carousel-card .consulto-content p {
        font-size: 1.1rem;
    }
    
    .consulto-carousel-card .risposta-content p {
        font-size: 1rem;
    }
    
    .consulti-carousel-controls {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 25px auto 0 auto !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 15px 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        position: relative !important;
    }
    
    .consulti-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .consulti-dot {
        width: 12px;
        height: 12px;
    }
    
    .consulti-carousel-dots {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }
}

.service-card {
    background: linear-gradient(135deg, #f8f4ff 0%, #ede4ff 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.1);
    border: 2px solid rgba(154, 125, 184, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(122, 90, 156, 0.2);
}

.service-card h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.8rem;
    color: #7a5a9c;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-card p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #9a7db8;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Content sections - total white */
.content-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.content-section p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin: 0;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #eeb4c0;
}

.submit-button {
    background-color: #eeb4c0;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #e8a0ae;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    color: #666;
    margin: 0;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        font-size: 16px;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        justify-content: center;
        padding-right: 0;
    }

    .blackhole-container {
        width: 350px;
        height: 350px;
    }
}

/* Responsive per tablet */
@media screen and (max-width: 1024px) {
    .cartomanti-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .consulti-grid {
        gap: 50px;
        padding: 15px;
    }
}

/* Responsive completo per mobile */
@media screen and (max-width: 768px) {
    /* Container principali */
    .container, .nav-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .nav-logo img {
        height: 50px;
        max-width: 150px;
    }
    
    .nav-menu {
        top: 70px;
        padding: 20px 0;
    }
    
    /* Hero section */
    .hero-section {
        padding: 100px 0 50px 0;
        text-align: center;
        height: auto;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-section p {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Blackhole container */
    .blackhole-container {
        width: 280px !important;
        height: 280px !important;
        position: relative;
        margin: 30px auto;
    }
    
    /* Grids responsive */
    .cartomanti-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Cards dei cartomanti */
    .cartomante-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .user-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .cartomante-avatar img {
        width: 60px;
        height: 60px;
    }
    
    /* Sezioni di contenuto */
    .content-section {
        padding: 50px 0;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .content-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Icone fluttuanti */
    .home-icon img,
    .oroscopo-icon img,
    .consulti-icon img {
        width: 60px;
        height: 60px;
    }
    
    .home-icon,
    .oroscopo-icon,
    .consulti-icon {
        bottom: 20px;
    }
    
    .oroscopo-icon {
        right: 20px;
        bottom: 90px;
    }
    
    .consulti-icon {
        right: 20px;
        bottom: 20px;
    }
    
    .home-icon {
        right: 20px;
        bottom: 160px;
    }
    
    /* Badge e bolle */
    .premium-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        top: 25px;
        left: calc(50% + 35px);
    }
    
    .response-bubble {
        font-size: 0.8rem;
        padding: 6px 10px;
        top: 10px;
        right: 10px;
    }
    
    /* Consulti grid mobile */
    .consulti-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        height: auto;
        padding: 20px;
    }
    
    .consulto-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    .blackhole-container {
        width: 250px !important;
        height: 250px !important;
    }
    
    .nav-logo img {
        height: 40px;
        max-width: 120px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 10px;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    .cartomante-card {
        padding: 15px;
    }
    
    .user-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .home-icon img,
    .oroscopo-icon img,
    .consulti-icon img {
        width: 50px;
        height: 50px;
    }
    
    .oroscopo-icon {
        right: 15px;
        bottom: 75px;
    }
    
    .consulti-icon {
        right: 15px;
        bottom: 15px;
    }
    
    .home-icon {
        right: 15px;
        bottom: 135px;
    }
    
    .premium-badge {
        left: calc(50% + 30px);
        top: 20px;
    }
    
    .consulti-grid {
        gap: 20px;
        padding: 15px;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 80px 0 40px 0;
        min-height: 70vh;
    }
    
    /* Fix per elementi che potrebbero causare overflow */
    .consulto-content p {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .categoria-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

/* Media query per schermi extra piccoli */
@media screen and (max-width: 360px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .blackhole-container {
        width: 200px !important;
        height: 200px !important;
    }
    
    .nav-container {
        padding: 0 5px;
    }
    
    .cartomante-card {
        padding: 10px;
        margin: 0 5px;
    }
    
    .consulti-grid {
        padding: 10px;
        gap: 15px;
    }
    
    .home-icon img,
    .oroscopo-icon img,
    .consulti-icon img {
        width: 45px;
        height: 45px;
    }
    
    .oroscopo-icon {
        right: 10px;
        bottom: 65px;
    }
    
    .consulti-icon {
        right: 10px;
        bottom: 10px;
    }
    
    .home-icon {
        right: 10px;
        bottom: 120px;
    }
}

/* ===========================================
   FOOTER STYLES
   =========================================== */
.site-footer {
    background: linear-gradient(135deg, #7a5a9c, #9a7db8);
    color: #ffffff;
    padding: 40px 0 20px 0;
    font-family: 'Racing Sans One', cursive;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left {
    flex: 2;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-left h3,
.footer-right h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 1.2rem;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.terms-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #cda7fd;
}

.social-links {
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.payment-methods {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.payment-logo {
    height: 25px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-right {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .payment-methods {
        justify-content: flex-start;
    }
    
    .contact-description {
        font-size: 0.8rem;
    }
    
    .footer-left h3,
    .footer-right h3 {
        font-size: 1.1rem;
    }
}

/* ==========================================
   STILI PAGINA SEGNI ZODIACALI
   ========================================== */

/* Hero Container per segni zodiacali */
.zodiac-hero-container {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0px; /* Rimuovo il margine per avvicinare alla navbar */
    padding-top: 0px; /* Rimuovo il padding per portare tutto più vicino alla navbar */
}

.zodiac-hero-content {
    position: absolute;
    top: 40%; /* Abbasso il titolo e banner per allinearli con il mandala */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.zodiac-hero-content h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: #7a5a9c;
}

.zodiac-hero-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    color: #7a5a9c;
}

/* Banner specifico per segni zodiacali - identico all'index */
.zodiac-hero-content .title-banner p {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    font-size: 1.6rem !important;
}

/* Mandala specifico per pagina segni zodiacali - stesso posizionamento dell'index */
.zodiac-hero-container .zodiac-mandala {
    top: 40%; /* Più in basso rispetto alla navbar */
}

/* Sezione introduzione */
.zodiac-intro-section {
    background: #ffffff;
    padding: 100px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #7a5a9c;
    margin-bottom: 30px;
    font-weight: bold;
}

.intro-text p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #7a5a9c;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.intro-text strong {
    color: #7a5a9c;
    font-weight: bold;
}

/* Ruota degli elementi */
.elements-wheel {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    animation: wheelRotate 20s linear infinite;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.element span {
    font-size: 0.8rem;
    margin-top: 5px;
    font-family: 'Racing Sans One', cursive;
}

.element.fire {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.element.earth {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.element.air {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.element.water {
    background: linear-gradient(135deg, #1e90ff, #0066cc);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.element:hover {
    transform: scale(1.1) translateX(-50%);
}

.element.earth:hover {
    transform: scale(1.1) translateY(-50%);
}

.element.water:hover {
    transform: scale(1.1) translateY(-50%);
}

@keyframes wheelRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sezione segni zodiacali */
.zodiac-signs-section {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%) !important;
    padding: 100px 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

.zodiac-signs-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

.zodiac-signs-section h2 {
    font-family: 'Racing Sans One', cursive !important;
    font-size: 2.2rem !important;
    color: #7a5a9c !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    font-weight: bold !important;
}

.zodiac-signs-section .section-subtitle {
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.6rem !important;
    color: #7a5a9c !important;
    text-align: center !important;
    margin-bottom: 80px !important;
    font-style: italic !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* DEBUG: Forza la griglia a funzionare */
.zodiac-signs-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Card singolo segno */
.zodiac-sign-card {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 40px 30px !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 40px rgba(122, 90, 156, 0.15) !important;
    border: 2px solid rgba(154, 125, 184, 0.2) !important;
    transition: all 0.4s ease !important;
    text-align: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 350px !important;
}

.zodiac-sign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.zodiac-sign-card.fire::before {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
}

.zodiac-sign-card.earth::before {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(160, 82, 45, 0.1) 100%);
}

.zodiac-sign-card.air::before {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(70, 130, 180, 0.1) 100%);
}

.zodiac-sign-card.water::before {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
}

.zodiac-sign-card:hover::before {
    opacity: 1;
}

.zodiac-sign-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(122, 90, 156, 0.25);
    border-color: rgba(205, 167, 253, 0.4);
}

/* Simbolo del segno */
.sign-symbol {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    z-index: 2 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.fire .sign-symbol { color: #ff6b35 !important; }
.earth .sign-symbol { color: #8b4513 !important; }
.air .sign-symbol { color: #4682b4 !important; }
.water .sign-symbol { color: #1e90ff !important; }

.zodiac-sign-card:hover .sign-symbol {
    transform: scale(1.1) !important;
}

/* Informazioni del segno */
.sign-info {
    z-index: 2 !important;
    position: relative !important;
    margin-bottom: 25px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.sign-info h3 {
    font-family: 'Racing Sans One', cursive !important;
    font-size: 1.8rem !important;
    color: #7a5a9c !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
}

.sign-dates {
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.1rem !important;
    color: #9a7db8 !important;
    margin-bottom: 8px !important;
    font-style: italic !important;
}

.sign-element {
    font-family: 'Racing Sans One', cursive !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    padding: 5px 15px !important;
    border-radius: 15px !important;
    display: inline-block !important;
}

.fire .sign-element {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
}

.earth .sign-element {
    background: linear-gradient(135deg, #8b4513, #a0522d) !important;
    color: white !important;
}

.air .sign-element {
    background: linear-gradient(135deg, #87ceeb, #4682b4) !important;
    color: white !important;
}

.water .sign-element {
    background: linear-gradient(135deg, #1e90ff, #0066cc) !important;
    color: white !important;
}

.sign-traits {
    font-family: 'Dancing Script', cursive !important;
    font-size: 1rem !important;
    color: #7a5a9c !important;
    font-style: italic !important;
    line-height: 1.4 !important;
}

/* Pulsante del segno */
.sign-btn {
    background: linear-gradient(135deg, #b19cd9, #9a7db8) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 25px !important;
    font-family: 'Racing Sans One', cursive !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    z-index: 2 !important;
    position: relative !important;
    flex-shrink: 0 !important;
    margin-top: auto !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
}

.sign-btn:hover {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(122, 90, 156, 0.3) !important;
}

/* Sezione servizi */
.zodiac-services-section {
    background: #ffffff;
    padding: 100px 0;
}

.zodiac-services-section h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.4rem;
    color: #7a5a9c;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.zodiac-services-section .section-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: #9a7db8;
    text-align: center;
    margin-bottom: 80px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

/* Griglia servizi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* Card servizio */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(122, 90, 156, 0.15);
    border: 2px solid rgba(154, 125, 184, 0.2);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.service-card.featured {
    border: 3px solid #cda7fd;
    background: linear-gradient(135deg, rgba(205, 167, 253, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 20px 50px rgba(122, 90, 156, 0.2);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(122, 90, 156, 0.25);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #b19cd9, #9f7aea);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Racing Sans One', cursive;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.6rem;
    color: #7a5a9c;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-card p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #7a5a9c;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.service-price {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.4rem;
    color: #9f7aea;
    font-weight: bold;
    margin-bottom: 20px;
}

.service-btn {
    background: linear-gradient(135deg, #b19cd9, #9a7db8);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Racing Sans One', cursive;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.service-btn:hover {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 90, 156, 0.3);
}

.featured-btn {
    background: linear-gradient(135deg, #cda7fd, #b19cd9);
    box-shadow: 0 8px 25px rgba(205, 167, 253, 0.4);
}

.featured-btn:hover {
    background: linear-gradient(135deg, #b19cd9, #9f7aea);
}

/* Posizionamento icone per pagina zodiacale */
.zodiac-page .oroscopo-icon,
.zodiac-page .home-icon,
.zodiac-page .consulti-icon,
.sign-page .oroscopo-icon,
.sign-page .home-icon,
.sign-page .consulti-icon {
    right: 30px;
}

.zodiac-page .oroscopo-icon,
.sign-page .oroscopo-icon {
    bottom: 120px;
}

.zodiac-page .home-icon,
.sign-page .home-icon {
    bottom: 30px;
}

.zodiac-page .consulti-icon,
.sign-page .consulti-icon {
    bottom: 210px;
}

/* Responsive per pagina zodiacale */
@media (max-width: 1200px) {
    .zodiac-signs-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 900px) {
    .zodiac-signs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .intro-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .elements-wheel {
        width: 250px !important;
        height: 250px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .zodiac-hero-content {
        top: 25%; /* Avvicino alla navbar anche su mobile */
        transform: translate(-50%, -50%) scale(1.05);
        width: 88%;
    }
    
    .zodiac-hero-content h1 {
        font-size: 2rem;
    }
    
    .zodiac-hero-content .title-banner p {
        font-size: 1.6rem !important;
    }
    
    .intro-text h2 {
        font-size: 1.8rem !important;
    }
    
    .zodiac-signs-section h2 {
        font-size: 1.8rem !important;
    }
    
    .section-two h2,
    .section-three h2,
    .section-four h2 {
        font-size: 1.8rem !important;
    }
    
    .zodiac-signs-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .zodiac-sign-card {
        padding: 30px 25px !important;
    }
    
    .sign-symbol {
        font-size: 2.2rem !important;
    }
    
    .sign-info h3 {
        font-size: 1.5rem !important;
    }
    
    .zodiac-services-section h2 {
        font-size: 1.8rem !important;
    }
    
    .service-icon,
    .cartomante-illustration,
    .cards-illustration,
    .services-illustration,
    .form-icon,
    .success-icon {
        font-size: 2.2rem !important;
    }
    
    /* Normalizzazione paragrafi per 768px */
    .section-two p,
    .section-three > .container > p,
    .section-four > .container > p,
    .section-five > .container > p,
    .service-card-3 p,
    .intro-text p,
    .zodiac-hero-content p {
        font-size: 1rem !important;
    }
    
    .service-card-3 h3,
    .sign-info h3 {
        font-size: 1.2rem !important;
    }
    
    /* Ottimizzazione cartomanzia per 768px */
    .form-card h2,
    .step-title,
    .success-card h3,
    .info-card h3 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 575px) {
    .zodiac-hero-content {
        top: 22%; /* Avvicino alla navbar anche per schermi piccoli */
        transform: translate(-50%, -50%) scale(1.0);
        width: 92%;
    }
    
    .zodiac-hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .zodiac-hero-content .title-banner p {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .zodiac-hero-content {
        top: 20%; /* Avvicino alla navbar per schermi molto piccoli */
        transform: translate(-50%, -50%) scale(0.95);
        width: 90%;
    }
    
    .zodiac-hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .zodiac-hero-content .title-banner p {
        font-size: 0.8rem !important;
    }
}
    
    .intro-text h2 {
        font-size: 1.5rem;
    }
    
    .zodiac-signs-section h2 {
        font-size: 1.5rem;
    }
    
    .section-two h2,
    .section-three h2,
    .section-four h2,
    .section-five h2,
    .zodiac-services-section h2 {
        font-size: 1.5rem !important;
    }
    
    .zodiac-sign-card {
        padding: 25px 20px;
    }
    
    .sign-symbol {
        font-size: 1.8rem !important;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon,
    .cartomante-illustration,
    .cards-illustration,
    .services-illustration,
    .form-icon,
    .success-icon {
        font-size: 1.8rem !important;
    }
    
    /* Normalizzazione paragrafi per 480px */
    .section-two p,
    .section-three > .container > p,
    .section-four > .container > p,
    .section-five > .container > p,
    .service-card-3 p,
    .intro-text p,
    .zodiac-hero-content p {
        font-size: 0.9rem !important;
    }
    
    .service-card-3 h3,
    .sign-info h3 {
        font-size: 1.1rem !important;
    }
    
    /* Ottimizzazione cartomanzia per 480px */
    .form-card h2,
    .step-title,
    .success-card h3,
    .info-card h3 {
        font-size: 1.5rem !important;
    }
    
    .elements-wheel {
        width: 200px;
        height: 200px;
    }
    
    .element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .element span {
        font-size: 0.7rem;
    }

/* Stili per le pagine dei segni zodiacali */
.sign-hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    overflow: hidden;
}

/* Gradienti specifici per elementi - sovrascritti dal tema uniforme */
.fire .sign-hero-section,
.fire-sign .sign-hero-section {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
}

.earth .sign-hero-section,
.earth-sign .sign-hero-section {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
}

.air .sign-hero-section,
.air-sign .sign-hero-section {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
}

.water .sign-hero-section,
.water-sign .sign-hero-section {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
}

.sign-image-container {
    text-align: center;
    z-index: 2;
    position: relative;
}

.sign-symbol-large {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

.sign-symbol-large svg {
    width: 100%;
    height: 100%;
    fill: #7a5a9c;
    stroke: #7a5a9c;
    stroke-width: 2;
}

.sign-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 3.2rem;
    color: #7a5a9c;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.sign-dates {
    font-size: 1.5rem;
    color: #7a5a9c;
    font-weight: 300;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sezione bottoni informativi */
.sign-info-buttons {
    padding: 4rem 0;
    background: #ffffff;
}

.info-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(122, 90, 156, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.1rem;
    color: #7a5a9c;
    position: relative;
    overflow: hidden;
}

.info-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(122, 90, 156, 0.2);
    border-color: #cda7fd;
}

.info-btn.active {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    color: #7a5a9c;
    border-color: #9a7db8;
    box-shadow: 0 15px 35px rgba(122, 90, 156, 0.25);
}

.btn-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a5a9c;
    transition: all 0.3s ease;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
    color: inherit;
}

.info-btn:hover .btn-icon {
    transform: scale(1.1);
    color: #9a7db8;
}

.info-btn.active .btn-icon {
    color: #7a5a9c;
}

/* Responsive per i bottoni informativi */
@media (max-width: 768px) {
    .info-buttons-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        max-width: 400px;
    }
    
    .info-btn {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
    
    .btn-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Sezione contenuti */
.sign-content-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
}

.content-display {
    max-width: 800px;
    margin: 0 auto;
}

.content-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-panel.active {
    display: block;
}

.content-panel h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    color: #7a5a9c;
    margin-bottom: 2rem;
    text-align: center;
}

.content-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #7a5a9c;
}

.content-panel strong {
    color: #7a5a9c;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sezione dettagli del segno */
.sign-details-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
}

.sign-details-section h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    color: #7a5a9c;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.25rem;
    border-radius: 15px;
    border: 2px solid rgba(122, 90, 156, 0.1);
    box-shadow: 0 8px 20px rgba(122, 90, 156, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(122, 90, 156, 0.15);
    border-color: rgba(122, 90, 156, 0.2);
}

.detail-label {
    font-family: 'Racing Sans One', cursive;
    font-weight: 600;
    color: #7a5a9c;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}

/* Responsive design per le pagine dei segni */
@media (max-width: 768px) {
    .sign-symbol-large {
        font-size: 2.5rem;
    }
    
    .sign-title {
        font-size: 2.5rem;
    }
    
    .sign-dates {
        font-size: 1rem;
    }
    
    .info-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .info-btn {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
    
    .content-panel h2 {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }
    
    .detail-item {
        padding: 1rem;
    }
    
    .detail-label {
        font-size: 0.8rem;
    }
    
    .detail-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .info-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .sign-symbol-large {
        font-size: 2rem;
    }
    
    .sign-title {
        font-size: 2rem;
    }
    
    /* Responsive icone per pagine segni */
    .sign-page .oroscopo-icon,
    .sign-page .home-icon,
    .sign-page .consulti-icon {
        right: 15px;
    }
    
    .sign-page .oroscopo-icon {
        bottom: 120px;
    }
    
    .sign-page .home-icon {
        bottom: 30px;
    }
    
    .sign-page .consulti-icon {
        bottom: 210px;
    }
    
    .sign-page .oroscopo-icon img,
    .sign-page .home-icon img,
    .sign-page .consulti-icon img {
        width: 45px;
        height: 45px;
    }
}

/* === COMPATIBILITÀ DI COPPIA === */
.compatibility-hero {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    position: relative;
    overflow: hidden;
    padding-top: 95px;
}

.compatibility-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(122,90,156,0.1)" font-size="12">💕</text></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    opacity: 0.3;
}

.compatibility-hero .hero-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: #7a5a9c;
}

.compatibility-hero .hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 1rem;
    color: #7a5a9c;
}

.compatibility-hero .hero-description {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #9a7db8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compatibility-form-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #cfa8ff 0%, #ffffff 100%);
}

.compatibility-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(122, 90, 156, 0.15);
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid rgba(122, 90, 156, 0.1);
}

.compatibility-form-card h2 {
    text-align: center;
    color: #7a5a9c;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

/* Responsive per compatibilità di coppia */
@media (max-width: 768px) {
    .compatibility-hero {
        min-height: 80vh;
        padding: 100px 0 60px;
    }
    
    .compatibility-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .compatibility-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .compatibility-hero .hero-description {
        font-size: 0.9rem;
    }
    
    .couple-inputs {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .compatibility-form-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .compatibility-hero .hero-title {
        font-size: 2rem;
    }
    
    .compatibility-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .compatibility-hero .hero-description {
        font-size: 0.8rem;
    }
    
    .compatibility-form-card h2 {
        font-size: 1.4rem;
    }
}

.couple-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.partner-input {
    background: #f8f4ff;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.partner-input:hover {
    border-color: #7a5a9c;
    transform: translateY(-2px);
}

.partner-input h3 {
    text-align: center;
    color: #7a5a9c;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #7a5a9c;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0d9f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #7a5a9c;
}

.compatibility-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 15px 30px;
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.compatibility-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(122, 90, 156, 0.3);
}

.compatibility-btn.secondary {
    background: linear-gradient(135deg, #7a5a9c, #9a7db8);
    margin-top: 30px;
}

.btn-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Risultati Compatibilità */
.compatibility-results {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f4ff 0%, #cfa8ff 100%);
    color: #333;
}

.results-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 50px;
    color: #333;
    box-shadow: 0 30px 60px rgba(122, 90, 156, 0.2);
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(122, 90, 156, 0.1);
}

.couple-header {
    text-align: center;
    margin-bottom: 40px;
}

.couple-names {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #7a5a9c;
}

.couple-names .heart {
    margin: 0 15px;
    font-size: 2.5rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.couple-signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.sign-info {
    text-align: center;
}

.sign-symbol {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
    color: #7a5a9c;
}

.sign-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #7a5a9c;
}

.compatibility-score {
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#ddd 0deg, #ddd 360deg);
    position: relative;
    transition: all 0.5s ease;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
}

#compatibility-percentage {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: bold;
    color: #7a5a9c;
}

.compatibility-analysis {
    margin-top: 40px;
}

.compatibility-analysis h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #7a5a9c;
}

.analysis-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
    color: #555;
}

.compatibility-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.detail-card {
    background: #f8f4ff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(122, 90, 156, 0.1);
}

.detail-card h4 {
    margin-bottom: 15px;
    color: #7a5a9c;
    font-size: 1.1rem;
}

.level-bar {
    width: 100%;
    height: 8px;
    background: #e0d9f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #9a7db8, #7a5a9c);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease;
}

.relationship-advice {
    background: #f8f4ff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(122, 90, 156, 0.1);
}

.relationship-advice h4 {
    color: #7a5a9c;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.relationship-advice p {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

/* Come Funziona */
.how-it-works-section {
    padding: 80px 0;
    background: white;
}

.how-it-works-section h2 {
    text-align: center;
    color: #7a5a9c;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.how-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f4ff 0%, #ffffff 100%);
    transition: transform 0.3s ease;
    border: 2px solid rgba(122, 90, 156, 0.1);
}

.how-card:hover {
    transform: translateY(-10px);
    border-color: #7a5a9c;
}

.how-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.how-card h3 {
    color: #7a5a9c;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.how-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design per Compatibilità */
@media (max-width: 768px) {
    .couple-inputs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-input {
        padding: 20px;
    }
    
    .compatibility-form-card {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .results-card {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .couple-signs {
        flex-direction: column;
        gap: 20px;
    }
    
    .compatibility-details {
        grid-template-columns: 1fr;
    }
    
    .couple-names {
        font-size: 1.5rem;
    }
    
    .sign-symbol {
        font-size: 2rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-circle::before {
        width: 75px;
        height: 75px;
    }
    
    #compatibility-percentage {
        font-size: 1.2rem;
    }
}

/* =========================
   CARTOMANZIA GRATIS STYLES
   ========================= */

/* Cartomanzia Page Body Background */
body.cartomanzia-page {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f4ff 15%, #f0e7ff 30%, #e8daff 45%, #e0ccff 60%, #d8bfff 75%, #d0b3ff 85%, #c8a6ff 95%, #cfa8ff 100%) !important;
    min-height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* Index Page Body Background */
body.index-page {
    background: linear-gradient(to bottom, 
        #ffffff 0%, 
        #fefcff 5%, 
        #fcf9ff 8%, 
        #faf6ff 12%, 
        #f8f3ff 16%, 
        #f6f0ff 20%, 
        #f4edff 24%, 
        #f2eaff 28%, 
        #f0e7ff 32%, 
        #eee4ff 36%, 
        #ece1ff 40%, 
        #eadeff 44%, 
        #e8dbff 48%, 
        #e6d8ff 52%, 
        #e4d5ff 56%, 
        #e2d2ff 60%, 
        #e0cfff 64%, 
        #deccff 68%, 
        #dcc9ff 72%, 
        #dac6ff 76%, 
        #d8c3ff 80%, 
        #d6c0ff 84%, 
        #d4bdff 88%, 
        #d2baff 92%, 
        #d0b7ff 96%, 
        #cfa8ff 100%) !important;
    min-height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

/* Particles.js container per rete index */
#particles-index {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section Cartomanzia */
.cartomanzia-hero {
    background: none;
    color: #333;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

/* Nuovo stile Hero Cartomanzia - uguale ad Astrologia */
.cartomanzia-hero-new {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 95px 0 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: -3px;
    color: #333;
    width: 100%;
    max-width: 100vw;
}

.cartomanzia-hero-new h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.cartomanzia-hero-new .title-banner p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

/* Rimosso #particles-hero - non più utilizzato */

.cartomanzia-hero::before {
    display: none;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.7;
    animation: floatAround 15s infinite linear;
    text-shadow: 0 0 10px rgba(122, 90, 156, 0.5);
}

.floating-card.card-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-card.card-2 {
    top: 25%;
    right: 15%;
    animation-delay: -3s;
    animation-duration: 20s;
}

.floating-card.card-3 {
    top: 60%;
    left: 5%;
    animation-delay: -6s;
    animation-duration: 16s;
}

.floating-card.card-4 {
    top: 70%;
    right: 10%;
    animation-delay: -9s;
    animation-duration: 22s;
}

.floating-card.card-5 {
    top: 40%;
    left: 80%;
    animation-delay: -12s;
    animation-duration: 19s;
}

.floating-card.card-6 {
    top: 80%;
    left: 45%;
    animation-delay: -15s;
    animation-duration: 17s;
}

@keyframes floatAround {
    0% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translate(20px, -30px) rotate(90deg) scale(1.1);
        opacity: 0.9;
    }
    50% { 
        transform: translate(-15px, -20px) rotate(180deg) scale(0.9);
        opacity: 0.6;
    }
    75% { 
        transform: translate(-25px, 15px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }
    100% { 
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.7;
    }
}

/* Rimossi stili #particles-hero - non più utilizzati */

.hero-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(122, 90, 156, 0.6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(122, 90, 156, 0.6);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 30px rgba(122, 90, 156, 0.9), 0 0 40px rgba(154, 125, 184, 0.5);
        transform: scale(1.05);
    }
}

/* Regola rimossa - ora gestita da #particles-hero .container h1 */

@keyframes titleShine {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

.cartomanzia-hero .hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: #8a6db3;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.cartomanzia-hero .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #6c5a7d;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-sparkles {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sparkle {
    font-size: 1.5rem;
    animation: sparkleFloat 2s ease-in-out infinite;
    opacity: 0.8;
}

.sparkle:nth-child(1) {
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
}

/* Form Section */
.cartomanzia-form-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #cfa8ff 0%, #ffffff 100%);
    position: relative;
    margin-top: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}



.cartomanzia-form-section::before {
    display: none;
}

.form-card {
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
    padding: 60px;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(122, 90, 156, 0.2),
        0 0 0 1px rgba(154, 125, 184, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid rgba(154, 125, 184, 0.15);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.form-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #9a7db8, #b19cd9, #cfa8ff, #9a7db8);
    border-radius: 25px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.form-card h2 {
    font-family: 'Dancing Script', cursive;
    color: #7a5a9c;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.form-subtitle {
    color: #9a7db8;
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

.step-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.8rem;
    color: #7a5a9c;
    margin-bottom: 25px;
    font-weight: bold;
}

.cartomanzia-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: #7a5a9c;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #9a7db8;
    pointer-events: none;
    z-index: 1;
}

.input-wrapper .textarea-icon {
    top: 20px;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 18px 50px 18px 20px;
    border: 2px solid #e1d5f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
    box-shadow: inset 0 2px 4px rgba(122, 90, 156, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9a7db8;
    box-shadow: 
        0 0 0 4px rgba(154, 125, 184, 0.15),
        inset 0 2px 4px rgba(122, 90, 156, 0.1),
        0 4px 12px rgba(154, 125, 184, 0.2);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #f5f2ff 100%);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #b19cd9;
    transform: translateY(-1px);
    box-shadow: 
        inset 0 2px 4px rgba(122, 90, 156, 0.08),
        0 2px 8px rgba(154, 125, 184, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
    padding-right: 50px;
}

.form-help {
    font-size: 0.9rem;
    color: #8a6db3;
    font-style: italic;
    margin-top: 5px;
    padding-left: 10px;
}

.char-counter {
    text-align: right;
    font-size: 0.9rem;
    color: #9a7db8;
    margin-top: 8px;
    font-weight: 500;
}

/* Checkbox styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    color: #6c5a7d;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #faf8ff 0%, #f5f2ff 100%);
    border: 1px solid rgba(154, 125, 184, 0.2);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: linear-gradient(135deg, #f5f2ff 0%, #ede4ff 100%);
    border-color: rgba(154, 125, 184, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(154, 125, 184, 0.15);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 3px solid #9a7db8;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
}

.checkbox-label:hover .checkmark {
    border-color: #7a5a9c;
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #9a7db8, #b19cd9);
    border-color: #7a5a9c;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(154, 125, 184, 0.4);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c, #6b4d8a);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 
        0 10px 30px rgba(122, 90, 156, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #7a5a9c, #6b4d8a, #5a4177);
    transform: translateY(-4px);
    box-shadow: 
        0 15px 40px rgba(122, 90, 156, 0.4),
        0 0 20px rgba(154, 125, 184, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(122, 90, 156, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

.btn-icon {
    font-size: 1.3rem;
    animation: iconSpin 2s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-btn:hover .btn-icon {
    animation-duration: 0.5s;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 50px 0;
}

.success-card {
    background: linear-gradient(135deg, #b19cd9, #9a7db8, #8a6db3);
    color: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(177, 156, 217, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.success-card > * {
    position: relative;
    z-index: 2;
}

.success-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    animation: successGlow 2s ease-in-out infinite alternate;
}

@keyframes successGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 215, 0, 0.5);
        transform: scale(1.05);
    }
}

.success-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.success-decoration {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.magic-sparkle {
    font-size: 1.5rem;
    animation: sparkleFloat 2s ease-in-out infinite;
    opacity: 0.9;
}

.magic-sparkle:nth-child(1) { animation-delay: 0s; }
.magic-sparkle:nth-child(2) { animation-delay: 0.7s; }
.magic-sparkle:nth-child(3) { animation-delay: 1.4s; }

.success-card p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.success-footer {
    margin: 30px 0 20px;
}

.footer-decoration {
    font-size: 1.8rem;
    opacity: 0.8;
    animation: decorationSway 3s ease-in-out infinite;
}

@keyframes decorationSway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.new-request-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.new-request-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #7a5a9c;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.new-request-btn:active {
    transform: translateY(-1px);
}

/* =========================
   STEP FORM STYLES
   ========================= */

/* Form Progress Indicator */
.form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 40px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    align-items: center;
    position: relative;
}

.progress-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(154, 125, 184, 0.2);
    color: #9a7db8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 3px solid rgba(154, 125, 184, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(154, 125, 184, 0.1);
}

.progress-step.active .progress-circle {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    border-color: #7a5a9c;
    color: white;
    box-shadow: 0 8px 25px rgba(122, 90, 156, 0.4);
    animation: pulseActive 2s ease-in-out infinite;
}

@keyframes pulseActive {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(122, 90, 156, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(122, 90, 156, 0.6);
    }
}

.progress-step.completed .progress-circle {
    background: linear-gradient(135deg, #32CD32, #228B22);
    border-color: #32CD32;
    color: white;
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.3);
}

.progress-step.completed .progress-circle::after {
    content: '✓';
    position: absolute;
    font-size: 18px;
    font-weight: bold;
}

.progress-line {
    width: 80px;
    height: 3px;
    background: rgba(154, 125, 184, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.progress-step.completed .progress-line,
.progress-step.active .progress-line {
    background: linear-gradient(90deg, #32CD32, #228B22);
    box-shadow: 0 2px 10px rgba(50, 205, 50, 0.3);
}

.progress-label {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: #9a7db8;
    white-space: nowrap;
    font-weight: 500;
    text-align: center;
}

.progress-step.active .progress-label {
    color: #7a5a9c;
    font-weight: 600;
}

.progress-step.completed .progress-label {
    color: #32CD32;
    font-weight: 600;
}

/* Form Step Container */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: stepSlideIn 0.5s ease-out;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.form-step.prev {
    transform: translateX(-50px);
}

.step-title {
    color: #7a5a9c;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9a7db8, #7a5a9c);
    border-radius: 2px;
}

/* Step Navigation Buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.next-btn, .prev-btn {
    flex: 1;
    max-width: 200px;
    padding: 16px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.next-btn {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    color: white;
    box-shadow: 0 6px 20px rgba(122, 90, 156, 0.3);
}

.prev-btn {
    background: rgba(154, 125, 184, 0.1);
    color: #7a5a9c;
    border: 2px solid rgba(154, 125, 184, 0.3);
}

.next-btn:hover {
    background: linear-gradient(135deg, #7a5a9c, #6b4d8a);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.4);
}

.prev-btn:hover {
    background: rgba(154, 125, 184, 0.2);
    border-color: #9a7db8;
    transform: translateY(-3px);
}

.step-buttons .submit-btn {
    flex: 1;
    max-width: none;
    margin-top: 0;
}

/* Summary Box */
.summary-box {
    background: linear-gradient(135deg, #faf8ff 0%, #f5f2ff 100%);
    border: 2px solid rgba(154, 125, 184, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(154, 125, 184, 0.1);
}

.summary-box h4 {
    color: #7a5a9c;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

#form-summary {
    color: #6c5a7d;
    line-height: 1.7;
}

.summary-item {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(154, 125, 184, 0.15);
    display: flex;
    flex-wrap: wrap;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-label {
    font-weight: 600;
    color: #7a5a9c;
    min-width: 140px;
    margin-right: 10px;
}

.summary-value {
    color: #6c5a7d;
    flex: 1;
}

/* Character Counter Enhanced */
.char-counter {
    text-align: right;
    font-size: 13px;
    color: #9a7db8;
    margin-top: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.char-counter.warning {
    color: #FF8C00;
    font-weight: 600;
}

.char-counter.error {
    color: #FF6B6B;
    font-weight: 600;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Loading State for Steps */
.step-loading {
    pointer-events: none;
    opacity: 0.7;
}

.step-loading .next-btn,
.step-loading .submit-btn {
    position: relative;
}

.step-loading .next-btn::after,
.step-loading .submit-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive for Steps */
@media (max-width: 768px) {
    .form-progress {
        padding: 0 10px;
        margin: 20px 0 30px;
    }
    
    .progress-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .progress-line {
        width: 40px;
    }
    
    .progress-label {
        font-size: 11px;
        top: 45px;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .next-btn, .prev-btn {
        max-width: none;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .summary-item {
        flex-direction: column;
    }
    
    .summary-label {
        min-width: auto;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .progress-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .progress-line {
        width: 25px;
    }
    
    .progress-label {
        display: none;
    }
}

/* Info Section */
.cartomanzia-info {
    padding: 0 0 80px 0;
    background: none;
    position: relative;
}

.cartomanzia-info::before {
    display: none;
}

.cartomanzia-info .container {
    position: relative;
    z-index: 2;
   
}

.info-header {
    text-align: center;
    margin-bottom: 60px;
}

.info-header h2 {
    color: #7a5a9c;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.info-subtitle {
    color: #9a7db8;
    font-size: 1.3rem;
    opacity: 0.9;
    font-style: italic;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(154, 125, 184, 0.2),
        0 0 0 1px rgba(154, 125, 184, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(154, 125, 184, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(154, 125, 184, 0.1), transparent, rgba(177, 156, 217, 0.1), transparent);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(154, 125, 184, 0.3),
        0 0 0 2px rgba(154, 125, 184, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(154, 125, 184, 0.3);
}

.info-icon {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.main-icon {
    font-size: 3.5rem;
    display: block;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.floating-sparkle {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.7;
    animation: sparkleOrbit 4s linear infinite;
}

.floating-sparkle:first-of-type {
    top: -5px;
    right: -5px;
    animation-delay: 0s;
}

.floating-sparkle:last-of-type {
    bottom: -5px;
    left: -5px;
    animation-delay: 2s;
}

@keyframes sparkleOrbit {
    0% {
        transform: rotate(0deg) translateX(25px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(25px) rotate(-360deg);
        opacity: 0.7;
    }
}

.info-card h3 {
    font-family: 'Dancing Script', cursive;
    color: #7a5a9c;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.info-card p {
    color: #6c5a7d;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.card-decoration {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-top: 20px;
    animation: decorationGlow 2s ease-in-out infinite alternate;
}

@keyframes decorationGlow {
    from {
        opacity: 0.8;
        text-shadow: 0 0 5px rgba(154, 125, 184, 0.3);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 10px rgba(154, 125, 184, 0.6);
    }
}

/* Responsive Design per Cartomanzia */
@media (max-width: 768px) {
    .cartomanzia-hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }
    
    .floating-card {
        font-size: 2rem;
        opacity: 0.5;
    }
    
    .floating-card.card-1,
    .floating-card.card-3,
    .floating-card.card-5 {
        left: 5%;
    }
    
    .floating-card.card-2,
    .floating-card.card-4,
    .floating-card.card-6 {
        right: 5%;
    }
    
    .hero-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    /* Regola rimossa - gestita da #particles-hero .container h1 */
    
    .cartomanzia-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cartomanzia-hero .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-sparkles {
        margin-top: 20px;
        gap: 15px;
    }
    
    .sparkle {
        font-size: 1.3rem;
    }
    
    .form-card {
        padding: 40px 25px;
        margin: 0 20px;
        border-radius: 20px;
    }
    
    .form-header {
        margin-bottom: 40px;
    }
    
    .form-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .form-card h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cartomanzia-form {
        gap: 25px;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px 45px 15px 18px;
        font-size: 0.95rem;
    }
    
    .input-wrapper .input-icon {
        right: 12px;
        font-size: 1.1rem;
    }
    
    .submit-btn {
        padding: 18px 40px;
        font-size: 1.1rem;
        margin-top: 25px;
    }
    
    .btn-icon {
        font-size: 1.2rem;
    }
    
    .success-card {
        padding: 40px 25px;
        margin: 0 20px;
        border-radius: 20px;
    }
    
    .success-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .success-card h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .success-card p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .success-decoration {
        margin: 15px 0;
        gap: 15px;
    }
    
    .magic-sparkle {
        font-size: 1.3rem;
    }
    
    .footer-decoration {
        font-size: 1.5rem;
    }
    
    .new-request-btn {
        padding: 12px 28px;
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .info-header h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .info-subtitle {
        font-size: 1.1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .info-card {
        padding: 35px 25px;
        border-radius: 18px;
    }
    
    .main-icon {
        font-size: 3rem;
    }
    
    .floating-sparkle {
        font-size: 1rem;
    }
    
    .info-card h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .info-card p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .card-decoration {
        font-size: 1.2rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .cartomanzia-hero {
        padding: 80px 0 50px;
    }
    
    .floating-card {
        font-size: 1.5rem;
        opacity: 0.4;
    }
    
    .hero-icon {
        font-size: 1.8rem;
    }
    
    /* Regola rimossa - gestita da #particles-hero .container h1 */
    
    .cartomanzia-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cartomanzia-hero .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-sparkles {
        gap: 10px;
    }
    
    .sparkle {
        font-size: 1.1rem;
    }
    
    .form-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .form-icon {
        font-size: 2.5rem;
    }
    
    .form-card h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .form-subtitle {
        font-size: 0.95rem;
    }
    
    .cartomanzia-form {
        gap: 20px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 40px 14px 16px;
        font-size: 0.9rem;
    }
    
    .input-wrapper .input-icon {
        right: 10px;
        font-size: 1rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .checkmark {
        width: 20px;
        height: 20px;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
        gap: 8px;
    }
    
    .btn-icon {
        font-size: 1.1rem;
    }
    
    .success-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .success-card h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .success-card p {
        font-size: 0.95rem;
    }
    
    .magic-sparkle {
        font-size: 1.1rem;
    }
    
    .new-request-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .info-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .info-subtitle {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .main-icon {
        font-size: 2.5rem;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
    
    .info-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .card-decoration {
        font-size: 1.1rem;
    }
}

/* =============================================== */
/* FLOATING ICONS DYNAMIC POSITIONING SYSTEM */
/* =============================================== */

/* Posizione verticale sulla destra - Layout come index.html */
.home-icon {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 100 !important;
    transition: all 0.8s ease !important;
}

.oroscopo-icon {
    position: fixed !important;
    bottom: 120px !important;
    right: 30px !important;
    z-index: 100 !important;
    transition: all 0.8s ease !important;
}

.consulti-icon {
    position: fixed !important;
    bottom: 210px !important;
    right: 30px !important;
    z-index: 100 !important;
    transition: all 0.8s ease !important;
}

/* Posizione quando si scrolla - direttamente nelle posizioni finali con movimento ultra fluido */
.scrolled .consulti-icon {
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    bottom: 210px !important;
    transform: none !important;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.scrolled .oroscopo-icon {
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    bottom: 120px !important;
    transform: none !important;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.scrolled .home-icon {
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    bottom: 30px !important;
    transform: none !important;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Effetto hover semplice */
.home-icon a:hover,
.oroscopo-icon a:hover,
.consulti-icon a:hover {
    transform: scale(1.1) !important;
    transition: all 0.3s ease !important;
}

/* Responsive semplice */
@media (max-width: 768px) {
    .scrolled .consulti-icon {
        right: 20px !important;
        bottom: 160px !important;
    }
    
    .scrolled .oroscopo-icon {
        right: 20px !important;
        bottom: 90px !important;
    }
    
    .scrolled .home-icon {
        right: 20px !important;
        bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .home-icon,
    .oroscopo-icon,
    .consulti-icon {
        bottom: 10px !important;
    }
    
    .scrolled .consulti-icon {
        right: 15px !important;
        bottom: 135px !important;
    }
    
    .scrolled .oroscopo-icon {
        right: 15px !important;
        bottom: 75px !important;
    }
    
    .scrolled .home-icon {
        right: 15px !important;
        bottom: 15px !important;
    }
}

/* Posizioni verticali standard */
.consulti-icon {
    bottom: 210px !important;
}

.oroscopo-icon {
    bottom: 120px !important;
}

.home-icon {
    bottom: 30px !important;
}

/* Responsive - Mantiene configurazione cartomanzia-gratis.html */
@media (max-width: 768px) {
    .home-icon {
        right: 20px !important;
        bottom: 20px !important;
    }
    
    .oroscopo-icon {
        right: 20px !important;
        bottom: 90px !important;
    }
    
    .consulti-icon {
        right: 20px !important;
        bottom: 160px !important;
    }
}

@media (max-width: 480px) {
    .home-icon {
        right: 15px !important;
        bottom: 15px !important;
    }
    
    .oroscopo-icon {
        right: 15px !important;
        bottom: 75px !important;
    }
    
    .consulti-icon {
        right: 15px !important;
        bottom: 135px !important;
    }
}

/* Responsive Extra Small */
@media (max-width: 320px) {
    /* Bottoni verticali sulla destra anche su mobile */
    .home-icon,
    .oroscopo-icon,
    .consulti-icon {
        position: fixed !important;
        right: 10px !important;
        transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
        z-index: 100 !important;
    }
    
    .consulti-icon {
        bottom: 150px !important;
    }

    .oroscopo-icon {
        bottom: 90px !important;
    }

    .home-icon {
        bottom: 30px !important;
    }
    
    /* Posizione scrollata */
    .scrolled .home-icon,
    .scrolled .oroscopo-icon,
    .scrolled .consulti-icon {
        right: 10px !important;
    }
    
    .scrolled .consulti-icon {
        bottom: 120px !important;
    }
    
    .scrolled .oroscopo-icon {
        bottom: 65px !important;
    }
    
    .scrolled .home-icon {
        bottom: 10px !important;
    }
}

/* =============================================== */
/* FORCE ICONS ALIGNMENT FOR SEGNI-ZODIACALI.HTML */
/* =============================================== */

/* Regole ultra specifiche per allineare perfettamente i bottoni */
html body.sign-page .home-icon,
html body.sign-page .oroscopo-icon, 
html body.sign-page .consulti-icon,
html .sign-page .home-icon,
html .sign-page .oroscopo-icon,
html .sign-page .consulti-icon,
body.sign-page .home-icon,
body.sign-page .oroscopo-icon,
body.sign-page .consulti-icon {
    position: fixed !important;
    right: 30px !important;
    transform: none !important;
    transition: all 0.8s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    top: auto !important;
    z-index: 100 !important;
}

/* Posizioni specifiche desktop */
html body.sign-page .consulti-icon,
html .sign-page .consulti-icon,
body.sign-page .consulti-icon {
    bottom: 210px !important;
}

html body.sign-page .oroscopo-icon,
html .sign-page .oroscopo-icon,
body.sign-page .oroscopo-icon {
    bottom: 120px !important;
}

html body.sign-page .home-icon,
html .sign-page .home-icon,
body.sign-page .home-icon {
    bottom: 30px !important;
}

/* Hover effects ultra specifici */
html body.sign-page .home-icon a:hover,
html body.sign-page .oroscopo-icon a:hover,
html body.sign-page .consulti-icon a:hover,
html .sign-page .home-icon a:hover,
html .sign-page .oroscopo-icon a:hover,
html .sign-page .consulti-icon a:hover,
body.sign-page .home-icon a:hover,
body.sign-page .oroscopo-icon a:hover,
body.sign-page .consulti-icon a:hover {
    transform: scale(1.1) !important;
}

/* Responsive Tablet (768px) - Ultra specifico */
@media (max-width: 768px) {
    html body.sign-page .home-icon,
    html body.sign-page .oroscopo-icon,
    html body.sign-page .consulti-icon,
    html .sign-page .home-icon,
    html .sign-page .oroscopo-icon,
    html .sign-page .consulti-icon,
    body.sign-page .home-icon,
    body.sign-page .oroscopo-icon,
    body.sign-page .consulti-icon {
        right: 20px !important;
    }
    
    html body.sign-page .consulti-icon,
    html .sign-page .consulti-icon,
    body.sign-page .consulti-icon {
        bottom: 160px !important;
    }
    
    html body.sign-page .oroscopo-icon,
    html .sign-page .oroscopo-icon,
    body.sign-page .oroscopo-icon {
        bottom: 90px !important;
    }
    
    html body.sign-page .home-icon,
    html .sign-page .home-icon,
    body.sign-page .home-icon {
        bottom: 20px !important;
    }
}

/* Responsive Mobile (480px) - Ultra specifico */
@media (max-width: 480px) {
    html body.sign-page .home-icon,
    html body.sign-page .oroscopo-icon,
    html body.sign-page .consulti-icon,
    html .sign-page .home-icon,
    html .sign-page .oroscopo-icon,
    html .sign-page .consulti-icon,
    body.sign-page .home-icon,
    body.sign-page .oroscopo-icon,
    body.sign-page .consulti-icon {
        right: 15px !important;
    }
    
    html body.sign-page .consulti-icon,
    html .sign-page .consulti-icon,
    body.sign-page .consulti-icon {
        bottom: 135px !important;
    }
    
    html body.sign-page .oroscopo-icon,
    html .sign-page .oroscopo-icon,
    body.sign-page .oroscopo-icon {
        bottom: 75px !important;
    }
    
    html body.sign-page .home-icon,
    html .sign-page .home-icon,
    body.sign-page .home-icon {
        bottom: 15px !important;
    }
}

/* Responsive Extra Small (320px) - Ultra specifico */
@media (max-width: 320px) {
    html body.sign-page .home-icon,
    html body.sign-page .oroscopo-icon,
    html body.sign-page .consulti-icon,
    html .sign-page .home-icon,
    html .sign-page .oroscopo-icon,
    html .sign-page .consulti-icon,
    body.sign-page .home-icon,
    body.sign-page .oroscopo-icon,
    body.sign-page .consulti-icon {
        right: 10px !important;
    }
    
    html body.sign-page .consulti-icon,
    html .sign-page .consulti-icon,
    body.sign-page .consulti-icon {
        bottom: 120px !important;
    }
    
    html body.sign-page .oroscopo-icon,
    html .sign-page .oroscopo-icon,
    body.sign-page .oroscopo-icon {
        bottom: 65px !important;
    }
    
    html body.sign-page .home-icon,
    html .sign-page .home-icon,
    body.sign-page .home-icon {
        bottom: 10px !important;
    }
}

/* ================================================= */
/* CONFIGURAZIONE BOTTONI SEMPLICE - COME CARTOMANZIA-GRATIS.HTML */
/* ================================================= */

/* OVERRIDE FINALE: Forza la configurazione di cartomanzia-gratis.html su TUTTE le pagine */
html body .home-icon,
html body .oroscopo-icon,
html body .consulti-icon,
html .home-icon,
html .oroscopo-icon, 
html .consulti-icon,
body .home-icon,
body .oroscopo-icon,
body .consulti-icon,
.home-icon,
.oroscopo-icon,
.consulti-icon {
    position: fixed !important;
    right: 30px !important;
    transition: all 0.8s ease !important;
    z-index: 100 !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

/* Posizioni specifiche - IDENTICHE a cartomanzia-gratis.html */
html body .home-icon,
html .home-icon,
body .home-icon,
.home-icon {
    bottom: 30px !important;
}

html body .oroscopo-icon,
html .oroscopo-icon,
body .oroscopo-icon,
.oroscopo-icon {
    bottom: 120px !important;
}

html body .consulti-icon,
html .consulti-icon,
body .consulti-icon,
.consulti-icon {
    bottom: 210px !important;
}

/* BOTTONI SEMPRE FISSI - NESSUNA ANIMAZIONE SCROLL */
/* I bottoni rimangono sempre nella stessa posizione verticale sulla destra */

/* ================================================= */
/* PAGINA ASTROLOGIA - STILI SPECIFICI */
/* ================================================= */

.astrologia-hero {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 95px 0 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: -3px;
    color: #333;
}

.astrologia-hero h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.astrologia-hero .hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.astrologia-intro {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9a7db8;
    font-style: italic;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.astrologia-intro p {
    margin-bottom: 1.5rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9a7db8;
    font-style: italic;
}

.astrologia-hero h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 3rem;
    color: #7a5a9c;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.astrologia-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.astro-btn {
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.2), rgba(154, 125, 184, 0.2));
    border: 2px solid rgba(207, 168, 255, 0.4);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: #333;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    min-width: 300px;
    max-width: 400px;
    flex: 1;
}

.astro-btn:hover {
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.3), rgba(154, 125, 184, 0.3));
    border-color: rgba(207, 168, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.3);
}

.astro-btn .btn-content h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.astro-btn .btn-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #9a7db8;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Effetti specifici per i bottoni */
.segni-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
}

.compatibilita-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
}

/* Responsive */
@media (max-width: 768px) {
    .astrologia-hero h1 {
        font-size: 2.5rem;
    }
    
    .astrologia-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .astrologia-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .astro-btn {
        min-width: auto;
        padding: 1.5rem;
    }
    
    .astrologia-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .astrologia-hero h1 {
        font-size: 2rem;
    }
    
    .astrologia-hero .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Stili per la pagina Tarocchi */
.tarocchi-hero {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 95px 0 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: -3px;
    color: #333;
}

.tarocchi-hero h1 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.tarocchi-hero .hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.tarocchi-intro {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9a7db8;
    font-style: italic;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.tarocchi-intro p {
    margin-bottom: 1.5rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9a7db8;
    font-style: italic;
}

.tarocchi-hero h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 3rem;
    color: #7a5a9c;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.tarocchi-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.tarot-btn {
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.2), rgba(154, 125, 184, 0.2));
    border: 2px solid rgba(207, 168, 255, 0.4);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: #333;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    min-width: 300px;
    max-width: 400px;
    flex: 1;
}

.tarot-btn:hover {
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.3), rgba(154, 125, 184, 0.3));
    border-color: rgba(207, 168, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.3);
}

.tarot-btn .btn-content h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    /* Colore di fallback */
    color: #8a5fb8;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #9a7db8, #9f7aea, #9a7db8, #9f7aea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: magicalGlow 20s ease-in-out infinite;
}

.tarot-btn .btn-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #9a7db8;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Effetti specifici per i bottoni tarocchi */
.arcani-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
}

.gioco-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
}

/* Responsive per pagina Tarocchi */
@media (max-width: 768px) {
    .tarocchi-hero h1 {
        font-size: 2.5rem;
    }
    
    .tarocchi-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .tarocchi-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tarot-btn {
        min-width: auto;
        padding: 1.5rem;
    }
    
    .tarocchi-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tarocchi-hero h1 {
        font-size: 2rem;
    }
    
    .tarocchi-hero .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* OVERRIDE FINALE - BOTTONI SEMPRE VERTICALI - MASSIMA SPECIFICITÀ */
html body .home-icon,
html body .oroscopo-icon, 
html body .consulti-icon,
body .home-icon,
body .oroscopo-icon,
body .consulti-icon,
.cartomanzia-hero .home-icon,
.cartomanzia-hero .oroscopo-icon,
.cartomanzia-hero .consulti-icon,
.cartomanzia-hero-new .home-icon,
.cartomanzia-hero-new .oroscopo-icon,
.cartomanzia-hero-new .consulti-icon {
    position: fixed !important;
    right: 30px !important;
    left: auto !important;
    transform: none !important;
    z-index: 100 !important;
}

html body .home-icon,
body .home-icon,
.cartomanzia-hero .home-icon,
.cartomanzia-hero-new .home-icon {
    bottom: 30px !important;
}

html body .oroscopo-icon,
body .oroscopo-icon,
.cartomanzia-hero .oroscopo-icon,
.cartomanzia-hero-new .oroscopo-icon {
    bottom: 120px !important;
}

html body .consulti-icon,
body .consulti-icon,
.cartomanzia-hero .consulti-icon,
.cartomanzia-hero-new .consulti-icon {
    bottom: 210px !important;
}

/* Media queries con massima specificità */
@media (max-width: 768px) {
    html body .home-icon,
    body .home-icon,
    .cartomanzia-hero .home-icon {
        right: 20px !important;
        bottom: 30px !important;
    }
    
    html body .oroscopo-icon,
    body .oroscopo-icon,
    .cartomanzia-hero .oroscopo-icon {
        right: 20px !important;
        bottom: 100px !important;
    }
    
    html body .consulti-icon,
    body .consulti-icon,
    .cartomanzia-hero .consulti-icon {
        right: 20px !important;
        bottom: 170px !important;
    }
}

/* ========================================
   SISTEMA RESPONSIVE COMPLETO
======================================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    
    .title-banner {
        width: 900px;
    }
}

/* Medium Desktop/Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 1000px;
        padding: 0 30px;
    }
    
    .title-banner {
        width: 800px;
    }
}

/* Tablet Portrait/Small Desktop (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 750px;
        padding: 0 20px;
    }
    
    .title-banner {
        width: 90%;
        max-width: 700px;
    }
    
    .navbar {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .cartomanzia-form-section {
        margin-top: -90px;
    }
}

/* Mobile Landscape/Small Tablet (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .title-banner {
        width: 95%;
        max-width: none;
        margin: 10px auto 15px auto;
        padding: 8px 0;
        border-radius: 12px;
    }
    
    .title-banner p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .navbar {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
        height: 80px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .welcome-text h1,
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Cartomanzia Hero responsive */
    .cartomanzia-hero {
        min-height: 120px;
        padding: 60px 0 20px 0;
    }
    
    /* Form responsive */
    .cartomanzia-form-section {
        padding: 20px 0;
        margin-top: -80px;
    }
    
    .form-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Mobile Portrait (max-width: 575px) */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .title-banner {
        width: 98%;
        margin: 8px auto 12px auto;
        padding: 6px 0;
        border-radius: 10px;
    }
    
    .title-banner p {
        font-size: 0.9rem;
        padding: 0 8px;
        line-height: 1.3;
    }
    
    .navbar {
        padding: 0 5px;
    }
    
    .nav-container {
        padding: 0 5px;
        height: 70px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .welcome-text h1,
    h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Cartomanzia Hero mobile */
    .cartomanzia-hero {
        min-height: 100px;
        padding: 50px 0 15px 0;
    }
    
    /* Regola rimossa - gestita da #particles-hero .container h1 */
    
    /* Form mobile */
    .cartomanzia-form-section {
        margin-top: -60px;
    }
    
    .form-card {
        padding: 15px;
        margin: 0 5px;
    }
    
    .form-card h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Previene zoom su iOS */
        padding: 12px;
    }
    
    /* Bottoni floating responsive */
    .oroscopo-icon,
    .home-icon,
    .consulti-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .oroscopo-icon img,
    .home-icon img,
    .consulti-icon img {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Info cards responsive */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    /* Footer mobile */
    .footer-content {
        padding: 20px 0;
    }
    
    .contact-info p {
        font-size: 0.8rem;
    }
    
    .payment-methods {
        justify-content: center;
        gap: 10px;
    }
    
    .payment-logo {
        width: 35px;
        height: auto;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .title-banner {
        width: 99%;
        margin: 5px auto 10px auto;
        padding: 5px 0;
    }
    
    .title-banner p {
        font-size: 0.8rem;
        padding: 0 5px;
    }
    
    .welcome-text h1,
    h1 {
        font-size: 1.4rem;
    }
    
    .cartomanzia-hero {
        min-height: 80px;
        padding: 45px 0 10px 0;
    }
    
    .form-card {
        padding: 10px;
    }
    
    .oroscopo-icon,
    .home-icon,
    .consulti-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .oroscopo-icon img,
    .home-icon img,
    .consulti-icon img {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Navbar Mobile Menu */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ========================================
   UNIFORMAZIONE DISTANZA NAVBAR-TITOLI
======================================== */

/* Distanza uniforme dalla navbar per tutte le pagine */
.astrologia-hero,
.tarocchi-hero,
.sign-hero-section,
.compatibility-hero {
    padding-top: 120px;
    min-height: auto;
}

/* Container delle sezioni hero per allineamento corretto */
.cartomanzia-hero .container,
.astrologia-hero .container,
.tarocchi-hero .container,
.sign-hero-section .container,
.compatibility-hero .container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding-top: 0;
}

/* Responsive per mobile */
@media (max-width: 767px) {
    .astrologia-hero,
    .tarocchi-hero,
    .sign-hero-section,
    .compatibility-hero {
        padding-top: 90px;
    }
}

@media (max-width: 575px) {
    .astrologia-hero,
    .tarocchi-hero,
    .sign-hero-section,
    .compatibility-hero {
        padding-top: 80px;
    }
}

/* ========================================
   RESPONSIVE PER PARTICLES-HERO CONTAINER
======================================== */

/* Tablet Portrait/Small Desktop (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    #particles-hero .container h1 {
        font-size: 2rem;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    #particles-hero .container {
        top: 38%;
        transform: translate(-50%, -50%) scale(1.0);
        width: 95%;
    }
    
    #particles-hero .container h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
}

/* Mobile Small (<576px) */
@media (max-width: 575px) {
    #particles-hero .container {
        top: 36%;
        transform: translate(-50%, -50%) scale(0.9);
        width: 98%;
    }
    
    #particles-hero .container h1 {
        font-size: 1.4rem;
    }
    
    #particles-hero {
        min-height: 300px;
    }
}

/* Extra Small Mobile (<360px) */
@media (max-width: 360px) {
    #particles-hero .container {
        top: 34%;
        transform: translate(-50%, -50%) scale(0.85);
        width: 99%;
    }
    
    #particles-hero .container h1 {
        font-size: 1.4rem;
    }
    
    #particles-hero .container .title-banner p {
        font-size: 0.8rem;
    }
}

/* ==========================================
   SEZIONE CARTOMANTI - CARD DINAMICHE
   ========================================== */

.cartomanti-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f19 100%);
    position: relative;
}

.cartomanti-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(191, 137, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(216, 186, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cartomanti-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.cartomanti-section .section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #d8baff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cartomanti-section .section-subtitle {
    font-size: 1.2rem;
    color: #b8b8ff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Cartomanti */
.cartomanti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Card Cartomante */
.cartomante-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 255, 0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 186, 255, 0.3);
}

.cartomante-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(216, 186, 255, 0.1) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.cartomante-card:hover::before {
    left: 100%;
}

.cartomante-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(191, 137, 235, 0.3);
}

/* Header Card */
.cartomante-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cartomante-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8baff, #bf89eb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 8px 20px rgba(191, 137, 235, 0.4);
    position: relative;
}

.cartomante-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.cartomante-avatar::before {
    content: '🔮';
    font-size: 2.5rem;
    color: white;
}

.cartomante-info h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #4a4a8a;
    margin-bottom: 5px;
    font-weight: bold;
}

.cartomante-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.specialization-tag {
    background: linear-gradient(135deg, #bf89eb, #d8baff);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(191, 137, 235, 0.3);
}

/* Stats Cartomante */
.cartomante-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(216, 186, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(216, 186, 255, 0.2);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #bf89eb;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Rating */
.cartomante-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.stars {
    color: #ffd700;
    margin-right: 8px;
    font-size: 1.2rem;
}

.rating-value {
    font-weight: bold;
    color: #4a4a8a;
    margin-right: 5px;
}

.rating-count {
    font-size: 0.9rem;
    color: #888;
}

/* Biografia */
.cartomante-bio {
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Status e Prezzo */
.cartomante-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(216, 186, 255, 0.2);
}

.status-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-disponibile {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.status-occupato {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.cartomante-price {
    text-align: right;
}

.price-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #bf89eb;
    display: block;
}

.price-label {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

/* Loading e Errori */
.loading-container {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(216, 186, 255, 0.3);
    border-top: 4px solid #bf89eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #b8b8ff;
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.error-message p {
    color: #ff6b8a;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.retry-btn {
    background: linear-gradient(135deg, #bf89eb, #d8baff);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(191, 137, 235, 0.4);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 137, 235, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cartomanti-section {
        padding: 60px 0;
    }
    
    .cartomanti-section .section-title {
        font-size: 2.5rem;
    }
    
    .cartomanti-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cartomante-card {
        margin: 0 10px;
        padding: 20px;
    }
    
    .cartomante-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cartomante-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cartomante-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .cartomante-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cartomanti-section .section-title {
        font-size: 2rem;
    }
    
    .cartomante-card {
        margin: 0 5px;
        padding: 15px;
    }
    
    .cartomante-avatar {
        width: 60px;
        height: 60px;
    }
    
    .cartomante-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .cartomante-info h3 {
        font-size: 1.5rem;
    }
}