*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#09090d;
    color:#fff;
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:url("./images/background.jpg") center center/cover no-repeat;
    filter:brightness(.25);
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    inset:0;
    background:linear-gradient(rgba(20,0,40,.65),rgba(0,0,0,.9));
    z-index:-1;
}

.events-page{
    width:100%;
    padding:72px 7% 40px;
}

.events-hero{
    max-width:1100px;
    margin:0 auto 42px;
    text-align:center;
}

.eyebrow,
.city-label{
    display:inline-block;
    margin-bottom:12px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.06);
    color:#ff70d6;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-size:12px;
}

.events-hero h1{
    font-size:clamp(2.2rem,5vw,4rem);
    line-height:1.08;
    margin-bottom:14px;
}

.subtitle{
    max-width:760px;
    margin:0 auto 28px;
    color:#cfcfcf;
    line-height:1.7;
    font-size:18px;
}

.city-switcher{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    margin-top:24px;
}

.city-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 20px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.04);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.25s ease;
    box-shadow:0 0 24px rgba(255,0,200,.08);
}

.city-chip:hover,
.city-chip.active{
    background:linear-gradient(135deg,#ff00c8,#ff4ea6);
    border-color:transparent;
    transform:translateY(-2px);
}

.city-section{
    display:flex;
    flex-direction:column;
    min-width:0;
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:28px;
    border-radius:28px;
    background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    height:auto;
}

.city-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}

.city-header > div{
    min-width:0;
}

.city-header h2{
    font-size:clamp(1.7rem,3vw,2.5rem);
    overflow-wrap:anywhere;
}

.city-count{
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#f2f2f2;
    white-space:nowrap;
}

.events-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,380px));
    gap:24px;
    width:100%;
}

.event-card{
    position:relative;
    width:100%;
    max-width:380px;
    min-height:420px;
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 0 30px rgba(255,0,200,.15);
    transition:.35s ease;
}

.event-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 45px rgba(255,0,212,.45);
}

.city-sections {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width:100%;
    max-width:1400px;
    margin:0 auto;
}

.event-card:hover .event-img{
    transform:scale(1.08);
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(255,0,140,.30),rgba(0,0,0,.82));
}

.date-box{
    position:absolute;
    top:22px;
    left:22px;
    width:80px;
    height:95px;
    border-radius:18px;
    background:linear-gradient(#ff00c8,#ff4ea6);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:2;
}

.date-box h2{
    font-size:40px;
    line-height:35px;
}

.date-box span{
    font-size:18px;
    font-weight:700;
}

.event-info,
.empty-content{
    position:absolute;
    left:28px;
    right:28px;
    bottom:28px;
    z-index:2;
}

.events-btns{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.event-info h3,
.empty-content h3{
    font-size:clamp(1.5rem,2.4vw,2.1rem);
    margin-bottom:12px;
}

.event-info p,
.empty-content p{
    color:#ddd;
    font-size:17px;
    margin-bottom:22px;
    line-height:1.55;
}

.event-info a,
.empty-content a{
    display:block;
    text-align:center;
    padding:16px;
    border-radius:15px;
    border:2px solid #ff00d4;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.35s ease;
    backdrop-filter:blur(12px);
    background:rgba(0,0,0,.35);
    overflow-wrap:anywhere;
}

.event-info a:hover,
.empty-content a:hover{
    background:#ff00d4;
}

.empty-card{
    min-height:340px;
}

.empty-content{
    max-width:460px;
}

.footer{
    width:100%;
    margin-top:24px;
    padding:28px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(10px);
}

.footer p{
    color:#a8a8a8;
    font-size:15px;
    letter-spacing:.5px;
}

@media (max-width: 1100px){
    .city-sections{
        gap:32px;
    }
}

@media (max-width: 900px){
    .events-page{
        padding:56px 5% 30px;
    }

    .city-section{
        padding:22px;
        border-radius:22px;
    }

    .city-header{
        flex-direction:column;
        align-items:flex-start;
        min-height:0;
    }

    .events-grid{
        grid-template-columns:1fr;
    }

    .event-card{
        min-height:400px;
    }
}

@media (max-width: 700px){
    .events-page{
        padding-top:42px;
    }

    .subtitle{
        font-size:16px;
        margin-bottom:22px;
    }

    .city-switcher{
        gap:10px;
    }

    .city-chip{
        width:100%;
        max-width:320px;
    }

    .city-section{
        padding:18px;
    }

    .city-sections{
        gap:20px;
    }

    .event-card{
        min-height:390px;
        border-radius:20px;
    }

    .date-box{
        top:16px;
        left:16px;
        width:68px;
        height:80px;
    }

    .date-box h2{
        font-size:32px;
    }

    .event-info,
    .empty-content{
        left:18px;
        right:18px;
        bottom:18px;
    }

    .event-info p,
    .empty-content p{
        font-size:15px;
    }

    .footer{
        padding:22px 15px;
    }

    .footer p{
        font-size:13px;
    }
}
