/* ============================
   CATEGORY TOGGLE BAR
============================ */
.category-toggle {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;

    display: flex;
    gap: 20px;
    padding: 12px 20px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 80px;
    border: 1px solid rgba(0, 179, 255, 0.4);
    box-shadow: 0 0 20px rgba(0,179,255,0.25);
}

.cat-btn {
    padding: 10px 22px;
    font-size: 15px;
    font-weight: bold;

    border-radius: 50px;
    border: 2px solid #00b3ff;

    background: black;
    color: #00b3ff;
    cursor: pointer;

    transition: 0.3s ease;
}

.cat-btn:hover {
    background: #00b3ff;
    color: black;
}

.cat-btn.active {
    background: #00b3ff;
    color: black;
    box-shadow: 0 0 15px rgba(0,179,255,0.5);
}

/* ============================
   SLIDER
============================ */
.slider {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: transparent;
    display: flex;
    align-items: center; /* CENTER the slider vertically */
}

/* SLIDE ITEMS */
.slider .list .item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1s;
}

.slider .list .item.active {
    opacity: 1;
}

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

.slider .list .item .content {
    position: absolute;
    top: 39%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 55%;
    max-width: 1100px;
    padding: 25px 40px;

    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 179, 255, 0.4);
    border-radius: 18px;
    box-shadow: 0 0 30px rgba(0, 179, 255, 0.45);
    backdrop-filter: blur(8px);
    justify-content: space-between;
    display: flex;
    gap: 40px;
    z-index: 20;
    color: white;
}

.slider .list .item .content h2 {
    font-size: 3.2rem;        /* BIGGER title */
    font-weight: 800;
    margin-bottom: 0px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(0,179,255,0.6);
}




.slider .list .item .content .left-box {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-top: -40px;
}

/* LEFT BUTTON ROW */
.left-box .buttons {
    display: flex;
    gap: 16px;
}

/* JOIN / REGISTER BUTTONS */
.left-box .buttons button {
    background: #00b3ff;
    padding: 12px 26px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.left-box .buttons button:hover {
    background: black;
    color: #00b3ff;
}

.slider .list .item {
    pointer-events: none;
}

.slider .list .item.active {
    pointer-events: auto;
}
.slider .list .item .content .right-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 20%;
    justify-content: center;
    align-items: stretch;

    margin-left: 20px;   /* 👉 moves right buttons RIGHT */
}


/* RIGHT SIDE VERTICAL BUTTONS */
.right-box button {
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    color: #00b3ff;
    border: 2px solid #00b3ff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.right-box button:hover {
    background: #00b3ff;
    color: black;
}


/* ============================
   THUMBNAILS (CARDS)
============================ */
.thumbnail {
    position: fixed;
    bottom: 10px;
    width: 100%;
    display: flex;
    gap: 16px;
    padding: 0 50px;
    overflow-x: auto;
    justify-content: center;
}

/* CARD SIZE INCREASED */
.thumbnail .item {
    width: 200px;
    height: 290px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* CARD IMAGE */
.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* EVENT NAME INSIDE THE CARD */
.thumbnail .item .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.55);
    color: #00b3ff;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 179, 255, 0.8);
    backdrop-filter: blur(4px);
}

/* ACTIVE CARD */
.thumbnail .item.active {
    filter: brightness(1.3);
    box-shadow: 0 0 20px rgba(0,179,255,0.5);
}


@media (max-width: 900px) {

  .slider .list .item .content h2 {
    font-size: 2rem;          /* smaller for mobile */
    white-space: nowrap;      /* prevent breaking */
    overflow: hidden;
    text-overflow: ellipsis;  /* safe fallback */
  }

}


@media (max-width: 900px) {

  .thumbnail {
    justify-content: flex-start; /* start from left */
    padding: 0 16px;             /* small safe spacing */
  }

}
/* =====================================
   MOBILE FIX — JOIN / REGISTER CARD
===================================== */

@media (max-width: 900px) {

  .slider .list .item .content {
    position: absolute;
    top: 38%;                        /* slightly lower */
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 80%;                      /* almost full width */
    padding: 10px  10px;              /* tighter padding */

    flex-direction: column;          /* stack left & right */
    gap: 5px;
  }

  /* LEFT SIDE */
  .slider .list .item .content .left-box {
    width: 100%;
    margin-top: 0;
    align-items: center;
    text-align: center;
  }

  .slider .list .item .content h2 {
    font-size: 1.8rem;               /* smaller heading */
  }


}

/* =====================================
   MOBILE FIX — 4 BUTTON GRID (2x2)
===================================== */

@media (max-width: 900px) {

  /* Make entire button area one grid */
  .slider .list .item .content .left-box {
    width: 100%;
    margin-top: 0;
    align-items: center;
    text-align: center;
  }

  /* Merge both button groups visually */
  .left-box .buttons,
  .slider .list .item .content .right-box {
    width: 100%;
  }

  /* Make both containers behave same */
  .left-box .buttons,
  .slider .list .item .content .right-box {
    display: grid;
        margin: 0;    
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

}


/* =========================
   MOBILE — Smaller Buttons
========================= */
@media (max-width: 900px) {

  .left-box .buttons button,
  .right-box button {
    padding: 8px 0;        /* smaller height */
    font-size: 0.9rem;     /* smaller text */
    border-radius: 8px;    /* slightly tighter corners */
  }
  .category-toggle {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;

    display: flex;
    gap: 10px;
    padding: 6px 10px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 80px;
    border: 1px solid rgba(0, 179, 255, 0.4);
    box-shadow: 0 0 20px rgba(0,179,255,0.25);
}

.cat-btn {
    padding: 2px 20px;
    font-size: 14px;
    font-weight: bold;

    border-radius: 50px;
    border: 2px solid #00b3ff;

    background: black;
    color: #00b3ff;
    cursor: pointer;

    transition: 0.3s ease;
}

.thumbnail .item {
    width: 190px;
    height: 230px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

  .left-box .buttons button {
    color: #000 !important;   /* force black text */
  }

}

.bg-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* ADD BLUR HERE */
  filter: blur(8px) saturate(0.9) contrast(0.9);
  
  animation: bg-zoom 40s linear infinite;
}