/* ============================ */
/* BASE STYLES */
/* ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
   background: #050505;
  color: #fff;
}

/* Canvas (stars) */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}


/* Navbar */
nav {
  position: fixed;
  top: 20px;
  right: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  background: rgba(44, 41, 41, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100;
}

/* Left side: logo + title */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem; /* increased spacing between logo and title */
}

.nav-logo {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 8px;
}

.nav-title {
  font-size: 1.2rem;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  color: #8ea9db;
  text-shadow: none;
}

/* Nav links */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #a5b8e0;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  transition: color 0.3s, text-shadow 0.3s;
}

/* underline animation */
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8ea9db;
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #b8c6f0;
  text-shadow: 0 0 8px rgba(184, 198, 240, 0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #8ea9db;
  transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 767px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(15, 25, 40, 0.95);
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    min-width: 180px;
  }

  .nav-links.show {
    display: flex;
    animation: slide-down 0.3s ease forwards;
  }

  .nav-links li {
    text-align: left;
  }

  .hero-logo {
    width: 200px;
  }

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

  .hero-buttons {
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.8rem;
  }
}







/* ======================================== */
/* 🎇 EVENTS SECTION - BOSCOTSAV THEME */
/* ======================================== */

.events-section {
  max-width: 1300px;
  margin: 120px auto 100px auto;
  padding: 20px;
  position: relative;
  z-index: 10;
}

/* ===== HEADER ===== */
.events-header {
  text-align: center;
  margin-bottom: 50px;
}

.events-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f9e79f;
  background: linear-gradient(90deg, #f9e79f, #8ea9db, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-text 6s linear infinite;
  margin-bottom: 25px;
}

@keyframes gradient-text {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-bar input {
  padding: 14px 22px;
  width: 350px;
  border-radius: 50px;
  border: 2px solid rgba(212,175,55,0.6);
  outline: none;
  font-size: 1rem;
  background: rgb(0, 0, 0);
  color: #fff;
  box-shadow: 0 0 15px rgba(212,175,55,0.25);
  transition: all 0.3s ease;
}

.search-bar input::placeholder {
  color: #cdd9ff;
  letter-spacing: 1px;
}

.search-bar input:focus {
  border-color: #f9e79f;
  box-shadow: 0 0 20px rgba(249,231,159,0.5);
  transform: scale(1.03);
}

/* ======================================== */
/* EVENT CARDS GRID */
/* ======================================== */
.card-container,
.events-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
  padding: 20px 0;
}

/* ===== CARD BASE ===== */
.card {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: fit-content;

  border-radius: 15px;
  overflow: hidden;

  background: transparent;

  border: 2px solid rgba(180,190,230,0.2);
  box-shadow: 0 0 25px rgba(142,169,219,0.25);

  transition: transform 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: #d4af37;
  box-shadow: 0 0 35px rgba(212,175,55,0.4), 0 0 70px rgba(142,169,219,0.3);
}

/* ===== CARD IMAGE ===== */
.card img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.85;
  background: #000000;
}

.card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* ===== HIDDEN CARD BODY (slide in) ===== */
.card-body {
  position: absolute;
  inset: 0;
   background: rgba(0, 0, 0, 0.8);  /* deep royal navy, translucent */
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 25px;
  color: #e0e6ff;
  border-radius: inherit;
  transform: translateX(100%);
  opacity: 0;
 transition: all 0.4s ease-in-out;
}

/* === [ADD] Make background even lighter on hover === */
.card:hover .card-body {
  background: rgba(0, 0, 0, 0.88);  /* slightly darker on hover */
  backdrop-filter: blur(8px);
}

.card:hover .card-body {
  transform: translateX(0);
  opacity: 1;
}
/* === [UPDATED] Visible elegant text on hover === */
.card:hover .card-title,
.card:hover .card-sub-title,
.card:hover .card-info {
  color: #f2f4ff; /* bright soft white */
  /*text-shadow: 0 0 10px rgba(170,190,255,0.7); /* subtle glow */
  transition: color 0.4s ease, text-shadow 0.4s ease;
}





/* ===== TEXTS ===== */
.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #f9e79f, #8ea9db, #d4af37);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-text 6s linear infinite;
  margin-bottom: 0.8rem; 
}

.card-sub-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #cdd9ff;
  margin-bottom: 0.6rem;
}

