/* =========================================
   BLOCKZILLAS EVENTS PAGE
========================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#050816;
  color:#ffffff;
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  position:relative;
}

/* =========================================
   BACKGROUND GLOW
========================================= */

.bg-blur{
  position:fixed;
  border-radius:50%;
  filter:blur(140px);
  z-index:-1;
  opacity:0.7;
}

.blur1{
  width:450px;
  height:450px;
  background:#00e5ff50;
  top:-120px;
  left:-120px;
}

.blur2{
  width:450px;
  height:450px;
  background:#7c3aed50;
  bottom:-150px;
  right:-120px;
}

/* =========================================
   HERO SECTION
========================================= */

.events-hero{
  padding:140px 8% 70px;
  text-align:center;
  position:relative;
}

.hero-mini{
  color:#00e5ff;
  font-size:14px;
  letter-spacing:4px;
  font-weight:700;
  margin-bottom:24px;
  text-transform:uppercase;
}

.events-hero h1{
  font-size:78px;
  line-height:1.05;
  font-family:'Orbitron',sans-serif;
  margin-bottom:30px;

  background:linear-gradient(
    to right,
    #ffffff,
    #8be9ff,
    #ffffff
  );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-text{
  max-width:850px;
  margin:auto;
  color:#b8c1d9;
  line-height:1.9;
  font-size:18px;
}
/* =========================================
   SHOWCASE SECTION
========================================= */

.events-hub{
  padding:80px 8% 120px;
  display:flex;
  flex-direction:column;
  gap:50px;
}

/* MAIN CARD */

.event-showcase{
  position:relative;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:80px;

  padding:60px;

  background:
  linear-gradient(
    135deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.03)
  );

  border:1px solid rgba(255,255,255,0.08);

  border-radius:34px;

  overflow:hidden;

  backdrop-filter:blur(20px);
}

/* =========================================
   STACKED IMAGES
========================================= */

.stack-wrapper{
  position:relative;
  width:520px;
  height:360px;
  flex-shrink:0;
}

/* STACK CARD */

.stack-item{
  position:absolute;

  width:200px;
  height:220px;

  background:#ffffff;

  padding:10px;

  border-radius:6px;

  box-shadow:
  0 20px 50px rgba(0,0,0,0.4);

  transition:0.4s ease;
}

.stack-item:hover{
  transform:translateY(-10px) scale(1.03);
  z-index:20;
}

/* MEDIA */

.stack-item img,
.stack-item video{
  width:100%;
  height:100%;


  border-radius:3px;
}

/* POSITIONS */

.stack1{
  top:-10px;
  left:70px;
  transform:rotate(-8deg);
}

.stack2{
  top:20px;
  left:210px;
  transform:rotate(7deg);
}

.stack3{
  top:140px;
  left:100px;
  transform:rotate(-6deg);
}

.stack4{
  top:170px;
  left:250px;
  transform:rotate(5deg);
}

.stack5{
  top:60px;
  left:360px;
  transform:rotate(-4deg);
}

/* =========================================
   CONTENT
========================================= */

.showcase-content{
  max-width:520px;
}

.showcase-content span{
  color:#00e5ff;
  font-size:13px;
  letter-spacing:3px;
  font-weight:700;
}

.showcase-content h2{
  font-size:64px;
  line-height:1;
  margin:20px 0 28px;

  font-family:'Orbitron',sans-serif;
}

.showcase-content p{
  color:#b8c1d9;
  line-height:1.9;
  font-size:17px;
  margin-bottom:40px;
}

/* BUTTON */

.showcase-content a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:18px 34px;

  border-radius:16px;

  background:
  linear-gradient(
    90deg,
    #00d9ff,
    #7c3aed
  );

  color:#fff;
  text-decoration:none;
  font-weight:700;

  transition:0.4s ease;
}

.showcase-content a:hover{
  transform:translateY(-5px);

  box-shadow:
  0 20px 50px rgba(0,217,255,0.2);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1100px){

  .event-showcase{
    flex-direction:column;
    text-align:center;
    padding:50px 30px;
  }

  .stack-wrapper{
    transform:scale(0.9);
  }

}


