/**
 * Wine Club Styles - Josetta Saffirio Design System
 * 
 * Stili per la pagina esclusiva del Wine Club
 * Coerente con il design system della home page
 * Version: 2.5.0 - Icone email e lucchetto rimosse
 */

/* CSS Variables - Identiche al login */
:root {
    --primary-beige: #EAE5D9;
    --accent-gold: #A39067;
    --text-dark: #333333;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-light: #E5E7EB;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-elegant: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Wine Club Hero Section - Stile coerente con hero principale */
/* Regola specifica per la pagina wine-club.php */
body.wine-club-page .hero {
    background-image: url('../assets/img/JS-vini-banner.avif') !important;
}

/* Fix overflow orizzontale per wine-club page */
body.wine-club-page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Fix overflow orizzontale per index page */
body.index-page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Fix specifico per la Hero nella pagina wine-club */
body.wine-club-page .hero {
    width: 100% !important;
    max-width: 100vw;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

/* Fix specifico per la Hero nella pagina index */
body.index-page .hero {
    width: 100% !important;
    max-width: 100vw;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    position: relative;
    left: 0;
    right: 0;
}

/* Fix generale per tutti i contenitori nella pagina wine-club */
body.wine-club-page * {
    box-sizing: border-box;
}

/* Fix generale per tutti i contenitori nella pagina index */
body.index-page * {
    box-sizing: border-box;
}

body.wine-club-page .wine-club-container,
body.wine-club-page .benefits-container,
body.wine-club-page .container {
    max-width: 100vw;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.index-page .wine-club-container,
body.index-page .benefits-container,
body.index-page .container {
    max-width: 100vw;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Fix specifico per i pseudo-elementi della Hero */
body.wine-club-page .hero::before,
body.wine-club-page .hero::after {
    max-width: 100vw;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
}

body.index-page .hero::before,
body.index-page .hero::after {
    max-width: 100vw;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Fix per tutti gli elementi che potrebbero causare overflow */
body.wine-club-page .hero-content {
    max-width: 100vw;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

body.index-page .hero-content {
    max-width: 100vw;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

/* Fix per i benefit boxes nella Hero */
body.wine-club-page .wine-club-benefits-hero {
    max-width: 100vw;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

body.wine-club-page .wine-club-benefits-hero .benefits-container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.wine-club-hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image: url('../assets/img/JS-vini-banner.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    overflow: hidden;
    text-align: center;
    animation: heroReveal 1.5s ease-out forwards;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Dark overlay con gradiente elegante */
.wine-club-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    animation: fadeIn 2s ease-out forwards;
}

/* Sottile overlay di movimento */
.wine-club-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/img/JS-vini-banner.avif');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    filter: blur(8px) contrast(120%);
    animation: subtleMove 30s infinite alternate ease-in-out;
    transform: translateZ(-10px) scale(1.1);
}

.wine-club-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: contentFadeIn 1s ease-out 0.5s forwards;
    text-align: center;
    margin: 0 auto;
}

.wine-club-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Titolo principale - identico alla home */
.wine-club-hero h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.4s forwards;
    will-change: transform, opacity;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}

/* Sottotitolo elegante */
.wine-club-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: descReveal 1.2s ease-out 1.2s forwards;
    max-width: 700px;
}

/* Azioni del wine club */
.wine-club-actions {
    margin-top: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: ctaReveal 1s ease-out 1.6s forwards;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Wine Club Auth Section - Stile coerente con design system */
.wine-club-auth {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.wine-club-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(234, 229, 217, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 0;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--beige);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.auth-tab {
    background: none;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.auth-tab:hover {
    color: var(--gold);
}

.auth-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.auth-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--beige);
    transition: var(--transition);
}

.auth-form-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.auth-form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.auth-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.auth-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.8;
    font-weight: 300;
}

/* Wine Club Form Styles - Replica esatta del login */
.wine-club-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    color: var(--text-light);
    z-index: 2;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(163, 144, 103, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Password Toggle Button - Stile identico al login */
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(163, 144, 103, 0.2);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.password-toggle:hover {
    background: rgba(163, 144, 103, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(163, 144, 103, 0.15);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle:focus {
    outline: none;
    background: rgba(163, 144, 103, 0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(163, 144, 103, 0.1);
}

.eye-icon {
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 18px;
    height: 18px;
}

.password-toggle:hover .eye-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Adjust input padding when password toggle is present */
.input-with-icon:has(.password-toggle) .form-group input {
    padding-right: 3.5rem;
}

/* Adjust input padding when icon is present - DISABLED */
/* .input-with-icon .form-group input {
    padding-left: 3rem;
} */

/* Animation for password toggle state change */
.password-toggle.animating .eye-icon {
    animation: eyeBlink 0.3s ease-in-out;
}

@keyframes eyeBlink {
    0% { transform: scale(1); }
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
}

/* Checkbox Styles - Identici al login */
.checkbox-group {
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Checkbox piccolissimo e rotondo - FORCE UPDATE */
.form-check-input {
    width: 0.75rem !important;
    height: 0.75rem !important;
    margin-right: 0.5rem;
    border: 1.5px solid var(--border-light);
    border-radius: 50% !important;
    background: var(--white);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.form-check-input:checked {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.5rem;
    font-weight: bold;
}

.form-check-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Wine Club Buttons - Identici al login */
.wine-club-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--accent-gold);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wine-club-btn:hover {
    background: #8B7A5A;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.wine-club-btn:active {
    transform: translateY(0);
}

.wine-club-btn::after {
    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.5s;
}

.wine-club-btn:hover::after {
    left: 100%;
}

.wine-club-btn-text {
    position: relative;
    z-index: 1;
}

.wine-club-btn.secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.wine-club-btn.secondary:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-1px);
}

.wine-club-btn.secondary:active {
    transform: translateY(0);
}

.wine-club-btn.full-width {
    width: 100%;
    margin-top: 1rem;
}

/* Auth Links */
.auth-links {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-link {
    color: #8B4513;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
}

.auth-link:hover {
    color: #6d3410;
    text-decoration: underline;
}

/* Registration Note */
.registration-note {
    margin-top: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
}

.registration-note p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* FAQ Section - Stile coerente con design system */
.wine-club-faq {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.wine-club-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(234, 229, 217, 0.2) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 0;
}

.wine-club-faq h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.wine-club-faq h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* FAQ Accordion Stile come esperienza.php */
.faq-subtitle {
    text-align: center;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.6;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion-item {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
}

.faq-accordion-item:last-child {
    border-bottom: none;
}

.faq-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-accordion-header:hover {
    background-color: rgba(201, 169, 97, 0.05);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
}

.faq-accordion-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-accordion-icon {
    font-size: 1.2rem;
    color: var(--gold);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0 0 0;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 200px;
    padding: 0 0 1.5rem 0;
}

.faq-accordion-content p {
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
    font-weight: 300;
    font-size: 0.95rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-accordion-header {
        padding: 1rem 0;
    }
    
    .faq-accordion-header h3 {
        font-size: 1rem;
        padding-right: 0.5rem;
    }
    
    .faq-accordion-icon {
        font-size: 1rem;
    }
    
    .faq-accordion-header:hover {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .faq-subtitle {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
}

/* Wine Club Hero Logged - Stile per utenti loggati */
.wine-club-hero-logged {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wine-club-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 4rem 0;
}

.wine-club-hero-title h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.4s forwards;
    will-change: transform, opacity;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}

.wine-club-hero-description {
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.6s forwards;
    will-change: transform, opacity;
}

.wine-club-hero-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
}

.wine-club-hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.8s forwards;
    will-change: transform, opacity;
}

.wine-club-hero-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wine-club-hero-button::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: all 0.6s ease;
    z-index: -1;
}

.wine-club-hero-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.wine-club-hero-button:hover::before {
    left: 100%;
}

/* Responsive per Wine Club Hero Logged - identico alla home */
@media (max-width: 1400px) {
    .wine-club-hero-title h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1200px) {
    .wine-club-hero-title h1 {
        font-size: 3.2rem;
    }
    
    .wine-club-hero-description p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .wine-club-hero-title h1 {
        font-size: 2.8rem;
    }
    
    .wine-club-hero-description p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .wine-club-hero-title h1 {
        font-size: 2.4rem;
    }
    
    .wine-club-hero-description p {
        font-size: 1rem;
    }
    
    .wine-club-hero-button {
        padding: 1rem 2.5rem;
    }
}

@media (max-width: 576px) {
    .wine-club-hero-title h1 {
        font-size: 2rem;
    }
    
    .wine-club-hero-button {
        padding: 0.9rem 2rem;
    }
}

/* Wine Club Sections - NUOVO STILE SEMPLICE */
.wine-club-sections-container {
    background: #f8f9fa;
    padding: 4rem 0;
}

.wine-club-sections-container .wine-club-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wine-club-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.wine-club-section:hover {
    transform: translateY(-5px);
}

.wine-club-section-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wine-club-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wine-club-section-content {
    padding: 2rem;
    text-align: center;
}

.wine-club-section-content h2 {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.wine-club-section-content h3 {
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-style: italic;
}

.wine-club-section-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.wine-club-section-btn {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.wine-club-section-btn:hover {
    background: #A39067;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .wine-club-sections-container {
        padding: 2rem 0;
    }
    
    .wine-club-section-image {
        height: 150px;
    }
    
    .wine-club-section-content {
        padding: 1.5rem;
    }
}

/* Wine Club Pending Section - Stile per utenti in attesa di approvazione */
.wine-club-pending {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.wine-club-pending h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wine-club-pending-info {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pending-icon {
    font-size: 3rem;
    color: #A39067;
    margin-bottom: 1rem;
}

.wine-club-pending-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
}


/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #363;
    border: 1px solid #cfc;
}

/* Animazioni mancanti - Coerenti con hero-styles.css */
@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes subtleMove {
    0% { transform: scale(1.05) translate(-5px, -5px); }
    100% { transform: scale(1.1) translate(5px, 5px); }
}

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

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    20% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes descReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctaReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Coerente con design system */
@media (max-width: 1400px) {
    .wine-club-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .wine-club-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1200px) {
    .wine-club-hero h1 {
        font-size: 3.2rem;
    }
    
    .wine-club-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .wine-club-container {
        padding: 0 2rem;
    }
    
    .wine-club-hero h1 {
        font-size: 2.8rem;
    }
    
    .wine-club-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .wine-club-hero h1 {
        font-size: 2.4rem;
    }
    
    .wine-club-subtitle {
        font-size: 1rem;
    }
    
    .wine-club-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .wine-club-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-form-container {
        padding: 2rem;
    }
    
    .auth-tab {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 576px) {
    .wine-club-hero h1 {
        font-size: 2rem;
    }
    
    .wine-club-subtitle {
        font-size: 0.95rem;
    }
    
    .wine-club-container {
        padding: 0 1rem;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
}