.card-info {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: #a5b8e0;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* ======================================== */
/* PREMIUM "READ MORE" BUTTON */
/* ======================================== */
.card-btn {
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #2c3947;
  color: #c7c6c2;
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
  transition: color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(90deg, #d4af37, #8ea9db, #f9e79f);*/
  transition: left 0.4s ease-in-out;
  z-index: 0;
}

.card-btn:hover::before {
  left: 0;
}

.card-btn:hover {
  color: #ffffff;
  box-shadow: 0 0 15px rgba(186, 186, 186, 0.863);
  transform: translateY(-3px);
}

.card-btn span {
  position: relative;
  z-index: 2;
}

/* ======================================== */
/* RESPONSIVE DESIGN */
/* ======================================== */
@media (max-width: 1024px) {
  .events-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .events-header h1 {
    font-size: 2rem;
  }
  .search-bar input {
    width: 280px;
  }
  .card {
    height: 400px;
  }
  .card-title {
    font-size: 1.5rem;
  }
}

/* ===========================
   EVENT FILTER BUTTONS
=========================== */

.event-filters{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:25px;
}

.filter-btn{
    padding:12px 24px;
    border:none;
    border-radius:50px;
    cursor:pointer;
    font-family:'Montserrat',sans-serif;
    font-size:0.95rem;
    font-weight:700;
    letter-spacing:1px;

    background:rgba(142,169,219,0.12);
    color:#dce6ff;

    border:1px solid rgba(142,169,219,0.25);

    transition:all .3s ease;
}

.filter-btn:hover{
    transform:translateY(-3px);
    background:rgba(142,169,219,0.25);
    box-shadow:0 0 15px rgba(142,169,219,0.35);
}

.filter-btn.active{
    background:linear-gradient(
        90deg,
        #f9e79f,
        #d4af37
    );
    color:#000;
    box-shadow:0 0 20px rgba(212,175,55,.5);
}



/* ============================= */
/* Elegant Royal Animated Footer */
/* ============================= */
.footer {
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75); /* translucent royal tone */
  backdrop-filter: blur(12px);
  color: #d6def8;
  padding: 70px 20px 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  border-top: 1px solid rgba(174, 188, 232, 0.3);
  margin-top: 80px;
}

/* Animated gradient line at top */
/* Base diagonal line styles */
.footer::before,
.footer::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 150%; /* extended to cover diagonal */
  opacity: 0.8;
  filter: drop-shadow(0 0 12px rgba(252, 228, 152, 0.521));
  background: linear-gradient(90deg, transparent, #e7d28d, #8ea9db, #cdd9ff, transparent);
  background-size: 200% 100%;
}

/* Line 1 – slightly above */
.footer::before {
  content: ''; 
  position: absolute;
  height: 1.5px;
  width: 120%; /* wider than footer */
  top: 1%;    /* slightly top */
  left: -10%;  /* start slightly outside left */
  transform: rotate(3deg);
  transform-origin: left top;
  background: linear-gradient(90deg, transparent, #d4af37, #8ea9db, #cdd9ff, transparent);
  background-size: 200% 100%;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  animation: glow-flow 4s linear infinite;
}

/* Line 2 – from top-right to bottom-left at ~25deg */
.footer::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 200%;      /* long enough to cross diagonally */
  top: 0;
  right: -50%;      /* shift to start inside the footer */
  transform: rotate(-25deg); /* slant from top-right to bottom-left */
  transform-origin: top right;
  background: linear-gradient(90deg, transparent, #d4af37, #8ea9db, #cdd9ff, transparent);
  background-size: 200% 100%;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  animation: glow-flow-reverse 5s linear infinite;
}

/* Glow animation – left to right */
@keyframes glow-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Glow animation – right to left */
@keyframes glow-flow-reverse {
  0% { background-position: 200% 50%; }
  100% { background-position: 0% 50%; }
}


/*animated top 
/* Decorative floating particles */
.footer::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.07;
  animation: drift 40s linear infinite;
}
@keyframes drift {
  from { transform: translate(0,0); }
  to { transform: translate(-200px,-200px); }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Logo & Title */
.footer-logo img {
  width: 80px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(174,188,232,0.8));
}

.footer-logo h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #b3c7ff, #8ea9db, #cdd9ff, #b3c7ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 10s infinite linear;
}
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}
/* Footer Stats Container */
.footer-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: -30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  z-index: 2;
}

