/* 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 80%, transparent 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border: none;
    outline: none;
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    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: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

/* 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: 4rem;
    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.8rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    color: #bf89eb;
}

.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: 80px 20px 80px 20px;
    min-height: 70vh;
    position: relative;
    z-index: 10;
    margin-top: 80px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-two h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 4.8rem;
    color: #7a5a9c;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-two p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.9rem;
    color: #9a7db8;
    margin-bottom: 60px;
    font-style: italic;
    font-weight: bold;
}

.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;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Response bubble per cartomanti disponibili */
.response-bubble.disponibile {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-width: 24px;
}

/* Response bubble per cartomanti non disponibili */
.response-bubble.non-disponibile {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Pallino verde per indicare disponibilità */
.pallino-verde {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.8);
    animation: pulseGreen 2s infinite;
}

/* Animazione pulsante per il pallino verde */
@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.8);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px rgba(40, 167, 69, 1);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.8);
        transform: scale(1);
    }
}

/* Badge "Disponibile" centrato in alto - con pallino verde */
.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;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 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;
    transform: scale(1.05);
}

.section-three h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 3.2rem;
    color: #7a5a9c;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.section-three > .container > p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.1rem;
    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: 25px;
    margin-top: 50px;
    justify-items: center;
}

/* New card styles from Uiverse */
.card {
  position: relative;
  width: 18em;
  height: 16em;
  box-shadow: 0px 1px 13px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 120ms;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0.7em;
  padding-bottom: 4em;
  border-radius: 8px;
}

.card::after {
  content: "Scopri di più";
  padding-top: 1.25em;
  padding-left: 1.25em;
  position: absolute;
  left: 0;
  bottom: -60px;
  background: #7a5a9c;
  color: #fff;
  height: 2.5em;
  width: 90%;
  transition: all 80ms;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  border-radius: 0 0 8px 8px;
}

.card .title {
  font-family: 'Racing Sans One', cursive;
  font-size: 1.4em;
  position: absolute;
  left: 0.625em;
  bottom: 1.875em;
  font-weight: 700;
  color: #5a3d7a;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card .price {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3em;
  position: absolute;
  left: 0.625em;
  bottom: 0.625em;
  color: #6b4c8a;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card:hover::after {
  bottom: 0;
  opacity: 1;
}

.card:active {
  transform: scale(0.98);
}

.card:active::after {
  content: "Perfetto!";
  height: 3.125em;
}

.text {
  font-size: 3.5rem;
  max-width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image {
  background: rgb(241, 241, 241);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* ==================== 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: 3.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.6rem;
    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.4rem;
    color: #7a5a9c;
    margin: 0;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    font-weight: 600;
}

.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: linear-gradient(135deg, #bd87e5, #9a7db8);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: 'Racing Sans One', cursive;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: capitalize;
    box-shadow: 0 4px 15px rgba(189, 135, 229, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.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 SECTION
   ========================= */
.cartomante-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.cartomante-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="0.5" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    opacity: 0.4;
    animation: twinkling 3s infinite ease-in-out;
}

@keyframes twinkling {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.cartomante-header {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cartomante-avatar-large {
    min-width: 200px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bd87e5, #d8baff);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 0 10px rgba(255,255,255,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.cartomante-avatar-large:hover {
    transform: scale(1.05);
    box-shadow: 
        0 20px 45px rgba(0,0,0,0.3),
        0 0 0 15px rgba(255,255,255,0.15),
        inset 0 0 0 1px rgba(255,255,255,0.3);
}

.cartomante-avatar-large::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    animation: sparkle 2s infinite ease-in-out;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

.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: capitalize;
}

.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: 20px;
    box-shadow: 0 20px 60px rgba(122, 90, 156, 0.15);
    padding: 0;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #ddd6fe 100%);
    border: 2px solid rgba(154, 125, 184, 0.1);
}

.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.98);
    padding: 50px 60px;
    box-sizing: border-box;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(154, 125, 184, 0.1);
    margin: 0;
    border: none;
    width: 100vw;
    max-width: none;
    position: relative;
    border-right: 3px solid rgba(189, 135, 229, 0.15);
}

.consulto-carousel-card:last-child {
    border-right: 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 rgba(189, 135, 229, 0.2);
    padding-bottom: 25px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.5), rgba(233, 213, 255, 0.3));
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.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: 15px;
    }
    
    .card {
        width: 100%;
        max-width: 350px;
        height: 14em;
        margin: 0 auto;
    }
    
    /* 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(180deg, #f3e5f5 0%, #e1bee7 100%);
    color: #4a148c;
    padding: 60px 0 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    border-top: 1px solid rgba(209, 184, 255, 0.5);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d1b8ff, #9f7aea, #d1b8ff);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 120px 20px;
    position: relative;
    text-align: center;
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-left h3,
.footer-right h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: #6a1b9a;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.contact-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #6a1b9a;
    background: transparent;
    border: none;
    padding: 0;
    max-width: 450px;
    font-weight: 500;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1.1rem;
    color: #4a148c;
}

.contact-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #7b1fa2;
    box-shadow: 0 2px 5px rgba(123, 31, 162, 0.2);
}

.whatsapp-link {
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    background: #128c7e;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: white;
    color: #6a1b9a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(106, 27, 154, 0.1);
}

.social-link:hover {
    background: #6a1b9a;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.3);
}

.payment-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.payment-logo {
    height: 35px;
    width: auto;
    transition: transform 0.3s;
}

.payment-logo:hover {
    transform: scale(1.1);
}

.footer-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 15px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 80px 80px 0 0;
    box-shadow: 0 -5px 20px rgba(106, 27, 154, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6a1b9a;
    z-index: 10;
}

.footer-bottom p {
    margin: 0;
    color: #6a1b9a;
}

.terms-link {
    color: #6a1b9a;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.terms-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #6a1b9a;
    transition: width 0.3s;
}

.terms-link:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (min-width: 769px) {
    /* Manteniamo il layout a colonna anche su desktop per centrare tutto */
    .footer-content {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        gap: 50px;
        padding-bottom: 120px;
    }
    
    .footer-bottom {
        width: 100%;
        padding: 30px 15px 15px;
        border-radius: 50% 50% 0 0 / 30px 30px 0 0;
        gap: 5px;
    }
}

/* ==========================================
   STILI PAGINA SEGNI ZODIACALI
   ========================================== */