/* =========================================
   SHOWCASE IMAGE GRID
========================================= */

.showcase-images{
  flex:1;

  display:grid;

  grid-template-columns:
  repeat(2,1fr);

  gap:22px;

  align-items:start;
}

/* IMAGE + VIDEO STYLE */

.showcase-images img,
.showcase-images video{
  width:100%;
  object-fit:cover;

  border-radius:28px;

  border:1px solid rgba(255,255,255,0.08);

  transition:0.4s ease;

  box-shadow:
  0 20px 50px rgba(0,0,0,0.45);
}

/* DIFFERENT HEIGHTS */

.showcase-images .img1{
  height:320px;
}

.showcase-images .img2{
  height:250px;
  margin-top:40px;
}

.showcase-images .img3{
  height:360px;
}

.showcase-images .img4{
  height:230px;
  margin-top:40px;
}

.showcase-images .img5{
  height:270px;
}

/* HOVER */

.showcase-images img:hover,
.showcase-images video:hover{
  transform:
  translateY(-10px)
  scale(1.02);

  box-shadow:
  0 25px 60px rgba(0,229,255,0.18);
}

/* =========================================
   EVENTS LIST SECTION
========================================= */

.events-list-section{
  padding:20px 8%;
}

/* SECTION TITLE */

.section-heading{
  text-align:center;
  margin-bottom:80px;
}

.section-heading p{
  color:#00e5ff;
  letter-spacing:3px;
  font-size:13px;
  font-weight:700;
  margin-bottom:14px;
}

.section-heading h2{
  font-size:60px;
  font-family:'Orbitron',sans-serif;
}

/* =========================================
   EVENT CARD
========================================= */

.event-card{
  display:flex;
  align-items:center;
  gap:70px;

  margin-bottom:90px;

  background:rgba(255,255,255,0.04);

  border:1px solid rgba(255,255,255,0.08);

  border-radius:32px;

  padding:34px;

  backdrop-filter:blur(22px);

  transition:0.5s ease;
}

.event-card:hover{
  transform:translateY(-10px);

  border:1px solid rgba(0,229,255,0.2);

  box-shadow:
  0 20px 70px rgba(0,0,0,0.45);
}

.reverse-card{
  flex-direction:row-reverse;
}

/* =========================================
   EVENT IMAGE
========================================= */

.event-image{
  flex:1;
  position:relative;
  overflow:hidden;
  border-radius:26px;
}

.event-image img,
.event-image video{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:26px;
  transition:0.5s ease;
}

.event-image:hover img,
.event-image:hover video{
  transform:scale(1.05);
}

/* =========================================
   VIDEO OVERLAY
========================================= */

.video-overlay{
  position:absolute;
  top:22px;
  left:22px;

  padding:11px 18px;

  background:rgba(0,0,0,0.55);

  border:1px solid rgba(255,255,255,0.08);

  border-radius:40px;

  backdrop-filter:blur(12px);
}

.video-overlay span{
  font-size:12px;
  color:#ffffff;
  letter-spacing:2px;
  font-weight:700;
}

/* =========================================
   EVENT CONTENT
========================================= */

.event-content{
  flex:1;
}

.event-topline{
  color:#00e5ff;
  font-size:13px;
  letter-spacing:2px;
  font-weight:700;
}

.event-content h3{
  font-size:46px;
  line-height:1.2;
  margin:20px 0 24px;
}

.event-content p{
  color:#b8c1d9;
  line-height:1.95;
  margin-bottom:34px;
  font-size:16px;
}

/* BUTTON */

.event-content button{
  border:none;
  outline:none;

  padding:16px 30px;

  border-radius:16px;

  background:linear-gradient(
    90deg,
    #00e5ff,
    #7c3aed
  );

  color:#ffffff;

  font-size:15px;
  font-weight:700;

  cursor:pointer;

  transition:0.4s ease;
}