/* Divider between stats */
.footer-stats .stat-divider {
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, #8ea9db, #cdd9ff);
  opacity: 0.6;
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(174,188,232,0.5);
}

/* Individual Stat */
.footer-stats .stat-item {
  text-align: center;
  cursor: default;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-stats .stat-item:hover {
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(174,188,232,0.9), 0 0 30px rgba(174,188,232,0.5);
}

/* Number Styling */
.footer-stats .stat-item span {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  font-family: 'Cinzel', serif;
  background: linear-gradient(90deg, #b3c7ff, #8ea9db, #cdd9ff, #b3c7ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s infinite linear;
  text-shadow: 0 0 10px rgba(174,188,232,0.7);
}

/* Label Styling */
.footer-stats .stat-item small {
  display: block;
  font-size: 0.85rem;
  color: #cdd9ff;
  letter-spacing: 1px;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Gradient Animation */
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .footer-stats {
    gap: 20px;
  }
  .footer-stats .stat-divider {
    display: none;
  }
  .footer-stats .stat-item span {
    font-size: 2rem;
  }
  .footer-stats .stat-item small {
    font-size: 0.8rem;
  }
}


/* Navigation Links */
.footer-links {
  display: flex;
  gap: 40px;
  margin-top: -40px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #a5b8e0;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}
.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #cdd9ff;
  transition: width 0.3s ease;
}
.footer-links a:hover::before {
  width: 100%;
}
.footer-links a:hover {
  color: #796dc8;
  text-shadow: 0 0 10px rgba(174,188,232,0.8);
}

/* Social Icons (royal glow, no circles) */
.footer-social {
  display: flex;
  gap: 30px;
  justify-content: center;
  text-decoration: none;
  align-items: center;
}
.footer-social a {
  color: #a5b8e0;
  font-size: 1.7rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  text-decoration: none;
  align-items: center;
}
.footer-social a:hover {
  color: #4556aeb5;
  transform: scale(1.25);
}
.footer-logo-icon {
  width: 32px;       /* adjust size as needed */
  height: 32px;
  filter: brightness(100%);
}
.white-logo {
  filter: brightness(100%);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 40px;
  font-size: 1rem;
  color: #8ea9db;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
  letter-spacing: 1px;
}

/* 📱 Responsive */
@media (max-width: 767px) {
  .footer{
    margin-top: -120px;
  }
  .footer-logo h2{
    font-size: 1.8rem;
  }
  .footer-links{
    margin-top: 1px;
    gap: 25px;
    font-size: 1rem;
  }
}

/* Fix grid after search */
.events-container .card {
  display: block;
}
.card.hide {
  display: none !important;
}

@media (max-width: 767px) {

  .events-container {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 30px;
  }

  .card {
    width: 90%;
    max-width: 320px;
  }

}

.download-profile-card{
    max-width:900px;
    margin:35px auto 50px;

    padding:25px 30px;

    display:flex;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;

    background:rgba(15,25,40,0.75);
    backdrop-filter:blur(12px);

    border:1px solid rgba(212,175,55,0.25);
    border-radius:18px;

    box-shadow:
    0 0 25px rgba(212,175,55,0.08),
    0 0 40px rgba(142,169,219,0.08);
}

.download-icon{
    font-size:2rem;
    color:#f9e79f;
}

.download-content{
    flex:1;
}

.download-content h3{
    font-family:'Cinzel', serif;
    margin-bottom:6px;
    color:#f9e79f;
}

.download-content p{
    color:#cdd9ff;
    font-size:0.95rem;
}

.download-btn{
    text-decoration:none;

    padding:12px 22px;

    border-radius:8px;

    background:linear-gradient(
      135deg,
      #d4af37,
      #f9e79f
    );

    color:#0d1b2a;
    font-weight:700;

    transition:.3s;
}

.download-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 20px rgba(212,175,55,.35);
}

@media(max-width:767px){

  .download-profile-card{
      text-align:center;
      flex-direction:column;
      padding:20px;
  }

  .download-btn{
      width:100%;
  }

}

/* ==========================================
   UNIVERSAL NAVBAR + FOOTER TABLET FIXES
   iPad Mini / Air / Pro (768px–1024px)
   Does NOT affect mobile or laptop
========================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* ================= NAVBAR ================= */

    nav {
        top: 15px;
        left: 25px;
        right: 25px;
        padding: 0.8rem 1.5rem;
    }

    /* Keep desktop navigation */
    nav ul {
        display: flex !important;
        gap: 1.2rem;
        flex-wrap: nowrap;
    }

    nav ul li a {
        font-size: 0.95rem;
    }

    .nav-left {
        gap: 0.8rem;
    }

    .nav-logo {
        width: 36px;
        height: 36px;
    }

    .nav-title {
        font-size: 1rem;
    }

    /* Never show hamburger on tablets */
    .hamburger {
        display: none !important;
    }

    .nav-links {
        display: flex !important;
    }

    /* ================= FOOTER ================= */

    .footer {
        margin-top: 60px;
        padding: 60px 30px 25px;
    }

    .footer-content {
        gap: 30px;
    }

    /* Logo */
    .footer-logo img {
        width: 70px;
    }

    .footer-logo h2 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    /* Stats */
    .footer-stats {
        gap: 25px;
        margin-top: -20px;
        margin-bottom: 30px;
    }

    .footer-stats .stat-divider {
        height: 40px;
    }

    .footer-stats .stat-item span {
        font-size: 2.2rem;
    }

    .footer-stats .stat-item small {
        font-size: 0.8rem;
    }

    /* Links */
    .footer-links {
        gap: 25px;
        margin-top: -20px;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    /* Social Icons */
    .footer-social {
        gap: 25px;
    }

    .footer-social a {
        font-size: 1.5rem;
    }

    .footer-logo-icon {
        width: 28px;
        height: 28px;
    }

    /* Bottom Text */
    .footer-bottom {
        margin-top: 30px;
        font-size: 0.9rem;
    }

}

/* ===================================
   BOSCOTSAV INFINITY ISLAND
=================================== */

.infinity-island{
    display:none;
}

@media (max-width:768px){

    .hamburger{
        display:none !important;
    }

    .nav-links{
        display:none !important;
    }

    body{
        padding-bottom:110px;
    }

    .infinity-island{

        position:fixed;

        left:50%;
        bottom:25px;

        transform:translateX(-50%);

        z-index:99999;

        display:flex;
        justify-content:center;
        align-items:center;
    }

    .island-trigger{

        width:68px;
        height:68px;

        border:none;
        outline:none;

        cursor:pointer;

        border-radius:999px;

        background:rgba(25,25,30,.85);

        backdrop-filter:blur(25px);

        border:1px solid rgba(255,255,255,.08);

        box-shadow:
            0 10px 40px rgba(0,0,0,.35),
            inset 0 1px 0 rgba(255,255,255,.08);

        color:#d4af37;

        font-size:2rem;

        transition:.5s cubic-bezier(.22,1,.36,1);
    }

    .infinity-symbol{
        display:block;
        transition:.4s ease;
    }

    .island-menu{

        position:absolute;

        left:50%;
        bottom:0;

        transform:
            translateX(-50%)
            scaleX(.3);

        width:320px;
        height:68px;

        border-radius:999px;

        background:rgba(25,25,30,.92);

        backdrop-filter:blur(25px);

        border:1px solid rgba(255,255,255,.08);

        display:flex;
        justify-content:space-evenly;
        align-items:center;

        opacity:0;
        pointer-events:none;

        transition:
            opacity .35s ease,
            transform .45s cubic-bezier(.22,1,.36,1);

        box-shadow:
            0 10px 40px rgba(0,0,0,.35);
    }

    .island-item{

        color:white;
        font-size:1.1rem;

        opacity:0;

        transform:translateY(12px);

        transition:.3s ease;

        text-decoration:none;
    }

    .island-item i{
        transition:.25s ease;
    }

    .island-item:active i{
        transform:scale(1.2);
    }

    .infinity-island.active .island-menu{

        opacity:1;

        pointer-events:auto;

        transform:
            translateX(-50%)
            scaleX(1);
    }

    .infinity-island.active .island-item{

        opacity:1;

        transform:translateY(0);
    }

    .infinity-island.active .island-trigger{

        transform:scale(.8);

        opacity:0;
    }

    .island-item.active{

        color:#d4af37;
    }

    @keyframes islandFloat{

        0%{
            transform:translateX(-50%) translateY(0);
        }

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

        100%{
            transform:translateX(-50%) translateY(0);
        }
    }

    .infinity-island{
        animation:islandFloat 5s ease-in-out infinite;
    }
}

/* Desktop */

@media (min-width:769px){

    .infinity-island{
        display:none !important;
    }
}