/**
 * HOME 1 - POP ART CLASSICO
 * Colori: Rosso Magenta (#FF0055), Giallo (#FFD600), Ciano (#00D9FF)
 */

/* === VARIABILI COLORE === */
.home1-pop-art {
    --color-primary: #FF0055;
    --color-secondary: #00D9FF;
    --color-accent: #FFD600;
    --color-black: #1A1A1A;
    --color-white: #FFFFFF;
}

/* === RESET BASE === */
.homepage-variant {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-black);
}

.homepage-variant * {
    box-sizing: border-box;
}

/* === HERO SECTION === */
.hero-pop-art {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-pop-art::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.6;
}

.hero-pop-art::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.05) 50%, transparent 52%);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-black);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 25px;
    margin-bottom: 25px;
    border: 3px solid var(--color-black);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
    transform: rotate(-2deg);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: rotate(-2deg) scale(1); }
    50% { transform: rotate(-2deg) scale(1.05); }
}

.hero-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(60px, 12vw, 120px);
    line-height: 0.9;
    color: var(--color-white);
    margin: 0 0 20px;
    text-shadow:
        4px 4px 0 var(--color-black),
        8px 8px 0 rgba(0,0,0,0.3);
    letter-spacing: 0.05em;
}

.title-highlight {
    color: var(--color-accent);
    text-shadow:
        4px 4px 0 var(--color-black),
        8px 8px 0 rgba(0,0,0,0.3),
        0 0 30px var(--color-accent);
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    color: var(--color-white);
    font-weight: 600;
    margin: 0 0 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-dates {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--color-accent);
    font-weight: 700;
    margin: 0 0 40px;
    text-shadow: 2px 2px 0 var(--color-black);
}

.hero-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 40px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border: 2px solid var(--color-white);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 24px;
}

.badge-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-white);
    letter-spacing: 0.1em;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 18px 36px;
    border: 3px solid var(--color-black);
    border-radius: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
    letter-spacing: 0.05em;
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translate(5px, 5px);
    box-shadow: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-black);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-instagram {
    background: var(--color-primary);
    color: var(--color-white);
}

/* === COMIC BUBBLES === */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.comic-bubble {
    position: absolute;
    background: var(--color-accent);
    color: var(--color-black);
    font-family: 'Bangers', sans-serif;
    font-size: 36px;
    padding: 18px 30px;
    border: 4px solid var(--color-black);
    border-radius: 50%;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
    animation: float 3s ease-in-out infinite;
    letter-spacing: 0.1em;
}

.comic-bubble::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border: 4px solid var(--color-black);
    border-radius: 50%;
    bottom: -15px;
    left: 30%;
}

.bubble-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.bubble-3 {
    bottom: 20%;
    left: 12%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* === SECTIONS === */
.about-section,
.events-preview,
.instagram-section {
    padding: 100px 20px;
}

.about-section {
    background: var(--color-white);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.events-preview {
    background: linear-gradient(180deg, #F9F9F9 0%, #FFFFFF 100%);
    position: relative;
}

.events-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(255,0,85,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.instagram-section {
    background: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* === TITLES === */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.comic-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(36px, 6vw, 60px);
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.comic-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    right: 10%;
    height: 6px;
    background: var(--color-primary);
    transform: skewX(-10deg);
}

.section-intro {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    color: #666;
    max-width: 800px;
    margin: -30px auto 50px;
    line-height: 1.6;
}

/* === ABOUT PANELS === */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.about-panel {
    background: var(--color-white);
    border: 5px solid var(--color-black);
    padding: 45px 35px;
    text-align: center;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    z-index: -1;
}

.about-panel:hover {
    transform: translate(-4px, -4px) rotate(-1deg);
    box-shadow: 12px 12px 0 rgba(0,0,0,0.2);
}

.panel-fumetto {
    border-color: var(--color-primary);
}

.panel-gioco {
    border-color: var(--color-secondary);
}

.panel-arte {
    border-color: var(--color-accent);
}

.panel-rotella {
    border-color: #FF6B00;
}

.panel-diabolik {
    border-color: #1A1A1A;
    background: #F5F5F5;
}

.panel-dylan {
    border-color: #B829FF;
}

.panel-icon {
    font-size: 70px;
    margin-bottom: 25px;
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.about-panel:hover .panel-icon {
    transform: scale(1.2) rotate(5deg);
}

.about-panel h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.panel-fumetto h3 {
    color: var(--color-primary);
    text-shadow: 2px 2px 0 rgba(255, 0, 85, 0.2);
}
.panel-gioco h3 {
    color: var(--color-secondary);
    text-shadow: 2px 2px 0 rgba(0, 217, 255, 0.2);
}
.panel-arte h3 {
    color: var(--color-accent);
    text-shadow: 2px 2px 0 rgba(255, 214, 0, 0.2);
}

.about-panel p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* === EVENTS GRID === */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.event-card {
    background: var(--color-white);
    border: 5px solid var(--color-black);
    overflow: hidden;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    z-index: 1;
}

.event-card:hover {
    transform: translate(-4px, -4px) rotate(-0.5deg);
    box-shadow: 12px 12px 0 rgba(0,0,0,0.2);
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 4px solid var(--color-black);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
}

.event-date {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.event-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--color-black);
}

.events-cta {
    text-align: center;
    margin-top: 50px;
}

/* === INSTAGRAM === */
.instagram-feed {
    margin: 40px 0;
}

.instagram-cta {
    text-align: center;
    margin-top: 30px;
}

/* === CTA FINAL === */
.cta-final {
    background: linear-gradient(135deg, var(--color-black) 0%, #2A2A2A 100%);
    color: var(--color-white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255,214,0,0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.cta-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(40px, 7vw, 64px);
    color: var(--color-accent);
    text-transform: uppercase;
    margin: 0 0 25px;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.5);
    position: relative;
    letter-spacing: 0.05em;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: var(--color-white);
    margin: 0 0 40px;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border: 3px solid var(--color-white);
    background: var(--color-white);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.newsletter-form button {
    flex-shrink: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-pop-art {
        min-height: 70vh;
        padding: 40px 20px;
    }

    .comic-bubble {
        font-size: 24px;
        padding: 10px 18px;
    }

    .bubble-1 {
        top: 10%;
        left: 5%;
    }

    .bubble-2 {
        top: 20%;
        right: 5%;
    }

    .bubble-3 {
        bottom: 15%;
        left: 5%;
    }

    .about-section,
    .events-preview,
    .instagram-section,
    .cta-final {
        padding: 60px 20px;
    }

    .about-grid {
        gap: 30px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .comic-bubble {
        display: none;
    }
}
