:root {
    /* Colors extracted from the PIRULO logo */
    --coral: #F75C7E;
    --blue: #2D2FA5;
    --yellow: #FFCB47;
    --cream: #FFF5E1;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--black);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, rgba(45, 47, 165, 0.55) 0%, rgba(247, 92, 126, 0.55) 100%);
}

.main-logo {
    max-width: 420px;
    width: 90%;
    margin-bottom: 15px;
    filter: drop-shadow(0 6px 30px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.claim {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 3px 3px 0 var(--blue), 6px 6px 0 rgba(247, 92, 126, 0.6);
    animation: floating 3s ease-in-out infinite;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--yellow);
    color: var(--blue);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 5px 5px 0 var(--blue);
    transition: all 0.2s ease;
    border: 3px solid var(--blue);
}

.cta-button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--blue);
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ========================================================================
   SECTION COMMON STYLES
   ======================================================================== */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--coral);
    text-shadow: 3px 3px 0 var(--yellow);
    position: relative;
    z-index: 2;
}

/* ========================================================================
   RETRO DECORATIVE SHAPES (90s-00s vibe)
   ======================================================================== */

/* --- Stars (four-point sparkle) --- */
.cities-section::before,
.cities-section::after,
.gallery-section::before,
.gallery-section::after,
.spotify-section::before,
.spotify-section::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* --- Cities Section: wavy top + scattered circles --- */
.cities-section {
    background: var(--cream);
    position: relative;
}

.cities-section::before {
    top: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23FFF5E1' d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.cities-section::after {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.15;
    top: 60px;
    right: -40px;
}

/* Extra decoration via box-shadow circles */
.cities-section .container {
    position: relative;
    z-index: 2;
}

.cities-section .container::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.08;
    bottom: -30px;
    left: -50px;
    z-index: 0;
}

.cities-section .container::after {
    content: '✦';
    position: absolute;
    font-size: 2.5rem;
    color: var(--yellow);
    opacity: 0.25;
    top: 10px;
    left: 30px;
    z-index: 0;
    animation: sparkle-rotate 6s linear infinite;
}

/* --- Gallery Section: zigzag top border + star shapes --- */
.gallery-section {
    background-color: var(--blue);
    color: var(--white);
    clip-path: none;
}

.gallery-section::before {
    top: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23FFF5E1' d='M0,0 L40,50 L80,0 L120,50 L160,0 L200,50 L240,0 L280,50 L320,0 L360,50 L400,0 L440,50 L480,0 L520,50 L560,0 L600,50 L640,0 L680,50 L720,0 L760,50 L800,0 L840,50 L880,0 L920,50 L960,0 L1000,50 L1040,0 L1080,50 L1120,0 L1160,50 L1200,0 L1240,50 L1280,0 L1320,50 L1360,0 L1400,50 L1440,0 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.gallery-section::after {
    content: '★';
    font-size: 6rem;
    color: var(--yellow);
    opacity: 0.08;
    bottom: 40px;
    right: 30px;
    animation: sparkle-rotate 10s linear infinite reverse;
}

/* Star shape bottom-left of gallery */
.gallery-section .container::before {
    content: '✦';
    position: absolute;
    font-size: 4rem;
    color: var(--coral);
    opacity: 0.12;
    top: 30px;
    right: -10px;
    z-index: 0;
    animation: sparkle-rotate 8s linear infinite;
}

.gallery-section .container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 8px solid var(--yellow);
    opacity: 0.06;
    border-radius: 50%;
    bottom: -60px;
    left: -80px;
    z-index: 0;
}

/* --- Spotify Section: bubbly top + circles + stars --- */
.spotify-section {
    background-color: var(--coral);
    color: var(--white);
}