.event-content button:hover{
  transform:translateY(-5px);

  box-shadow:
  0 18px 45px rgba(0,229,255,0.25);
}

/* =========================================
   GLASS EFFECT
========================================= */

.glass-card{
  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.03)
  );
}

/* =========================================
   VIDEO CONTROLS
========================================= */

video::-webkit-media-controls-panel{
  background:rgba(0,0,0,0.7);
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
  height: 100%;
  position: relative;
}

.image-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* =========================================
   RESPONSIVE FOR ALL MOBILE SCREENS
========================================= */

/* TABLETS */
@media screen and (max-width:991px){

  .events-hero{
    padding:120px 5% 60px;
  }

  .events-hero h1{
    font-size:56px;
  }

  .hero-text{
    font-size:16px;
    line-height:1.8;
  }

  .event-showcase{
    flex-direction:column;
    text-align:center;
    gap:40px;
    padding:40px 25px;
  }

  .stack-wrapper{
    width:100%;
    transform:scale(.8);
    height:320px;
  }

  .showcase-content{
    max-width:100%;
  }

  .showcase-content h2{
    font-size:46px;
  }

  .showcase-images{
    grid-template-columns:1fr;
  }

  .event-card,
  .reverse-card{
    flex-direction:column;
    gap:35px;
  }

  .event-content{
    text-align:center;
  }

  .event-content h3{
    font-size:34px;
  }

  .section-heading h2{
    font-size:42px;
  }

}


/* MOBILE */
@media screen and (max-width:768px){

  .events-hero{
    padding:100px 20px 50px;
  }

  .hero-mini{
    font-size:12px;
    letter-spacing:2px;
  }

  .events-hero h1{
    font-size:42px;
    line-height:1.2;
  }

  .hero-text{
    font-size:15px;
  }

  .events-hub{
    padding:50px 20px;
  }

  .event-showcase{
    border-radius:24px;
    padding:30px 20px;
  }

  .stack-wrapper{
    width:100%;
    height:280px;
    transform:scale(.65);
    transform-origin:center;
  }

  /* reset stacked cards for phones */

  .stack-item{
    width:140px;
    height:160px;
  }

  .stack1{
    left:20px;
    top:0;
  }

  .stack2{
    left:130px;
    top:20px;
  }

  .stack3{
    left:50px;
    top:110px;
  }

  .stack4{
    left:160px;
    top:120px;
  }

  .stack5{
    left:4px;
  }

  .showcase-content h2{
    font-size:34px;
  }

  .showcase-content p{
    font-size:15px;
  }

  .showcase-content a{
    padding:15px 28px;
    width:100%;
  }

  .events-list-section{
    padding:20px;
  }

  .section-heading{
    margin-bottom:50px;
  }

  .section-heading h2{
    font-size:34px;
  }

  .event-card{
    padding:20px;
    border-radius:24px;
    margin-bottom:50px;
  }

  .event-content h3{
    font-size:28px;
  }

  .event-content p{
    font-size:14px;
    line-height:1.8;
  }

  .event-content button{
    width:100%;
  }

  .video-overlay{
    left:10px;
    top:10px;
    padding:8px 14px;
  }

  .showcase-images .img1,
  .showcase-images .img2,
  .showcase-images .img3,
  .showcase-images .img4,
  .showcase-images .img5{
      height:220px;
      margin-top:0;
  }

  .image-grid{
      grid-template-columns:1fr 1fr;
  }

  .image-grid img{
      height:120px;
  }

}


/* EXTRA SMALL DEVICES */
@media screen and (max-width:480px){

  .events-hero h1{
    font-size:32px;
  }

  .showcase-content h2{
    font-size:28px;
  }

  .section-heading h2{
    font-size:28px;
  }

  .event-content h3{
    font-size:24px;
  }

  .stack-wrapper{
    transform:scale(.55);
    height:220px;
  }

  .stack-item{
    width:120px;
    height:140px;
  }

}