/* Hero Container per segni zodiacali */
.zodiac-hero-container {
    background: linear-gradient(to bottom, #ffffff 0%, #cfa8ff 100%);
    min-height: 80vh;
    position: relative;
    overflow: visible;
    margin-top: 0px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.zodiac-hero-content {
    position: absolute;
    top: 50%; /* Centro perfettamente il contenuto */
    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: 4.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: #7a5a9c;
    background: linear-gradient(45deg, #9a7db8, #bd87e5, #7a5a9c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zodiac-hero-content .simple-description {
    font-family: 'Dancing Script', cursive;
    font-size: 2.0rem;
    font-weight: 600;
    font-style: italic;
    color: #7a5a9c;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* 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: 45%; /* Abbasso un po' di più il mandala */
}

/* 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-content.centered {
    display: block;
    text-align: center;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.intro-text h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 3.5rem;
    color: #7a5a9c;
    margin-bottom: 30px;
    font-weight: bold;
}

.intro-text p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    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: 25px !important;
    margin-top: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
}

/* Card singolo segno - VERSIONE MODERNA */
.zodiac-sign-card {
    background: #fff !important;
    padding: 30px 20px !important;
    border-radius: 15px !important;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.1) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 280px !important;
    margin-bottom: 20px !important;
}

.zodiac-sign-card::before {
    content: "Scopri di più";
    position: absolute;
    left: 0;
    bottom: -60px;
    background: #7a5a9c;
    color: #fff;
    height: 45px;
    width: 100%;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.zodiac-sign-card.fire::before {
    background: #ff6b35;
}

.zodiac-sign-card.earth::before {
    background: #8b4513;
}

.zodiac-sign-card.air::before {
    background: #4682b4;
}

.zodiac-sign-card.water::before {
    background: #1e90ff;
}

.zodiac-sign-card:hover::before {
    bottom: 0;
    opacity: 1;
}

.zodiac-sign-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.15) !important;
}

/* Simbolo del segno - SEMPLIFICATO */
.sign-symbol {
    font-size: 3rem !important;
    margin-bottom: 20px !important;
    z-index: 2 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    font-weight: 600 !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: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-shadow: 0 2px 4px rgba(122, 90, 156, 0.1) !important;
    background: linear-gradient(145deg, #7a5a9c, #9a7db8) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !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 - MIGLIORATO */
.sign-btn {
    background: linear-gradient(145deg, #9a7db8, #bd87e5, #7a5a9c) !important;
    color: white !important;
    border: none !important;
    padding: 15px 25px !important;
    border-radius: 25px !important;
    font-family: 'Racing Sans One', cursive !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !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;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border: 2px solid transparent !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
}

.sign-btn:hover {
    background: linear-gradient(145deg, #7a5a9c, #9a7db8, #bd87e5) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(122, 90, 156, 0.35) !important;
    border-color: rgba(255, 255, 255, 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;
    }
    
    .intro-content.centered {
        display: block !important;
        text-align: center !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: 50%; /* Centro anche su mobile */
        transform: translate(-50%, -50%);
        width: 95%;
    }
    
    .zodiac-hero-content h1 {
        font-size: 3.2rem;
    }
    
    .zodiac-hero-content .simple-description {
        font-size: 1.6rem;
    }
    
    .intro-text h2 {
        font-size: 2.8rem !important;
    }
    
    .zodiac-signs-section h2 {
        font-size: 1.8rem !important;
    }
    
    .section-two h2,
    .section-three h2,
    .section-four h2 {
        font-size: 3.5rem !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: 1.3rem !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: 2.2rem;
        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.8rem;
        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: 2.8rem !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: 1.1rem !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: 200px;
    height: 200px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(189, 135, 229, 0.1), rgba(154, 125, 184, 0.1));
    border: 2px solid rgba(189, 135, 229, 0.3);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.15);
}

.sign-symbol-large svg {
    width: 70%;
    height: 70%;
    fill: #7a5a9c;
    stroke: #7a5a9c;
    stroke-width: 2;
}

.sign-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 3.5rem;
    color: #7a5a9c;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #9a7db8, #bd87e5, #7a5a9c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sign-dates {
    font-size: 2.2rem;
    color: #ffffff;
    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: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(154, 125, 184, 0.2);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(122, 90, 156, 0.1);
    cursor: pointer;
    transition: all 0.2s 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;
}

.info-btn:hover {
    border-color: #bd87e5;
    box-shadow: 0 12px 30px rgba(122, 90, 156, 0.15);
}

.info-btn.active {
    background: linear-gradient(135deg, #bd87e5, #9a7db8);
    color: white;
    border-color: #7a5a9c;
    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;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(154, 125, 184, 0.15);
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.1);
}

.content-panel.active {
    display: block;
}

.content-panel h2 {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #7a5a9c;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, #9a7db8, #bd87e5, #7a5a9c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-panel p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.content-panel strong {
    color: #7a5a9c;
    font-weight: 700;
}

/* 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: 1.8rem;
    }
    
    .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: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 120px 0 80px 0;
    position: relative;
    margin-top: 0;
    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;
}

/* 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: 20px;
    background: transparent;
    position: relative;
    margin-top: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}



.cartomanzia-form-section::before {
    display: none;
}

.form-card {
    background: transparent;
    padding: 30px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


@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: #2d1b3d;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.form-subtitle {
    color: #2d1b3d;
    font-size: 1.2rem;
    opacity: 0.95;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.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: #7a5a9c;
    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: 1fr 1fr 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);
    }
}

/* =========================
   ULTRA WIDE FORM STYLES
   ========================= */

/* Ultra Wide Form Layout - Completamente Orizzontale */
.form-ultra-wide {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    grid-template-rows: auto;
    gap: 25px;
    align-items: start;
    background: transparent;
    padding: 40px;
    border-radius: 25px;
    border: none;
    box-shadow: none;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

/* Layout specifico per le colonne - Tutte in orizzontale */
.form-ultra-wide .form-mini-column:nth-child(1) {
    /* Dati - prima colonna */
    grid-column: 1;
}

.form-ultra-wide .form-mini-column:nth-child(2) {
    /* Date - seconda colonna */
    grid-column: 2;
}

.form-ultra-wide .form-mini-column:nth-child(3) {
    /* La tua domanda - terza colonna (più larga) */
    grid-column: 3;
}

.form-ultra-wide .form-mini-column:nth-child(4) {
    /* Privacy - quarta colonna */
    grid-column: 4;
    max-width: none;
    margin: 0;
}

.form-ultra-wide::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #9a7db8, #b19cd9, #cfa8ff, #9a7db8);
    border-radius: 20px;
    z-index: -1;
    background-size: 300% 300%;
    animation: gentleGradientFlow 8s ease infinite;
    opacity: 0.7;
}

@keyframes gentleGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mini Columns - Layout Orizzontale Ottimizzato */
.form-mini-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    padding: 25px 20px;
    border-radius: 22px;
    border: none;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 450px;
    height: fit-content;
}

/* Colonna domanda (più larga nel layout orizzontale) */
.form-mini-column:nth-child(3) {
    background: transparent;
    border: none;
    min-height: 450px;
    padding: 25px;
}

/* Colonna privacy centrata e moderna */
.form-mini-column:nth-child(4) {
    background: transparent;
    border: none;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Mini Titles - Design Moderno */
.mini-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    padding: 15px 20px;
    background: #7a5a9c;
    color: white;
    border-radius: 18px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 20px rgba(122, 90, 156, 0.35);
    position: relative;
    overflow: hidden;
}

.mini-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.form-mini-column:hover .mini-title::before {
    left: 100%;
}

/* Form Groups Mini - Migliorati */
.form-group-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.form-group-mini label {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    color: #7a5a9c;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group-mini input,
.form-group-mini select,
.form-group-mini textarea {
    padding: 14px 18px;
    border: 2px solid #7a5a9c;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(122, 90, 156, 0.15);
    font-family: inherit;
    color: #333;
}

.form-group-mini input:focus,
.form-group-mini select:focus,
.form-group-mini textarea:focus {
    outline: none;
    border-color: #9a7db8;
    box-shadow: 
        0 0 0 4px rgba(154, 125, 184, 0.25),
        0 8px 25px rgba(154, 125, 184, 0.3);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-group-mini input:hover,
.form-group-mini select:hover,
.form-group-mini textarea:hover {
    border-color: #9a7db8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(154, 125, 184, 0.25);
}

.form-group-mini textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Select Wrapper Mini */
.select-wrapper-mini {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-arrow-mini {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9a7db8;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.select-wrapper-mini:hover .select-arrow-mini {
    color: #7a5a9c;
}

/* Character Counter */
.char-counter-mini {
    text-align: right;
    font-size: 0.85rem;
    color: #9a7db8;
    margin-top: 5px;
    font-weight: 500;
}

/* Privacy Section */
.privacy-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-micro {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #6c5a7d !important;
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #faf8ff 0%, #f5f2ff 100%);
    border: 1px solid rgba(154, 125, 184, 0.15);
    transition: all 0.3s ease;
}

/* Forza il colore del testo della checkbox */
.checkbox-micro, 
.checkbox-micro span,
.checkbox-micro label {
    color: #7a5a9c !important;
}

.checkbox-micro:hover {
    background: linear-gradient(135deg, #f5f2ff 0%, #ede4ff 100%);
    border-color: rgba(154, 125, 184, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(154, 125, 184, 0.1);
}

.checkbox-micro input[type="checkbox"] {
    display: none;
}

.check-micro {
    width: 18px;
    height: 18px;
    border: 2px solid #9a7db8;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
}

.checkbox-micro:hover .check-micro {
    border-color: #7a5a9c;
    transform: scale(1.05);
}

.checkbox-micro input[type="checkbox"]:checked + .check-micro {
    background: linear-gradient(135deg, #9a7db8, #b19cd9);
    border-color: #7a5a9c;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(154, 125, 184, 0.4);
}

.checkbox-micro input[type="checkbox"]:checked + .check-micro::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* CAPTCHA Section */
.captcha-mini {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f0eff5 0%, #e8e4f0 100%);
    border-radius: 10px;
    border: 1px solid rgba(154, 125, 184, 0.2);
}

.captcha-label {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #7a5a9c;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #6c5a7d;
}

.captcha-question input {
    width: 60px;
    text-align: center;
    font-weight: bold;
    color: #7a5a9c;
}

.captcha-refresh {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    color: white;
    border: none;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: linear-gradient(135deg, #7a5a9c, #6b4d8a);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 10px rgba(122, 90, 156, 0.3);
}

/* Submit Section */
.submit-mini {
    margin-top: 20px;
    text-align: center;
}

.btn-ultra-compact {
    background: #7a5a9c;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(122, 90, 156, 0.3);
    font-family: 'Racing Sans One', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.btn-ultra-compact:hover {
    background: #9a7db8;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(122, 90, 156, 0.4);
}

.btn-ultra-compact:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 15px rgba(122, 90, 156, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.note-mini {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #9a7db8;
    margin-top: 10px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.spinner-mini {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message Enhancements */
.success-message .success-card {
    background: linear-gradient(135deg, #9a7db8, #b19cd9, #cfa8ff);
    position: relative;
    overflow: hidden;
}

.success-message .success-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.success-message .success-card > * {
    position: relative;
    z-index: 2;
}

/* ============================
   RESPONSIVE TABLET GRANDE (1025px - 1199px)
   ============================ */
@media (max-width: 1199px) and (min-width: 1025px) {
    .form-ultra-wide {
        grid-template-columns: 1fr 1fr 1.5fr 1fr;
        gap: 20px;
        padding: 35px 25px;
        max-width: 1000px;
    }
    
    .form-mini-column {
        padding: 20px 15px;
        min-height: 400px;
    }
}

/* ============================
   RESPONSIVE TABLET (769px - 1024px)
   ============================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .form-ultra-wide {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 25px;
        padding: 30px 25px;
        max-width: 800px;
    }
    
    .form-ultra-wide .form-mini-column:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .form-ultra-wide .form-mini-column:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .form-ultra-wide .form-mini-column:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    
    .form-ultra-wide .form-mini-column:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .form-mini-column {
        padding: 25px 20px;
        min-height: 350px;
    }
}

/* 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;
    }
    
    /* Ultra Wide Form Responsive - Migliorato */
    .form-ultra-wide {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .form-ultra-wide .form-mini-column:nth-child(3),
    .form-ultra-wide .form-mini-column:nth-child(4) {
        grid-column: 1;
        max-width: none;
        margin: 0;
    }
    
    .form-mini-column {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .form-mini-column {
        padding: 20px;
        margin: 0;
    }
    
    .form-mini-column.wide {
        grid-column: span 1;
    }
    
    .mini-title {
        font-size: 1.2rem;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .form-group-mini label {
        font-size: 1rem;
    }
    
    .form-group-mini input,
    .form-group-mini select,
    .form-group-mini textarea {
        padding: 12px 12px;
        font-size: 0.9rem;
    }
    
    .form-group-mini textarea {
        min-height: 70px;
    }
    
    .checkbox-micro {
        font-size: 0.85rem;
        padding: 8px;
    }
    
    .check-micro {
        width: 16px;
        height: 16px;
    }
    
    .btn-ultra-compact {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
    }
    
    .captcha-mini {
        padding: 12px;
    }
    
    .captcha-question {
        font-size: 1rem;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .captcha-question input {
        width: 50px;
    }
    
    .note-mini {
        font-size: 0.9rem;
        margin-top: 8px;
    }

    .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;
    }
    
    /* Ultra Wide Form Responsive 480px */
    .form-ultra-wide {
        padding: 25px 15px;
        gap: 15px;
    }
    
    .form-mini-column {
        padding: 18px;
    }
    
    .mini-title {
        font-size: 1.1rem;
        padding: 8px 10px;
        margin-bottom: 10px;
    }
    
    .form-group-mini label {
        font-size: 0.95rem;
    }
    
    .form-group-mini input,
    .form-group-mini select,
    .form-group-mini textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .form-group-mini textarea {
        min-height: 60px;
    }
    
    .checkbox-micro {
        font-size: 0.8rem;
        padding: 6px;
    }
    
    .check-micro {
        width: 14px;
        height: 14px;
    }
    
    .btn-ultra-compact {
        padding: 12px 24px;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .captcha-mini {
        padding: 10px;
    }
    
    .captcha-question {
        font-size: 0.9rem;
    }
    
    .captcha-question input {
        width: 45px;
    }
    
    .captcha-refresh {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    .note-mini {
        font-size: 0.85rem;
    }

    .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: #7a5a9c;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #bd87e5, #9a7db8, #bd87e5, #7a5a9c);
    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: #7a5a9c;
    /* Effetto gradiente animato magico */
    background: linear-gradient(45deg, #bd87e5, #9a7db8, #bd87e5, #7a5a9c);
    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: 0;
    }
}

/* 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: 0;
    }
    
    .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: 0;
    }
    
    .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;
    }
}

/* Avatar cartomante - Stili finali e puliti */
.cartomanti-grid .cartomante-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #f8f4ff;
    border: 3px solid #b19cd9;
}

/* Container con immagine reale - Rimuove doppio cerchio */
.cartomanti-grid .cartomante-avatar:has(.avatar-img) {
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Immagini avatar reali - Dimensioni corrette dentro il cerchio */
.cartomanti-grid .cartomante-avatar .avatar-img {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    box-sizing: border-box;
    object-fit: cover;
    object-position: 60% 40%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Icone predefinite - Posizionamento di precisione per default */
.cartomanti-grid .cartomante-avatar .user-icon.default-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #7a5a9c;
    box-sizing: border-box;
    position: absolute;
    top: -3px;
    left: -3px;
}

/* Emoji avatar */
.cartomanti-grid .cartomante-avatar .emoji-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background: #fffacd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-sizing: border-box;
}

/* ========================================
   PAGINA DETTAGLIO CARTOMANTE
   ======================================== */

/* Error Message */
.error-message {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.error-message h2 {
    color: #333333;
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-message p {
    color: #666666;
    margin-bottom: 25px;
    font-size: 16px;
}

.back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #a479c3, #c089e9);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(177, 156, 217, 0.3);
}

.back-btn:hover {
    background: linear-gradient(135deg, #8a5ba3, #a479c3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 156, 217, 0.4);
}

/* Avatar grandi - stili per tutti i tipi */
.emoji-avatar-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: #fffacd;
    border-radius: 50%;
}

.default-avatar-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #7a5a9c;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border-radius: 50%;
}

.status-indicator.offline {
    background: #999;
}

/* Badge premium */
.badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

/* Breadcrumb */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #2a0845;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #d1b8ff;
    text-decoration: underline;
}

/* Cartomante Info Section */
.cartomante-info {
    padding: 60px 0;
}

.cartomante-header {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 50px;
    justify-content: center;
}

.cartomante-avatar-large {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #d1b8ff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.cartomante-avatar-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(209, 184, 255, 0.4);
    border-color: #b19cd9;
}

.avatar-large-img {
    width: 140%;
    height: 140%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: -20%;
    left: -20%;
}

.status-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #fff;
    transition: all 0.3s ease;
}

.status-indicator.online {
    background: #4CAF50;
    box-shadow: 0 0 15px #4CAF50, 0 0 0 2px rgba(76, 175, 80, 0.3);
    animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
    0% { box-shadow: 0 0 15px #4CAF50, 0 0 0 2px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 0 20px #4CAF50, 0 0 0 4px rgba(76, 175, 80, 0.6); }
    100% { box-shadow: 0 0 15px #4CAF50, 0 0 0 2px rgba(76, 175, 80, 0.3); }
}

.cartomante-details {
    flex: 1;
    min-width: 350px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cartomante-name {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 
        0 3px 6px rgba(0,0,0,0.4),
        0 0 20px rgba(255,255,255,0.3);
    letter-spacing: 2px;
    animation: nameGlow 3s infinite ease-in-out;
    text-transform: capitalize;
}

@keyframes nameGlow {
    0%, 100% { text-shadow: 0 3px 6px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.3); }
    50% { text-shadow: 0 3px 6px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.6), 0 0 40px rgba(189, 135, 229, 0.4); }
}

.cartomante-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.badge.disponibile {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    animation: pulse 2s infinite;
}

.badge.premium {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.badge.promo {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(74, 222, 128, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(74, 222, 128, 0.6); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.cartomante-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.badge {
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.badge.disponibile {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge.disponibile:hover {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

/* Badge per cartomanti che rispondono in 48H */
.badge.non-disponibile-ora {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.badge.non-disponibile-ora:hover {
    background: linear-gradient(135deg, #ef5350, #e57373);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.6);
    transform: translateY(-2px);
}

.badge.non-disponibile {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.badge.manager {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.badge.admin {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.5);
}

/* Stili per servizi cartomante */
.service-promo {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin: 8px 0;
    text-align: center;
}

.no-services, .error-services {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.error-services {
    color: #e74c3c;
}

.error-services p:first-child {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Modal per richiesta servizio */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    margin: 8px 0;
    color: #555;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b19cd9;
    box-shadow: 0 0 5px rgba(177, 156, 217, 0.3);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-cancel,
.btn-confirm {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-confirm {
    background: linear-gradient(135deg, #a479c3, #c089e9);
    color: white;
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #8a5ba3, #a479c3);
    transform: translateY(-1px);
}

.response-time {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.response-time.disponibile-ora {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.response-time.disponibile-ora:hover {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.response-time:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.6);
    background: linear-gradient(135deg, #ef5350, #e57373);
}

.cartomante-rating {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
}

.hearts, .stars {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: all 0.3s ease;
}

.hearts:hover, .stars:hover {
    transform: translateY(-2px);
}

.heart, .star {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.rating-count, .reviews-count {
    color: #bd87e5;
    font-size: 14px;
    font-weight: 600;
}

.cartomante-description {
    margin-bottom: 40px;
    color: #bd87e5;
    line-height: 1.7;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.cartomante-description p {
    margin: 0;
    font-style: italic;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.8;
}

.expand-description-btn {
    background: linear-gradient(135deg, #bd87e5, #9a7db8);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: 'Racing Sans One', cursive;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expand-description-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(189, 135, 229, 0.4);
}

/* Virgolette temporaneamente disabilitate per compatibilità con line-clamp
.cartomante-description p::before {
    content: '"';
    font-size: 2.5rem;
    color: rgba(189, 135, 229, 0.4);
    position: absolute;
    left: -15px;
    top: -10px;
    font-family: serif;
}

.cartomante-description p::after {
    content: '"';
    font-size: 2.5rem;
    color: rgba(189, 135, 229, 0.4);
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-family: serif;
}
*/

.cartomante-specialties ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    justify-content: center;
}

.cartomante-specialties li {
    background: #f8f9fa;
    color: #2a0845;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #d1b8ff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.cartomante-specialties li:hover {
    background: #d1b8ff;
    color: #2a0845;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(209, 184, 255, 0.3);
    border-color: #b19cd9;
}

.cartomante-zodiac {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 30px;
    justify-content: center;
}

.zodiac-sign {
    font-size: 1.2rem;
    color: #2a0845;
    font-weight: bold;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 50px;
    border: 2px solid #d1b8ff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.zodiac-sign:hover {
    background: #d1b8ff;
    color: #2a0845;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 184, 255, 0.3);
    border-color: #b19cd9;
}

.consults-count {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 50px;
    border: 2px solid #d1b8ff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.consults-count:hover {
    background: #d1b8ff;
    color: #2a0845;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 184, 255, 0.3);
    border-color: #b19cd9;
}

.consults-count strong {
    font-size: 1.2rem;
    color: #2a0845;
    font-weight: 700;
}

/* Tabs Section */
.cartomante-tabs {
    padding: 40px 0;
}

.tabs-header {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    color: #a479c3;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #c089e9;
    background: rgba(177, 156, 217, 0.1);
}

.tab-btn.active {
    color: #ffffff;
    border-bottom-color: #b19cd9;
    background: rgba(177, 156, 217, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h3 {
    color: #bd87e5;
    font-size: 1.8rem;
    font-family: 'Racing Sans One', cursive;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsività */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .cartomante-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
        padding: 0;
        margin-bottom: 40px;
    }
    
    .cartomante-avatar-large {
        width: 140px;
        height: 140px;
    }
    
    .cartomante-name {
        font-size: 2.2rem;
    }
    
    .cartomante-rating {
        justify-content: center;
        gap: 20px;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .cartomante-badges {
        justify-content: center;
    }
    
    .cartomante-zodiac {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .zodiac-sign {
        font-size: 18px;
        padding: 12px 20px;
    }
    
    .consults-count {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .cartomante-specialties ul {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-image img {
        width: 80px;
        height: 80px;
    }
    
    .service-info h4 {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cartomante-info {
        padding: 30px 0;
    }
    
    .cartomante-avatar-large {
        width: 120px;
        height: 120px;
    }
    
    .cartomante-name {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .cartomante-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cartomante-details {
        padding-left: 0;
        text-align: center;
    }
    
    .zodiac-sign {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .consults-count {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .cartomante-specialties li {
        font-size: 13px;
        padding: 8px 15px;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-radius: 25px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(189, 135, 229, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(189, 135, 229, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #bd87e5, #d8baff, #bd87e5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(189, 135, 229, 0.3);
    border-color: #bd87e5;
}

.service-card:hover::before {
    opacity: 1;
}

.service-image {
    text-align: center;
    margin-bottom: 15px;
}

.service-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid rgba(189, 135, 229, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(189, 135, 229, 0.2);
    background: linear-gradient(135deg, #bd87e5, #8b5cf6);
    padding: 5px;
}

.service-card:hover .service-image img {
    border-color: #bd87e5;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(189, 135, 229, 0.3);
}

.service-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-info h4 {
    color: #bd87e5;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.service-price {
    font-size: 1.5rem;
    color: #bd87e5;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.service-description {
    color: #bd87e5;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-timing {
    background: linear-gradient(135deg, rgba(189, 135, 229, 0.3), rgba(189, 135, 229, 0.15));
    color: #bd87e5;
    padding: 10px 16px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 2px solid rgba(189, 135, 229, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-timing:hover {
    background: linear-gradient(135deg, rgba(189, 135, 229, 0.4), rgba(189, 135, 229, 0.2));
    border-color: rgba(189, 135, 229, 0.5);
    transform: translateY(-1px);
}

.service-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #bd87e5, #d8baff);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(189, 135, 229, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-buy-btn:hover {
    background: linear-gradient(135deg, #a870d4, #bd87e5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(189, 135, 229, 0.4);
}

/* Schedule Table */
.schedule-table {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(177, 156, 217, 0.3);
    backdrop-filter: blur(10px);
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    background: linear-gradient(135deg, #b19cd9, #a479c3);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.schedule-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.time-slot {
    background: rgba(177, 156, 217, 0.2);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 8px;
    margin-right: 8px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 5px;
    border: 1px solid rgba(177, 156, 217, 0.3);
}

.not-available {
    color: #888;
    font-style: italic;
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border-left: 4px solid #b19cd9;
    backdrop-filter: blur(10px);
}

.review-rating {
    font-size: 18px;
    margin-bottom: 10px;
}

.review-author {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #b19cd9;
}

.review-date {
    color: #888;
    font-size: 14px;
}

.review-text {
    color: #e0e0e0;
    line-height: 1.5;
}

/* Free Consults */
.free-consults {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.consult-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(177, 156, 217, 0.3);
    backdrop-filter: blur(10px);
}

.consult-item h4 {
    color: #b19cd9;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Racing Sans One', cursive;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.question {
    background: rgba(177, 156, 217, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #a479c3;
}

.question p {
    color: #e0e0e0;
    font-style: italic;
    margin: 0;
}

.responder {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(177, 156, 217, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(177, 156, 217, 0.3);
}

.responder-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.responder span {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.answer {
    background: rgba(177, 156, 217, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #b19cd9;
}

.answer p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section h3 {
    text-align: center;
    color: #ffffff;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(177, 156, 217, 0.3);
    backdrop-filter: blur(10px);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(177, 156, 217, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #b19cd9;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cartomante-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cartomante-avatar-large {
        margin: 0 auto;
    }
    
    .cartomante-name {
        font-size: 2rem;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cartomante-badges {
        justify-content: center;
    }
    
    .cartomante-rating {
        justify-content: center;
    }
    
    .cartomante-zodiac {
        justify-content: center;
    }
}

/* Pricing and Actions */
.pricing-actions {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.1), rgba(164, 121, 195, 0.15));
    border: 1px solid rgba(177, 156, 217, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(177, 156, 217, 0.2);
    border-color: rgba(177, 156, 217, 0.5);
}

.pricing-card h3 {
    color: #b19cd9;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.price-unit {
    font-size: 0.9rem;
    color: #a479c3;
    display: block;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #b19cd9, #a479c3);
    color: white;
    box-shadow: 0 4px 15px rgba(177, 156, 217, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 156, 217, 0.4);
    background: linear-gradient(135deg, #c089e9, #b579d3);
}

.btn-secondary {
    background: transparent;
    color: #b19cd9;
    border: 2px solid #b19cd9;
}

.btn-secondary:hover {
    background: #b19cd9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(177, 156, 217, 0.3);
}

/* =========================
   SERVIZI PAGE STYLES
   ========================= */

.services-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f4ff 100%);
}

.services-section h2 {
    text-align: center;
    color: #7a5a9c;
    font-family: 'Racing Sans One', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-section .section-subtitle {
    text-align: center;
    color: #9a7db8;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    margin-bottom: 50px;
    font-style: italic;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(154, 125, 184, 0.15);
    box-shadow: 0 10px 30px rgba(122, 90, 156, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(122, 90, 156, 0.2);
    border-color: rgba(189, 135, 229, 0.3);
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #7a5a9c;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-price {
    background: linear-gradient(135deg, #bd87e5, #9a7db8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.service-time {
    color: #9a7db8;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-btn {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(154, 125, 184, 0.3);
}

.loading-message {
    text-align: center;
    color: #9a7db8;
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .services-section h2 {
        font-size: 2rem;
    }
    
    .services-section .section-subtitle {
        font-size: 1.2rem;
    }
}

/* =========================
   MODAL CARTOMANTI STYLES
   ========================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    max-height: 80vh;
    width: 90%;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 2px solid rgba(154, 125, 184, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #7a5a9c;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.6rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9a7db8;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(154, 125, 184, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px 30px 30px;
}

.cartomanti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cartomante-card {
    background: rgba(248, 244, 255, 0.6);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(154, 125, 184, 0.1);
    transition: all 0.3s ease;
}

.cartomante-card:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 135, 229, 0.3);
    box-shadow: 0 10px 25px rgba(122, 90, 156, 0.15);
}

.cartomante-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid rgba(189, 135, 229, 0.3);
}

.cartomante-info h4 {
    color: #7a5a9c;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.specialization {
    color: #9a7db8;
    font-style: italic;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.status {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status.online {
    color: #28a745;
}

.status.offline {
    color: #dc3545;
}

.rating {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.select-cartomante-btn {
    background: linear-gradient(135deg, #9a7db8, #7a5a9c);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-cartomante-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(154, 125, 184, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive per modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 15px 20px 20px;
    }
    
    .cartomanti-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cartomante-card {
        padding: 20px;
    }
}

/* =========================
   KEYFRAMES ANIMATIONS
   ========================= */

@keyframes magicalGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* =========================
   CARTOMANZIA HERO IMPROVEMENTS
   ========================= */

.cartomanzia-hero-new .title-banner {
    background: linear-gradient(135deg, #9a7db8, #bd87e5, #7a5a9c) !important;
    box-shadow: 0 8px 25px rgba(154, 125, 184, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.cartomanzia-hero-new .title-banner p {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 0.5px !important;
}

/* =========================
   CHECKOUT PAGE STYLES
   ========================= */

.checkout-page {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.checkout-content {
    padding: 140px 0 80px 0;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.checkout-header {
    text-align: center;
    margin-bottom: 50px;
}

.checkout-header h1 {
    color: #4a148c;
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.checkout-header h1 i {
    margin-right: 15px;
    color: #8e24aa;
}

.checkout-header p {
    color: #6a1b9a;
    font-size: 1.2rem;
    font-weight: 500;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Sezione sinistra */
.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-summary,
.payment-methods,
.request-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-summary:hover,
.payment-methods:hover,
.request-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.service-summary::before,
.payment-methods::before,
.request-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d1b8ff, #9c27b0, #d1b8ff);
}

.service-summary h2,
.payment-methods h2,
.request-form h2 {
    color: #4a148c;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(156, 39, 176, 0.1);
}

.service-summary h2 i,
.payment-methods h2 i,
.request-form h2 i {
    color: #8e24aa;
    font-size: 1.8rem;
}

.payment-subtitle {
    color: #7b1fa2;
    font-size: 1rem;
    margin-bottom: 25px;
    font-style: italic;
    text-align: center;
    opacity: 0.9;
}

/* Service details */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(243, 229, 245, 0.5) 0%, rgba(225, 190, 231, 0.3) 100%);
    border-radius: 20px;
    border: 1px solid rgba(156, 39, 176, 0.1);
    position: relative;
}

.service-info h3 {
    color: #4a148c;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-info p {
    color: #6a1b9a;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.service-info p i {
    color: #8e24aa;
    width: 20px;
    font-size: 1.1rem;
}

.service-price .price {
    color: #4a148c;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    font-family: 'Dancing Script', cursive;
}

/* Payment methods */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.payment-option {
    cursor: pointer;
    width: 100%;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    border: 2px solid rgba(156, 39, 176, 0.1);
    border-radius: 20px;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: center;
    height: 180px;
    width: 100%;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.payment-card:hover {
    border-color: #8e24aa;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(142, 36, 170, 0.15);
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: #4a148c;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    box-shadow: 0 15px 30px rgba(74, 20, 140, 0.2);
    transform: translateY(-8px);
}

.payment-option input[type="radio"]:checked + .payment-card::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #4a148c, #8e24aa);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(74, 20, 140, 0.4);
    animation: checkPulse 0.3s ease-out;
}

@keyframes checkPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.payment-card i {
    font-size: 2.5rem;
    color: #4a148c;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    display: block;
    text-align: center;
    line-height: 1;
}

.payment-option input[type="radio"]:checked + .payment-card i {
    color: #8e24aa;
    transform: scale(1.1);
}

.payment-card span {
    font-weight: 700;
    color: #4a148c;
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.payment-badge {
    font-size: 0.85rem;
    color: #6a1b9a;
    font-weight: 600;
    background: rgba(225, 190, 231, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 5px;
    white-space: nowrap;
    text-align: center;
    min-width: 80px;
}

/* Stili specifici per PayPal */
.payment-option input[value="paypal"]:checked + .payment-card {
    border-color: #0070ba;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.payment-option input[value="paypal"]:checked + .payment-card i {
    color: #0070ba;
}

.payment-option input[value="paypal"]:checked + .payment-card::after {
    background: linear-gradient(135deg, #0070ba, #0099ff);
    box-shadow: 0 3px 12px rgba(0, 112, 186, 0.4);
}

/* Stili specifici per Carta di Credito */
.payment-option input[value="stripe"]:checked + .payment-card {
    border-color: #32325d;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
}

.payment-option input[value="stripe"]:checked + .payment-card i {
    color: #32325d;
}

.payment-option input[value="stripe"]:checked + .payment-card::after {
    background: linear-gradient(135deg, #32325d, #6b73ff);
    box-shadow: 0 3px 12px rgba(50, 50, 93, 0.4);
}

.payment-option input[type="radio"] {
    display: none;
}

/* Form styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #4a148c;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.form-group label i {
    color: #8e24aa;
    width: 18px;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(156, 39, 176, 0.1);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    color: #4a148c;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8e24aa;
    box-shadow: 0 0 0 4px rgba(142, 36, 170, 0.1);
    background: white;
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.help-text {
    color: #7b1fa2;
    font-size: 0.9rem;
    margin-top: 8px;
    font-style: italic;
}

/* Checkbox styles */
.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    cursor: pointer;
    margin-bottom: 0 !important;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s;
}

.checkbox-label:hover {
    background: rgba(156, 39, 176, 0.05);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ce93d8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #8e24aa;
    border-color: #8e24aa;
    transform: scale(1.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.checkbox-label span:not(.checkmark) {
    color: #6a1b9a;
    line-height: 1.5;
    font-size: 0.95rem;
}

.checkbox-label a {
    color: #8e24aa;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #8e24aa;
}

.checkbox-label a:hover {
    border-bottom-style: solid;
}

/* Sezione destra */
.checkout-right {
    width: 100%;
    max-width: 380px;
    height: fit-content;
    position: relative;
    transition: all 0.3s ease;
}

.order-summary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: fit-content;
}

.checkout-right:hover .order-summary {
    box-shadow: 0 20px 50px rgba(106, 27, 154, 0.2);
    transform: translateY(-5px);
}

.order-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d1b8ff, #9c27b0, #d1b8ff);
}

.order-summary h3 {
    color: #4a148c;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(156, 39, 176, 0.1);
}

.order-summary h3 i {
    color: #8e24aa;
    font-size: 1.8rem;
}

.summary-details {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(156, 39, 176, 0.2);
    color: #4a148c;
    font-size: 1.05rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.cartomante {
    color: #7b1fa2;
    font-size: 1rem;
    justify-content: flex-start;
    background: rgba(243, 229, 245, 0.5);
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.summary-item.cartomante i {
    color: #8e24aa;
    margin-right: 10px;
}

.total-section {
    border-top: 2px solid rgba(156, 39, 176, 0.1);
    padding-top: 25px;
    margin-bottom: 30px;
}

.subtotal,
.total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #6a1b9a;
}

.total {
    font-size: 1.5rem;
    color: #4a148c;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(156, 39, 176, 0.2);
}

.btn-purchase {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, #ab47bc 0%, #7b1fa2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(123, 31, 162, 0.3);
}

.btn-purchase::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.5s;
}

.btn-purchase:hover:not(.disabled)::before {
    left: 100%;
}

.btn-purchase:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(123, 31, 162, 0.4);
    background: linear-gradient(135deg, #ba68c8 0%, #8e24aa 100%);
}

.btn-purchase.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #bdbdbd;
    box-shadow: none;
}

.btn-purchase i {
    font-size: 1.2rem;
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7b1fa2;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    width: 100%;
    justify-content: center;
}

.badge i {
    color: #8e24aa;
    width: 18px;
    font-size: 1.1rem;
}

/* Responsive per schermi medi */
@media (max-width: 1200px) {
    .checkout-layout {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }
    
    .checkout-container {
        padding: 0 15px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .checkout-left {
        flex-direction: column-reverse;
    }
    
    .checkout-container {
        padding: 0 15px;
    }
    
    .checkout-right {
        width: 100% !important;
        max-width: none !important;
    }
    
    .order-summary {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .checkout-content {
        padding: 100px 15px 40px 15px;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .checkout-left {
        gap: 20px;
    }
    
    .service-summary,
    .payment-methods,
    .request-form,
    .order-summary {
        padding: 20px;
    }
    
    .service-summary h2,
    .payment-methods h2,
    .request-form h2 {
        font-size: 1.2rem;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-card {
        height: 140px;
        padding: 25px 20px;
        gap: 12px;
    }
    
    .payment-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .payment-card span {
        font-size: 1rem;
    }
    
    .payment-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
        min-width: 60px;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .service-price {
        align-self: flex-end;
    }
    
    .btn-purchase {
        font-size: 1.1rem;
        padding: 18px;
    }
}

/* =========================
   CHECKOUT SUCCESS PAGE STYLES
   ========================= */

.checkout-success-page {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.success-content {
    padding: 140px 0 80px 0;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 140px);
}

.success-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(106, 27, 154, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d1b8ff, #9c27b0, #d1b8ff);
}

.success-icon {
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.success-icon i {
    font-size: 6rem;
    background: linear-gradient(135deg, #66bb6a, #43a047);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: successPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(76, 175, 80, 0.3));
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 5px 15px rgba(76, 175, 80, 0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 10px 25px rgba(76, 175, 80, 0.5)); }
}

.success-card h1 {
    color: #4a148c;
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.success-message {
    color: #6a1b9a;
    font-size: 1.3rem;
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 500;
}

.order-details {
    background: rgba(243, 229, 245, 0.6);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(156, 39, 176, 0.1);
}

.order-info h3 {
    color: #4a148c;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.order-info h3 i {
    color: #8e24aa;
    font-size: 1.8rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(156, 39, 176, 0.2);
    color: #4a148c;
    font-size: 1.1rem;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item .label {
    font-weight: 600;
    color: #333;
}

.order-item .value {
    color: #666;
}

.status-processing {
    color: #ffa500 !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.next-steps {
    margin-bottom: 40px;
    text-align: left;
}

.next-steps h3 {
    color: #6a4c93;
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.next-steps h3 i {
    color: #bf89eb;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f4ff 0%, #e8ddf7 100%);
    border-radius: 12px;
    border: 2px solid rgba(191, 137, 235, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #bf89eb, #6a4c93);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #6a4c93;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    line-height: 1.5;
}

.contact-support {
    background: #fff9e6;
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.contact-support h3 {
    color: #6a4c93;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-support h3 i {
    color: #ffd700;
}

.contact-support p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6a4c93;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: #bf89eb;
}

.contact-method i {
    color: #ffd700;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #bf89eb, #6a4c93);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 137, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: #6a4c93;
    border: 2px solid #bf89eb;
}

.btn-secondary:hover {
    background: #bf89eb;
    color: white;
    transform: translateY(-2px);
}

/* Responsive per success page */
@media (max-width: 768px) {
    .success-content {
        padding: 100px 20px 40px 20px;
    }
    
    .success-card {
        padding: 30px 20px;
    }
    
    .success-card h1 {
        font-size: 2rem;
    }
    
    .success-icon i {
        font-size: 4rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== CARD POPUP ==================== */
.card-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-popup-overlay.show {
    opacity: 1;
}

.card-popup,
.card-popup-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.card-popup-overlay.show .card-popup,
.card-popup-overlay.show .card-popup-content {
    transform: scale(1);
}

.popup-close,
.card-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover,
.card-popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

.popup-content h3,
.card-popup-header h3 {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.8rem;
    color: #7a5a9c;
    margin-bottom: 20px;
    text-align: center;
}

.popup-content p,
.card-popup-body p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .card-popup {
        padding: 20px;
        margin: 20px;
    }
    
    .popup-content h3 {
        font-size: 1.5rem;
    }
    
    .popup-content p {
        font-size: 1.1rem;
    }
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    transform: scale(1.05);
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
}

.scroll-to-top .loader {
    --fill-color: #7a5a9c;
    --shine-color: #7a5a9c33;
    transform: scale(1);
    width: 80px;
    height: 80px;
    position: relative;
    filter: drop-shadow(0 0 15px var(--shine-color));
    pointer-events: none;
}

.scroll-to-top .loader #pegtopone {
    position: absolute;
    animation: none;
    opacity: 1;
    transform: scale(1) translateY(0px);
    pointer-events: none;
}

.scroll-to-top .loader #pegtoptwo {
    position: absolute;
    opacity: 0;
    transform: scale(0) translateY(-200px) translateX(-100px);
    animation: none;
    pointer-events: none;
}

.scroll-to-top .loader #pegtopthree {
    position: absolute;
    opacity: 0;
    transform: scale(0) translateY(-200px) translateX(100px);
    animation: none;
    pointer-events: none;
}

.scroll-to-top .loader svg g path:first-child {
    fill: var(--fill-color);
}

.scroll-to-top:hover .loader {
    animation-play-state: running;
    filter: drop-shadow(0 0 20px var(--shine-color));
}

.scroll-to-top:hover .loader #pegtopone {
    animation: flowe-one 1s linear infinite;
}

.scroll-to-top:hover .loader #pegtoptwo {
    animation: flowe-two 1s linear infinite;
    animation-delay: 0.3s;
}

.scroll-to-top:hover .loader #pegtopthree {
    animation: flowe-three 1s linear infinite;
    animation-delay: 0.6s;
}

.scroll-to-top:active .loader #pegtopone {
    animation: flowe-one 0.8s linear infinite;
}

.scroll-to-top:active .loader #pegtoptwo {
    animation: flowe-two 0.8s linear infinite;
    animation-delay: 0.2s;
}

.scroll-to-top:active .loader #pegtopthree {
    animation: flowe-three 0.8s linear infinite;
    animation-delay: 0.4s;
}

@keyframes flowe-one {
    0% {
        transform: scale(0.5) translateY(-200px);
        opacity: 0;
    }
    25% {
        transform: scale(0.75) translateY(-100px);
        opacity: 1;
    }
    50% {
        transform: scale(1) translateY(0px);
        opacity: 1;
    }
    75% {
        transform: scale(0.5) translateY(50px);
        opacity: 1;
    }
    100% {
        transform: scale(0) translateY(100px);
        opacity: 0;
    }
}

@keyframes flowe-two {
    0% {
        transform: scale(0.5) rotateZ(-10deg) translateY(-200px) translateX(-100px);
        opacity: 0;
    }
    25% {
        transform: scale(1) rotateZ(-5deg) translateY(-100px) translateX(-50px);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotateZ(0deg) translateY(0px) translateX(-25px);
        opacity: 1;
    }
    75% {
        transform: scale(0.5) rotateZ(5deg) translateY(50px) translateX(0px);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotateZ(10deg) translateY(100px) translateX(25px);
        opacity: 0;
    }
}

@keyframes flowe-three {
    0% {
        transform: scale(0.5) rotateZ(10deg) translateY(-200px) translateX(100px);
        opacity: 0;
    }
    25% {
        transform: scale(1) rotateZ(5deg) translateY(-100px) translateX(50px);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotateZ(0deg) translateY(0px) translateX(25px);
        opacity: 1;
    }
    75% {
        transform: scale(0.5) rotateZ(-5deg) translateY(50px) translateX(0px);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotateZ(-10deg) translateY(100px) translateX(-25px);
        opacity: 0;
    }
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 60px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .scroll-to-top .loader {
        transform: scale(0.6);
        width: 60px;
        height: 60px;
    }
}

/* From Uiverse.io by Shoh2008 - Nuove checkbox animate */ 
.checkbox-wrapper-12 {
  position: relative;
}

.checkbox-wrapper-12 > svg {
  position: absolute;
  top: -130%;
  left: -170%;
  width: 110px;
  pointer-events: none;
}

.checkbox-wrapper-12 * {
  box-sizing: border-box;
}

.checkbox-wrapper-12 input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  margin: 0;
}

.checkbox-wrapper-12 input[type="checkbox"]:focus {
  outline: 0;
}

.checkbox-wrapper-12 .cbx {
  width: 24px;
  height: 24px;
  top: calc(100px - 12px);
  left: calc(100px - 12px);
}

.checkbox-wrapper-12 .cbx input {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #7a5a9c;
  border-radius: 50%;
}

.checkbox-wrapper-12 .cbx label {
  width: 24px;
  height: 24px;
  background: none;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transform: trasnlate3d(0, 0, 0);
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx svg {
  position: absolute;
  top: 5px;
  left: 4px;
  z-index: 1;
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx svg path {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 19;
  stroke-dashoffset: 19;
  transition: stroke-dashoffset 0.3s ease;
  transition-delay: 0.2s;
}

.checkbox-wrapper-12 .cbx input:checked + label {
  animation: splash-12 0.6s ease forwards;
}

.checkbox-wrapper-12 .cbx input:checked + label + svg path {
  stroke-dashoffset: 0;
}

@-moz-keyframes splash-12 {
  40% {
    background: #7a5a9c;
    box-shadow: 0 -18px 0 -8px #7a5a9c, 16px -8px 0 -8px #7a5a9c, 16px 8px 0 -8px #7a5a9c, 0 18px 0 -8px #7a5a9c, -16px 8px 0 -8px #7a5a9c, -16px -8px 0 -8px #7a5a9c;
  }

  100% {
    background: #7a5a9c;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

@-webkit-keyframes splash-12 {
  40% {
    background: #7a5a9c;
    box-shadow: 0 -18px 0 -8px #7a5a9c, 16px -8px 0 -8px #7a5a9c, 16px 8px 0 -8px #7a5a9c, 0 18px 0 -8px #7a5a9c, -16px 8px 0 -8px #7a5a9c, -16px -8px 0 -8px #7a5a9c;
  }

  100% {
    background: #7a5a9c;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

@-o-keyframes splash-12 {
  40% {
    background: #7a5a9c;
    box-shadow: 0 -18px 0 -8px #7a5a9c, 16px -8px 0 -8px #7a5a9c, 16px 8px 0 -8px #7a5a9c, 0 18px 0 -8px #7a5a9c, -16px 8px 0 -8px #7a5a9c, -16px -8px 0 -8px #7a5a9c;
  }

  100% {
    background: #7a5a9c;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

@keyframes splash-12 {
  40% {
    background: #7a5a9c;
    box-shadow: 0 -18px 0 -8px #7a5a9c, 16px -8px 0 -8px #7a5a9c, 16px 8px 0 -8px #7a5a9c, 0 18px 0 -8px #7a5a9c, -16px 8px 0 -8px #7a5a9c, -16px -8px 0 -8px #7a5a9c;
  }

  100% {
    background: #7a5a9c;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

/* =======================================
   STILI PROMOZIONALI
   ======================================= */

/* Banner promozione */
.promo-banner {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    animation: promoGlow 2s ease-in-out infinite alternate;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

@keyframes promoGlow {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
    100% { transform: scale(1.02); box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5); }
}

/* Badge promozione sulla card */
.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: promoPulse 2s ease-in-out infinite;
    border: 1px solid #fff;
}

@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Response bubble per promo */
.response-bubble.promo {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    font-weight: bold;
    animation: promoPulse 2s ease-in-out infinite;
    border: 1px solid #fff;
}

/* Container prezzi promozionali */
.promo-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
}

/* Prezzo originale barrato */
.original-price {
    position: relative;
    color: #999;
    font-size: 14px;
    text-decoration: none;
}

.original-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #666;
    transform: translateY(-50%);
}

/* Prezzo scontato */
.discounted-price {
    color: #27ae60;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 1px rgba(46, 204, 113, 0.3);
}

/* Badge sconto */
.discount-badge {
    background: #e8f8f5;
    color: #27ae60;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #2ecc71;
}

/* Bottone consulti in promo */
.consult-btn.promo-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    font-weight: 800;
    animation: promoPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    margin-bottom: 5px; /* Extra space to prevent clipping */
}

.consult-btn.promo-btn:hover {
    background: linear-gradient(135deg, #27ae60, #219150);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    color: #fff;
}

/* Card in promozione - effetto speciale */
.cartomante-card:has(.promo-badge) {
    border: 2px solid #2ecc71;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
    animation: promoCardGlow 3s ease-in-out infinite;
    background: linear-gradient(to bottom, #fff, #f0fdf4);
}

@keyframes promoCardGlow {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
        border-color: #2ecc71;
    }
    50% { 
        box-shadow: 0 12px 35px rgba(46, 204, 113, 0.25);
        border-color: #27ae60;
    }
}

/* ==================== SEZIONE 5: CONSULTI GRATUITI (Q&A) ==================== */
.section-five {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #ffffff, #f8f4ff);
    padding: 80px 0;
    position: relative;
}

.section-five .section-title {
    font-family: 'Racing Sans One', cursive;
    font-size: 3.2rem;
    color: #7a5a9c;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-five .section-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    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);
}

.qa-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.qa-carousel .carousel-container {
    overflow: hidden;
    width: 100%;
}

.qa-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%; /* 5 cards */
}

.qa-card {
    flex: 0 0 20%; /* 1/5 of track width */
    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%;
}

.qa-header {
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cartomante-badge {
    background: linear-gradient(135deg, #b19cd9, #9f7aea);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Racing Sans One', cursive;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(159, 122, 234, 0.3);
}

.qa-content {
    text-align: left;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qa-question, .qa-answer {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
}

.qa-question {
    background-color: rgba(205, 167, 253, 0.1);
    border-left: 4px solid #cda7fd;
}

.qa-answer {
    background-color: rgba(122, 90, 156, 0.05);
    border-left: 4px solid #7a5a9c;
}

.qa-question strong, .qa-answer strong {
    display: block;
    color: #7a5a9c;
    font-family: 'Racing Sans One', cursive;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.qa-question p, .qa-answer p {
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}