.spotify-section::before {
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%232D2FA5' d='M0,60 Q180,0 360,60 Q540,120 720,60 Q900,0 1080,60 Q1260,120 1440,60 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.spotify-section::after {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 10px dashed var(--yellow);
    opacity: 0.1;
    bottom: -80px;
    left: -60px;
}

/* Floating star and circle */
.spotify-section .container {
    position: relative;
    z-index: 2;
}

.spotify-section .container::before {
    content: '✦';
    position: absolute;
    font-size: 3rem;
    color: var(--yellow);
    opacity: 0.2;
    top: -20px;
    right: 50px;
    z-index: 0;
    animation: sparkle-rotate 7s linear infinite;
}

.spotify-section .container::after {
    content: '♪';
    position: absolute;
    font-size: 5rem;
    color: var(--white);
    opacity: 0.08;
    bottom: -10px;
    left: 20px;
    z-index: 0;
    animation: floating 4s ease-in-out infinite;
}

/* Footer retro zigzag border */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%23F75C7E' d='M0,40 C360,0 720,40 1080,0 C1260,20 1350,40 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

@keyframes sparkle-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================================================
   SABORES SECTION — Music Genres
   ======================================================================== */
.sabores-section {
    background: var(--blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.sabores-section .section-title {
    color: var(--yellow);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.sabores-intro {
    text-align: center;
    color: var(--cream);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    opacity: 0.9;
}

.sabores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sabor-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 203, 71, 0.25);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.sabor-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 40px rgba(247, 92, 126, 0.35);
    border-color: var(--coral);
}

.sabor-img {
    width: 130px;
    height: 130px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    border: 3px solid var(--coral);
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Background images for genres */
.img-pop {
    background-image: url('genre-pop.png');
}

.img-hits {
    background-image: url('genre-hits.png');
}

.img-latin {
    background-image: url('genre-latin.png');
}

.img-rumba {
    background-image: url('genre-rumba.png');
}

.sabor-card:hover .sabor-img {
    transform: scale(1.1) rotate(-3deg);
    border-color: var(--yellow);
}

.sabor-card h3 {
    font-family: var(--font-heading);
    color: var(--yellow);
    font-size: 1.05rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.sabor-card p {
    color: var(--cream);
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 900px) {
    .sabores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .sabores-grid {
        grid-template-columns: 1fr;
    }

    .sabores-section {
        padding: 60px 0;
    }
}

/* ========================================================================
   CITIES SECTION CARDS
   ======================================================================== */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.city-card {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--blue);
    border: 4px solid var(--blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-6px);
    box-shadow: 10px 14px 0 var(--blue);
}

.city-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.city-card:hover .city-bg {
    transform: scale(1.1);
}

.city-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(45, 47, 165, 0.92));
    color: var(--white);
    text-align: left;
}

.city-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.ticket-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: var(--yellow);
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--blue);
}

.ticket-link:hover {
    transform: scale(1.05);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

/* ========================================================================
   GALLERY SECTION
   ======================================================================== */
.gallery-section .section-title {
    color: var(--yellow);
    text-shadow: 3px 3px 0 var(--coral);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    border: 5px solid var(--white);
    transform: rotate(var(--rot));
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:nth-child(even) {
    --rot: -2deg;
}

.gallery-item:nth-child(odd) {
    --rot: 2deg;
}

.gallery-item:hover {
    transform: rotate(0) scale(1.08);
    z-index: 5;
    border-color: var(--yellow);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ========================================================================
   SPOTIFY SECTION
   ======================================================================== */
.spotify-section .section-title {
    color: var(--white);
    text-shadow: 3px 3px 0 var(--blue);
}

.spotify-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.12);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.spotify-info {
    flex: 1;
}

.spotify-info h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.spotify-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.spotify-embed {
    flex: 1;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
    padding: 80px 0 40px;
    background-color: var(--cream);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo img {
    max-width: 140px;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--coral);
}

.copyright {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 768px) {
    .claim {
        font-size: 2rem;
    }

    .spotify-container {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 70px 0;
    }

    .main-logo {
        max-width: 300px;
    }
}