/* GOOGLE FONTS */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;900&display=swap");
/* VARIABLES CSS */
:root {
  --header-height: 4.25rem; /* increased to fit larger logo */
  /* Colors */
  --hue: 14;
  --first-color: hsl(var(--hue), 91%, 54%);
  --first-color-alt: hsl(var(--hue), 91%, 50%);
  --title-color: rgba(255, 255, 255, 0.9);
  --text-color: rgba(255, 255, 255, 0.82);
  --text-color-light: rgba(255, 255, 255, 0.6);
  /*Red gradient*/
  --body-color: linear-gradient(
    90deg,
    hsl(338, 67%, 11%) 0%,
    hsl(281, 63%, 10%) 100%
  );
  --container-color: linear-gradient(
    136deg,
    hsl(338, 67%, 11%) 0%,
    hsl(281, 63%, 10%) 100%
  );
  --sub: #ff5b79;
  --accent: #00BFC0; /* new site accent color */
  --accent-alt: #009b9b;
  /* Font and typography */
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  /* Font weight */
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-black: 900;
  /* Margenes Bottom */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  /* z index */
  --z-tooltip: 10;
  --z-fixed: 1000;
}
/* Responsive typography */
@media screen and (min-width: 992px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}
/* BASE */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape on iOS */
}
body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
  transition: 0.3s;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input {
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  touch-action: manipulation; /* Improve touch responsiveness */
}

/* Add tap highlight removal for links */
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* REUSABLE CSS CLASSES */
.section {
  padding: 4.5rem 0 2rem;
}
.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
}
/* LAYOUT */
.container {
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
  width: 100%; /* Ensure proper mobile scaling */
}
.grid {
  display: grid;
}
.main {
  overflow: hidden; /*For animation*/
  width: 100%; /* Prevent mobile overflow */
}
/* HEADER */
.header {
  width: 100%;
  background: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
/* NAV */
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

@media screen and (max-width: 767px) {
  .nav {
    justify-content: center;
    gap: 2rem;
    position: relative;
  }
  
  .nav__logo {
    flex: 1;
    justify-content: flex-start;
  }
  
  .nav__toggle {
    position: relative;
    margin-right: 1rem;
  }
}
.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-medium);
}
.nav__logo-img {
  /* use max-height so aspect ratio is preserved while allowing width to grow/shrink */
  max-height: 3rem; /* larger nav logo */
  width: auto;
  display: inline-block;
  object-fit: contain;
}
.nav__link,
.nav__logo,
.nav__toggle,
.nav__close {
  color: var(--accent);
}
.nav__toggle {
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  background: rgba(0, 191, 192, 0.15);
  border-radius: 0.5rem;
  border: 2px solid var(--accent);
  min-width: 48px;
  min-height: 48px;
  box-shadow: 0 2px 8px rgba(0, 191, 192, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

.nav__toggle:hover {
  background: rgba(0, 191, 192, 0.25);
  border-color: var(--text-color);
  color: var(--text-color);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 191, 192, 0.5);
}

.nav__toggle:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 191, 192, 0.4);
}

.nav__toggle i {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    width: 100%;
    background: linear-gradient(180deg, hsl(338, 67%, 11%) 0%, hsl(281, 63%, 10%) 100%);
    top: -150%;
    left: 0;
    color: var(--accent);
    padding: 3.5rem 0 2rem;
    transition: top 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    border-radius: 0 0 1.5rem 1.5rem;
    visibility: hidden;
    opacity: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav__logo-img { 
    max-height: 2.25rem; 
    width: auto; 
  }
  
  .nav__toggle {
    z-index: 1001;
    position: relative;
  }
  
  .home__community .container { 
    grid-template-columns: 1fr; 
  }
  
  /* Improve mobile iframe responsiveness */
  iframe {
    max-width: 100%;
    height: auto;
    min-height: 250px;
  }
}
.nav__icon {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  animation: floating 3s ease-in-out infinite;
}
.nav__img {
  width: 100px;
  position: absolute;
  top: 0;
  left: 0;
}
.nav__close {
  font-size: 1.8rem;
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: 0.3s;
}

.nav__close:hover {
  color: var(--text-color);
  transform: translateX(-50%) rotate(90deg);
}

.nav__close:active {
  transform: translateX(-50%) scale(0.9);
}
.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
  padding: 0;
  margin: 0;
}
.nav__link {
  text-transform: uppercase;
  font-weight: var(--font-black);
  transition: 0.3s;
  font-size: 1.125rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: block;
  width: 100%;
  text-align: center;
}
.nav__link:hover {
  color: var(--text-color);
  background: rgba(0, 191, 192, 0.1);
}
/* Show menu */
.show-menu {
  top: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Change background header */
.scroll-header {
  background: var(--container-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
/* Active link */
.active-link {
  position: relative;
  color: var(--accent) !important;
  background: rgba(0, 191, 192, 0.2);
  font-weight: var(--font-semi-bold);
}

.active-link::before {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* Mobile active link styling */
@media screen and (max-width: 767px) {
  .active-link {
    background: rgba(0, 191, 192, 0.3);
    border: 2px solid var(--accent);
    box-shadow: 0 0 12px rgba(0, 191, 192, 0.4);
  }
  
  .active-link::before {
    display: none;
  }
}
/* HOME */
.home__content {
  row-gap: 1rem;
}
.home__group {
  display: grid;
  position: relative;
  padding-top: 2rem;
}
.home__img {
  max-height: 320px; /* larger hero logo - preserve aspect ratio */
  width: auto;
  justify-self: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}
.home__indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 7rem;
  right: 2rem;
}
.home__community {
  margin-top: 1.5rem;
  padding: 2rem 0;
  background: transparent;
}
.home__community .home__community-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.home__community .home__community-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home__community .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.home__community p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-color-light);
}
.home__community-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--title-color);
  text-align: left;
}
.home__community strong {
  color: var(--accent);
}
.home__indicator::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 48px;
  background-color: var(--accent);
  top: -3rem;
  right: 45%;
}
.home__details-img {
  position: absolute;
  right: 0.5rem;
}
.home__details-title,
.home__details-subtitle {
  display: block;
  font-size: var(--small-font-size);
  text-align: right;
}
.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--sub);
  text-transform: uppercase;
  margin-bottom: var(--mb-1);
}
.pumpkin__subtitle {
  font-size: var(--h3-font-size);
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: var(--mb-1);
}
.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  line-height: 109%;
  margin-bottom: var(--mb-1);
}
.home__description {
  margin-bottom: var(--mb-1);
}
.home__buttons {
  display: flex;
  justify-content: space-between;
}
/* Swiper Class */
.swiper-pagination {
  position: initial;
  margin-top: var(--mb-1);
}
.swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  background-color: var(--title-color);
  opacity: 1;
}
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 0.5rem;
}
.swiper-pagination-bullet-active {
  width: 1.5rem;
  height: 5px;
  border-radius: 0.5rem;
}
/* BUTTONS */
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--sub);
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.3s;
  box-shadow: 0 0 12px rgba(255, 91, 121, 0.4);
}
.button:hover {
  background-color: var(--first-color-alt);
  box-shadow: 0 0 20px rgba(255, 91, 121, 0.6);
}

.button__icon {
  font-size: 1.25rem;
  color: var(--accent);
}
.book--now {
  display: inline-block;
  transition: 0.3s;
  filter: drop-shadow(0 0 12px rgba(255, 91, 121, 0.5));
}
.book--now:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 20px rgba(255, 91, 121, 0.7));
}
.button--ghost {
  border: 2px solid;
  background-color: transparent;
  border-radius: 3rem;
  padding: 0.75rem 1.5rem;
}
.button--ghost:hover {
  background: none;
}
/* Home community ghost CTA styling */
.home__community .button--ghost{ 
  border-color: var(--accent); 
  color: #fff; 
  font-weight: var(--font-semi-bold);
  box-shadow: 0 0 12px rgba(0, 191, 192, 0.3);
}
.home__community .button--ghost:hover{ 
  background: var(--accent-alt); 
  color: #fff; 
  border-color: var(--accent-alt);
  box-shadow: 0 0 20px rgba(0, 191, 192, 0.5);
}
.button--link {
  color: var(--title-color);
}
.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}
/* CATEGORY */
.category__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.category__data {
  text-align: center;
  transition: 0.3s;
}
.category__data:hover {
  transform: translateY(-0.5rem);
}
.category__icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--mb-0-75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 30px rgba(0, 191, 192, 0.4);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.category__icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(15px);
  opacity: 0.5;
  z-index: 1;
}
.category__icon {
  font-size: 4rem;
  color: #fff;
  position: relative;
  z-index: 2;
}
.category__data:hover .category__icon-wrapper {
  box-shadow: 0 0 50px rgba(0, 191, 192, 0.6);
  transform: rotate(360deg);
}
.category__img {
  width: 120px;
  margin-bottom: var(--mb-0-75);
  transition: 0.3s;
}
.category__title {
  margin-bottom: var(--mb-0-25);
}
.category__data:hover .category__img {
  transform: translateY(-0.5rem);
}
/* ABOUT */
.about__container {
  row-gap: 2rem;
}
.about__data {
  text-align: center;
}
.about__description {
  margin-bottom: var(--mb-2);
}
.about__icon-large {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--accent);
  position: relative;
  animation: floating 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(0, 191, 192, 0.5));
}
.about__icon-overlay {
  position: absolute;
  font-size: 4rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floating 3s ease-in-out infinite reverse;
}
.about__img {
  width: 200px;
  justify-self: center;
  animation: floating 2s ease-in-out infinite;
}
/* TRICK OR TREAT */
.trick__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}
.trick__content {
  position: relative;
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
  overflow: hidden;
}
.trick__img {
  width: 90px;
  transition: 0.3s;
}
.trick__subtitle,
.trick__price {
  display: block;
}
.trick__subtitle {
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb-0-5);
}
.trick__title,
.trick__price {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
}
.trick__button {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 0.25rem 0.25rem 0.75rem 0.25rem;
  position: absolute;
  right: -3rem;
  bottom: 0;
}
.trick__icon {
  font-size: 1.25rem;
  color: var(--title-color);
}
.trick__content:hover .trick__img {
  transform: translateY(-0.5rem);
}
.trick__content:hover .trick__button {
  right: 0;
}
/* DISCOUNT */
.discount__container {
  background: var(--container-color);
  border-radius: 1rem;
  padding: 2.5rem 0 1.5rem;
  row-gap: 0.75rem;
}
.discount__data {
  text-align: center;
}
.discount__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
}
.discount__img {
  width: 200px;
  justify-self: center;
}
/* NEW ARRIVALS */
.new__container {
  padding-top: 1rem;
}
.new__img {
  width: 120px;
  margin-bottom: var(--mb-0-5);
  transition: 0.3s;
}
.new__content {
  position: relative;
  background: var(--container-color);
  width: 242px;
  padding: 2rem 0 1.5rem 0;
  border-radius: 0.75rem;
  text-align: center;
  overflow: hidden;
}
.new__tag {
  position: absolute;
  top: 8%;
  left: 8%;
}
.new__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}
.new__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-5);
}
.new__prices {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}
.new__price {
  font-weight: var(--font-medium);
  color: var(--title-color);
}
.new__discount {
  color: var(--first-color);
  font-size: var(--smaller-font-size);
  text-decoration: line-through;
  font-weight: var(--font-medium);
}
.new__button {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 0.25rem 0.25rem 0.75rem 0.25rem;
  position: absolute;
  bottom: 0;
  right: -3rem;
}
.new__icon {
  font-size: 1.25rem;
}
.new__content:hover .new__img {
  transform: translateY(-0.5rem);
}
.new__content:hover .new__button {
  right: 0;
}
/* NEWSLETTER */
.newsletter__description {
  text-align: center;
  margin-bottom: var(--mb-1-5);
}
.newsletter__form {
  background: transparent;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  border-radius: 0;
}
.newsletter__input {
  width: 70%;
  padding: 0 0.5rem;
  background: none;
  color: var(--title-color);
}
.newsletter__input::placeholder {
  color: var(--text-color);
}
/* FOOTER */
.footer {
  position: relative;
  overflow: hidden;
}
.footer__img-one,
.footer__img-two {
  position: absolute;
  transition: 0.3s;
}
.footer__img-one {
  width: 100px;
  top: 6rem;
  right: -2rem;
}
.footer__img-two {
  width: 150px;
  bottom: 4rem;
  right: 4rem;
}
.footer__img-one:hover,
.footer__img-two:hover {
  transform: translateY(-0.5rem);
}
.footer__container {
  row-gap: 2rem;
}
.footer__logo {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  color: var(--title-color);
}
.footer__logo-img {
  width: 20px;
}
.footer__description {
  margin-bottom: var(--mb-2-5);
}
.footer__social {
  display: flex;
  column-gap: 0.75rem;
}
.footer__social-link {
  display: inline-flex;
  background: var(--container-color);
  padding: 0.25rem;
  border-radius: 0.25rem;
  color: var(--title-color);
  font-size: 1rem;
}
.footer__social-link:hover {
  background: var(--body-color);
}
.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}
.footer__links {
  display: grid;
  row-gap: 0.35rem;
}
.footer__link {
  font-size: var(--small-font-size);
  color: var(--text-color);
  transition: 0.3s;
}
.footer__link:hover {
  color: var(--title-color);
}
.footer__copy {
  display: block;
  text-align: center;
  font-size: var(--smaller-font-size);
  margin-top: 4.5rem;
}
/* SCROLL UP */
.scrollup {
  position: fixed;
  background: var(--container-color);
  right: 1rem;
  bottom: -20%;
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 0.25rem;
  z-index: var(--z-tooltip);
  opacity: 0.8;
  transition: 0.4s;
}
.scrollup__icon {
  font-size: 1.25rem;
  color: var(--title-color);
}
.scrollup:hover {
  background: var(--container-color);
  opacity: 1;
}
/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}
/* SCROLL BAR */
::-webkit-scrollbar {
  width: 0.6rem;
  background: #413e3e;
}
::-webkit-scrollbar-thumb {
  background: #272525;
  border-radius: 0.5rem;
}
/*  BREAKPOINTS */
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .home__img {
    max-height: 240px; /* larger on small phones */
    width: auto;
  }
  .home__buttons {
    flex-direction: column;
    width: max-content;
    row-gap: 1rem;
  }
  .category__container,
  .trick__container {
    grid-template-columns: 0.8fr;
    justify-content: center;
  }
}

/* Enhanced Mobile Optimizations */
@media screen and (max-width: 480px) {
  /* Add padding to container for edge buffer */
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Center all text with proper spacing */
  .section {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  
  /* Ensure all text has right buffer */
  p, h1, h2, h3, h4, h5, h6, span, a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* Change button colors for mobile */
  .button {
    background-color: var(--accent);
    color: #fff;
    min-height: 48px;
    padding: 1rem 1.5rem;
    font-size: var(--normal-font-size);
    box-shadow: 0 0 12px rgba(0, 191, 192, 0.4);
  }
  
  .button:hover {
    background-color: var(--accent-alt);
    box-shadow: 0 0 20px rgba(0, 191, 192, 0.6);
  }
  
  .button__icon {
    color: #fff;
  }
  
  .nav__toggle {
    font-size: 1.5rem;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav__close {
    font-size: 2rem;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Improved mobile typography with centering */
  .home__title {
    font-size: 2rem;
    line-height: 1.1;
    text-align: left;
  }
  
  .section__title {
    font-size: 1.5rem;
    text-align: left;
    padding: 0 1rem;
  }
  
  /* Better mobile spacing */
  .home__content {
    row-gap: 1.5rem;
    padding: 1rem 1rem 0;
    text-align: left;
  }
  
  /* Mobile-friendly category grid */
  .category__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .category__data {
    text-align: left;
    padding: 1.5rem;
  }
  
  .category__title {
    text-align: left;
    padding: 0 0.5rem;
  }
  
  .category__description {
    text-align: left;
    padding: 0 1rem;
  }
  
  .category__icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .category__icon {
    font-size: 3rem;
  }
  
  /* Mobile-friendly forms */
  .form__input {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  textarea.form__input {
    min-height: 120px;
  }
  
  /* Mobile-friendly community section */
  .home__community .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .home__community-cta {
    justify-content: flex-start;
    display: flex;
    width: 100%;
  }
  
  .home__community-cta .button {
    margin: 0;
  }
  
  .home__community {
    padding: 2rem 1rem;
    overflow: hidden;
  }
  
  .home__community-title {
    text-align: left;
    padding: 0 1.5rem;
    word-wrap: break-word;
  }
  
  .home__community p {
    text-align: left;
    line-height: 1.6;
    padding: 0 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  
  .home__community strong {
    display: inline;
    word-break: keep-all;
  }
  
  /* Mobile home page layout */
  .home__content {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    text-align: left;
  }
  
  .home__group {
    order: 1;
    text-align: center;
  }
  
  .home__data {
    order: 2;
    text-align: left;
  }
  
  .home__img {
    max-height: 200px;
    margin: 0 auto;
  }
  
  .home__indicator,
  .home__details-img {
    display: none;
  }
  
  .home__title {
    font-size: 2rem;
    line-height: 1.1;
    text-align: left;
  }
  
  .home__subtitle {
    font-size: 0.875rem;
    text-align: left;
  }
  
  .home__description {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 1.5rem;
    text-align: left;
  }
  
  /* All sections centered with padding */
  .about__data,
  .discord__data,
  .newsletter__container {
    text-align: left;
    padding: 0 1.5rem;
  }
  
  .about__title,
  .discord__title {
    text-align: left;
    padding: 0 1.5rem;
  }
  
  .about__description,
  .discord__description,
  .newsletter__description {
    text-align: left;
    padding: 0 1.5rem;
    line-height: 1.6;
  }
  
  /* Booking form spacing */
  .booking__form {
    padding: 0 1rem;
  }
  
  .booking__field label {
    text-align: center;
  }
  
  .home__buttons {
    justify-content: flex-start;
    display: flex;
    width: 100%;
  }
  
  .home__buttons .button {
    margin: 0;
  }
  
  /* Mobile category cards */
  .category__data {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 191, 192, 0.2);
  }
  
  /* Mobile Discord section */
  .discord__container {
    text-align: left;
  }
  
  .discord__title {
    font-size: 1.5rem;
    text-align: left;
  }
  
  .discord__description {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .discord__icon-large {
    display: none;
  }
  
  .discord__button-container {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
  
  .discord__button-container .button {
    width: auto;
    max-width: 280px;
    margin: 0;
  }
  
  /* Mobile About section */
  .about__container {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .about__data .button {
    margin: 0;
  }
  
  .about__icon-large {
    width: 150px;
    height: 150px;
    font-size: 6rem;
    margin: 0 0 1.5rem 0;
  }
  
  .about__title {
    font-size: 1.5rem;
  }
  
  .about__description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Mobile Newsletter */
  .newsletter__description {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .newsletter__form {
    display: flex;
    justify-content: flex-start;
  }
  
  .newsletter__form .button {
    width: auto;
    max-width: 280px;
    margin: 0;
  }
  
  /* Hide swiper elements on mobile */
  .swiper-pagination {
    display: none;
  }
  
  /* Mobile-friendly buttons */
  .button--ghost {
    padding: 0.875rem 1.25rem;
    font-size: var(--normal-font-size);
  }
  
  /* Better mobile navigation links */
  .nav__link {
    font-size: 1.125rem;
    padding: 0.875rem 1.5rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .nav__link:active {
    background: rgba(0, 191, 192, 0.2);
    transform: scale(0.98);
  }
  
  /* Hide yearly calendar on mobile */
  .yearly-calendar {
    display: none !important;
  }
  
  /* Mobile Events Page */
  .events-calendar {
    padding: 2rem 0;
  }
  
  .events-calendar__container {
    padding: 0 1.5rem;
  }
  
  .events-timeline {
    padding: 1rem 0;
  }
  
  .timeline-event {
    margin-bottom: 2rem;
    padding: 0;
  }
  
  .timeline-date {
    background: linear-gradient(135deg, rgba(46, 9, 22, 0.8) 0%, rgba(32, 10, 43, 0.8) 100%);
    border: 2px solid var(--accent);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    min-width: 90px;
  }
  
  .timeline-day {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
  }
  
  .timeline-month {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--title-color);
    text-transform: uppercase;
    display: block;
    margin-top: 0.25rem;
  }
  
  .timeline-weekday {
    font-size: 0.75rem;
    color: var(--text-color-light);
    display: block;
    margin-top: 0.25rem;
  }
  
  .timeline-content {
    background: linear-gradient(135deg, rgba(46, 9, 22, 0.4) 0%, rgba(32, 10, 43, 0.4) 100%);
    border: 1px solid rgba(0, 191, 192, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    flex: 1;
  }
  
  .timeline-title {
    font-size: 1.25rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    padding: 0;
  }
  
  .timeline-time {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
    padding: 0;
  }
  
  .timeline-type {
    font-size: 0.875rem;
    color: var(--text-color-light);
    margin-bottom: 1rem;
    padding: 0;
  }
  
  .timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .add-to-calendar {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
  }
  
  /* Mobile newsletter section on events page */
  .newsletter {
    padding: 2rem 1.5rem;
  }
  
  .newsletter__container {
    text-align: left;
  }
  
  .newsletter__description {
    margin-bottom: 1.5rem;
  }
  
  .nav__list {
    row-gap: 1rem;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Mobile-friendly images */
  .home__img {
    max-height: 280px;
  }
  
  /* Improve mobile contact box */
  .contact-box {
    width: 95%;
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  
  /* Mobile Discord section */
  .discord__container {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .discord__icon-large {
    width: 150px;
    height: 150px;
    font-size: 8rem;
  }
  
  /* Mobile-friendly scroll-up button */
  .scrollup {
    right: 0.75rem;
    padding: 0.5rem;
  }
  
  .scrollup__icon {
    font-size: 1.5rem;
  }
  
  /* Ensure text remains readable */
  body {
    font-size: 1rem;
  }
  
  /* Mobile-friendly swiper pagination */
  .swiper-pagination {
    margin-top: 1.5rem;
  }
  
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

@media screen and (max-width: 576px) {
  /* Additional mobile improvements */
  .trick__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .new__content {
    width: 100%;
    max-width: 300px;
  }
  
  /* Mobile-friendly footer */
  .footer__container {
    row-gap: 1.5rem;
  }
  
  .footer__img-one,
  .footer__img-two {
    width: 80px;
  }
}
/* For medium devices */
@media screen and (min-width: 576px) {
  .about__container {
    grid-template-columns: 0.8fr;
    justify-content: center;
  }
  .newsletter__container {
    display: grid;
    grid-template-columns: 0.7fr;
    justify-content: center;
  }
  .newsletter__description {
    padding: 0 3rem;
  }
}
@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }

  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__img,
  .nav__close,
  .nav__toggle {
    display: none !important; /* Hide hamburger on desktop */
  }
  .nav__menu {
    visibility: visible;
    opacity: 1;
    position: static;
    background: transparent;
    padding: 0;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__link {
    text-transform: initial;
    font-weight: initial;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .nav__link:hover {
    background: rgba(0, 191, 192, 0.1);
  }
  
  /* Desktop active link */
  .nav__list .active-link {
    background: rgba(0, 191, 192, 0.15);
    border-bottom: 3px solid var(--accent);
    border-radius: 0.5rem 0.5rem 0 0;
  }
  
  .nav__list .active-link::before {
    bottom: -0.5rem;
  }
  .home__content {
    padding: 8rem 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .home__img {
    max-height: 420px; /* larger on tablets/desktops */
    width: auto;
  }
  .swiper-pagination {
    margin-top: var(--mb-2);
  }

  .category__container {
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about__title,
  .about__data {
    text-align: initial;
  }
  .about__img {
    width: 250px;
  }
  .trick__container {
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 2rem;
  }
  .discount__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 3rem;
    padding: 3rem 0;
    border-radius: 3rem;
  }
  .discount__img {
    width: 350px;
    order: -1;
  }
  .discount__data {
    padding-right: 6rem;
  }
  .newsletter__container {
    grid-template-columns: 0.5fr;
  }
  .footer__container {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    column-gap: 1rem;
  }
  .footer__img-two {
    right: initial;
    bottom: 0;
    left: 15%;
  }
}
/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .section__title {
    font-size: var(--h1-font-size);
    margin-bottom: 3rem;
  }
  .home__content {
    padding-top: 9rem;
    gap: 3rem;
  }
  .home__group {
    padding-top: 0;
  }
  .home__img {
    max-height: 540px;
    width: auto;
    transform: translateY(-3rem);
  }
  .home__indicator {
    top: initial;
    right: initial;
    bottom: 15%;
    left: 45%;
  }
  .home__indicator::after {
    top: 0;
    height: 75px;
  }
  .home__details-img {
    bottom: 0;
    right: 58%;
  }
  .home__title {
    margin-bottom: var(--mb-1-5);
  }
  .home__description {
    margin-bottom: var(--mb-2-5);
    padding-right: 2rem;
  }
  .category__container {
    column-gap: 8rem;
  }
  .category__img {
    width: 200px;
  }
  .about__container {
    column-gap: 7rem;
  }
  .about__img {
    width: 350px;
  }
  .about__description {
    padding-right: 2rem;
  }
  .trick__container {
    gap: 3.5rem;
  }
  .trick__content {
    border-radius: 1.5rem;
  }
  .trick__img {
    width: 110px;
  }
  .trick__title {
    color: var(--title-color);
  .discount__container {
  .trick__price {
    color: var(--accent);
    font-weight: var(--font-medium);
  }
    width: 310px;
    border-radius: 1rem;
    padding: 2rem 0;
  }
  .new__img {
    width: 150px;
  }
  .new__img,
  .new__subtitle {
    margin-bottom: var(--mb-1);
  }
  .new__title {
    font-size: var(--h3-font-size);
  }
  .footer__copy {
    margin-top: 6rem;
  }
}
@media screen and (min-width: 1200px) {
  .home__img {
    max-height: 600px;
    width: auto;
  }
  .swiper-pagination {
    margin-top: var(--mb-2-5);
  }
  .footer__img-one {
    width: 120px;
  }
  .footer__img-two {
    width: 180px;
    top: 30%;
    left: -3%;
  }
}
/* KEYFRAMES */
@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 15px);
  }
  100% {
    transform: translate(0, -0px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 191, 192, 0.3);
  }
  50% {
    box-shadow: 0 2px 16px rgba(0, 191, 192, 0.6);
  }
}
.skull-blur {
  position: absolute;
  width: 680px;
  height: 632px;
  left: -79px;
  top: 75%;
  background: linear-gradient(
    142.97deg,
    rgba(0, 255, 133, 0.3) 17.43%,
    rgba(63, 239, 60, 0.22) 73.23%
  );
  filter: blur(157.708px);
}
.contact-box {
  width: 450px;
  padding: 25px;
  margin: 30px auto;
  background: transparent; /* fully see-through */
  border-radius: 20px;

  /* White glowing border */
  border: 3px solid #ffffff;
  box-shadow:
      0 0 10px #ffffff,
      0 0 20px #ffffff,
      0 0 40px #ffffff;

  animation: glowPulse 2.5s infinite ease-in-out;
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; }
  50%  { box-shadow: 0 0 25px #f2f2f2, 0 0 45px #f2f2f2; }
  100% { box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; }
}

.contact-box h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  font-size: 28px;
  text-shadow: 0 0 10px #ffffff;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 12px;

  /* Transparent fields */
  background: rgba(255, 255, 255, 0.1); 
  border: 2px solid #ffffff;

  color: #fff;
  outline: none;

  /* White glow */
  box-shadow: 0 0 8px #ffffff;
}

.contact-box input:focus,
.contact-box textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px #ffffff;
  border-color: #ffffff;
}

.contact-box button {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;

  background: #ffffff;
  color: #000;
  font-weight: bold;

  transition: 0.2s;
  box-shadow: 0 0 10px #ffffff;
}

.contact-box button:hover {
  background: #e0e0e0;
  box-shadow: 0 0 20px #e0e0e0;
}
/* Discord Section */
.discord__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 0;    /* Remove box feel */
  gap: 2rem;
  background: transparent; /* blend with page background */
}

.discord__data {
  flex: 1;
}

.discord__title {
  font-size: 2rem;
  color: #fff;
  /* removed text-shadow */
}

.discord__description {
  margin: 1rem 0;
  color: #ccc;
  line-height: 1.5;
}

.discord__icon-large {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  color: var(--accent);
  opacity: 0.8;
  animation: floating 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(0, 191, 192, 0.5));
  transition: 0.3s;
  cursor: pointer;
}

.discord__icon-large:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 40px rgba(0, 191, 192, 0.7));
}

.discord__img {
  width: 200px;
  max-width: 100%;
  border-radius: 1rem;
}

/* Discord Button */
.discord__button,
.button {
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 191, 192, 0.4);
}

.discord__button:hover,
.button:hover {
  background-color: var(--accent-alt);
  box-shadow: 0 0 20px rgba(0, 191, 192, 0.6);
}

/* Button container */
.discord__button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #222; /* DARKER */
  color: #eee;           /* LIGHT TEXT */
}

select {
  color: #000 !important;   /* Make the text black */
  background-color: #222;   /* Keep dark background */
}

/* Ensure the dropdown options also show black text */
select option {
  color: #000 !important;
  background-color: #fff; /* Optional: makes options easier to read */
}
select {
  background-color: #fff !important; /* White background for the select box */
  color: #000 !important;           /* Black text */
  border: 1px solid #444;
  border-radius: 6px;
}

/* Dropdown option styling */
select option {
  background-color: #fff !important; /* White background in the dropdown */
  color: #000 !important;            /* Black text */
}

/* EVENTS CALENDAR */
.events-calendar {
  padding: 4rem 0;
}

/* YEARLY CALENDAR */
.yearly-calendar {
  padding: 4rem 0;
}

.yearly-calendar__container {
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.calendar-nav-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 12px rgba(0, 191, 192, 0.4);
}

.calendar-nav-btn:hover {
  background: var(--accent-alt);
  box-shadow: 0 0 20px rgba(0, 191, 192, 0.6);
  transform: scale(1.1);
}

.current-month-display {
  color: var(--accent);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  min-width: 200px;
  text-align: center;
}

.calendar-wrapper {
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.weekday {
  text-align: center;
  color: var(--accent);
  font-weight: var(--font-semi-bold);
  font-size: var(--small-font-size);
  text-transform: uppercase;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  min-height: 80px;
}

.calendar-day:hover {
  background: rgba(0, 191, 192, 0.1);
  transform: scale(1.05);
}

.calendar-day.other-month {
  opacity: 0.3;
  cursor: default;
}

.calendar-day.other-month:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.2);
}

.calendar-day.today {
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgba(0, 191, 192, 0.3);
}

.calendar-day.has-event {
  background: rgba(0, 191, 192, 0.15);
  border: 2px solid var(--accent);
}

.calendar-day.has-event:hover {
  box-shadow: 0 0 15px rgba(0, 191, 192, 0.4);
}

.day-number {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  margin-top: 0.25rem;
}

.day-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 auto;
}

.day-event-name {
  font-size: 0.65rem;
  color: var(--text-color);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.event-legend {
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.legend-title {
  color: var(--accent);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  text-align: center;
}

.legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.lan-party {
  background: #ff5b79;
  box-shadow: 0 0 8px rgba(255, 91, 121, 0.5);
}

.legend-dot.workshop {
  background: #00BFC0;
  box-shadow: 0 0 8px rgba(0, 191, 192, 0.5);
}

.legend-dot.roleplay {
  background: #9b59b6;
  box-shadow: 0 0 8px rgba(155, 89, 182, 0.5);
}

.legend-dot.retro {
  background: #f39c12;
  box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.event-details-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--container-color);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2rem;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.event-details-panel.show {
  transform: translateY(0);
}

.event-details-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.close-details {
  position: absolute;
  top: -1rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  transition: 0.3s;
}

.close-details:hover {
  color: var(--accent-alt);
  transform: scale(1.2);
}

.event-details-title {
  color: var(--accent);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.5rem;
}

.event-details-time {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.event-details-type {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
}

.event-details-desc {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.add-to-calendar-modal {
  width: 100%;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .calendar-days {
    gap: 0.25rem;
  }
  
  .calendar-day {
    min-height: 60px;
    padding: 0.25rem;
  }
  
  .day-number {
    font-size: var(--normal-font-size);
  }
  
  .day-event-name {
    font-size: 0.5rem;
  }
  
  .calendar-controls {
    gap: 1rem;
  }
  
  .current-month-display {
    font-size: var(--h3-font-size);
    min-width: 150px;
  }
  
  /* Make calendar navigation buttons bigger for mobile */
  .calendar-nav-btn {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
  }
  
  /* Improve calendar wrapper padding on mobile */
  .calendar-wrapper {
    padding: 1rem;
  }
  
  /* Better mobile event panel */
  .event-details-panel {
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
  }
}

.events-calendar__container {
  max-width: 900px;
  margin: 0 auto;
}

/* EVENTS TIMELINE */
.events-timeline {
  position: relative;
  padding: 2rem 0;
}

.events-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-alt));
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 191, 192, 0.5);
}

.timeline-event {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-event:nth-child(odd) {
  flex-direction: row;
}

.timeline-event:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 1rem;
  background: var(--accent);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 191, 192, 0.4);
  position: relative;
  z-index: 2;
}

.timeline-day {
  font-size: 2.5rem;
  font-weight: var(--font-black);
  line-height: 1;
  color: #fff;
}

.timeline-month {
  font-size: 1rem;
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  color: #fff;
  margin-top: 0.25rem;
}

.timeline-weekday {
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.timeline-connector {
  position: absolute;
  width: 30px;
  height: 3px;
  background: var(--accent);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 8px rgba(0, 191, 192, 0.5);
}

.timeline-event:nth-child(odd) .timeline-connector {
  left: calc(50% - 50px);
}

.timeline-event:nth-child(even) .timeline-connector {
  left: calc(50% + 50px);
}

.timeline-content {
  flex: 1;
  max-width: 350px;
  background: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--accent);
  transition: 0.3s;
  position: relative;
  z-index: 2;
}

.timeline-event:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 4px solid var(--accent);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 191, 192, 0.3);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.timeline-icon i {
  position: relative;
  z-index: 2;
}

.lan-party-icon {
  background: linear-gradient(135deg, #ff5b79, #ff8fa3);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 91, 121, 0.5);
}

.workshop-icon {
  background: linear-gradient(135deg, #00BFC0, #00e5e7);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 191, 192, 0.5);
}

.roleplay-icon {
  background: linear-gradient(135deg, #9b59b6, #c084fc);
  color: #fff;
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.5);
}

.retro-icon {
  background: linear-gradient(135deg, #f39c12, #ffd93d);
  color: #fff;
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.timeline-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(10px);
  opacity: 0.6;
  z-index: 1;
}

.timeline-title {
  color: var(--accent);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.5rem;
}

.timeline-time {
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
}

.timeline-type {
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
  margin-bottom: 1rem;
}

.timeline-content .trick__button {
  margin-top: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.calendar-month {
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calendar-month-title {
  color: var(--accent);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-event {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent);
  transition: 0.3s;
  align-items: center;
}

.calendar-event:hover {
  transform: translateX(5px);
  box-shadow: 0 0 15px rgba(0, 191, 192, 0.3);
}

.calendar-event .trick__button {
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.calendar-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.5rem;
  background: var(--accent);
  border-radius: 0.5rem;
  color: #fff;
}

.calendar-day {
  font-size: 1.75rem;
  font-weight: var(--font-black);
  line-height: 1;
}

.calendar-weekday {
  font-size: 0.75rem;
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.calendar-event-info {
  flex: 1;
}

.calendar-event-title {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.25rem;
}

.calendar-event-time {
  color: var(--accent);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.calendar-event-type {
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
}

@media screen and (max-width: 767px) {
  .events-timeline::before {
    left: 50px;
  }
  
  .timeline-event {
    flex-direction: row !important;
    gap: 1rem;
  }
  
  .timeline-event:nth-child(even) {
    flex-direction: row !important;
  }
  
  .timeline-date {
    min-width: 80px;
    padding: 0.75rem;
  }
  
  .timeline-day {
    font-size: 2rem;
  }
  
  .timeline-month {
    font-size: 0.875rem;
  }
  
  .timeline-connector {
    left: 50px !important;
    width: 20px;
  }
  
  .timeline-event:nth-child(odd) .timeline-connector {
    left: 50px !important;
  }
  
  .timeline-event:nth-child(even) .timeline-connector {
    left: 50px !important;
  }
  
  .timeline-content {
    max-width: 100%;
    border-right: none !important;
    border-left: 4px solid var(--accent) !important;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }
  
  .calendar-event {
    flex-wrap: wrap;
  }
  
  .calendar-event-date {
    min-width: 60px;
  }
  
  .calendar-event-info {
    flex: 1;
    min-width: 150px;
  }
  
  .calendar-event .trick__button {
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Better mobile button touch targets */
  .trick__button,
  .new__button {
    min-width: 44px;
    min-height: 44px;
    padding: 0.625rem;
  }
  
  /* Improve mobile table responsiveness */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* BOOKING PAGE STYLES */
.booking-section {
  padding: 2rem 0 4rem;
}

/* Local Setup Files Section - Mobile Friendly */
.category__description code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.category__description ul {
  margin: 1rem 0;
}

.category__description ul li {
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

@media screen and (max-width: 576px) {
  .category__description ul {
    padding-left: 1rem;
    font-size: var(--small-font-size);
  }
}

.booking__container {
  max-width: 800px;
  margin: 0 auto;
}

.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.booking__field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.booking__field--full {
  grid-column: 1 / -1;
}

.booking__field label {
  color: var(--accent);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking__field label i {
  font-size: 1.5rem;
}

.form__input {
  width: 100%;
  padding: 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: 0.3s;
}

.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 191, 192, 0.15);
  background: rgba(0, 191, 192, 0.05);
}

.form__input::placeholder {
  color: var(--text-color-light);
}

textarea.form__input {
  resize: vertical;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  padding: 1rem;
}

textarea.form__input:focus {
  border-color: var(--accent);
  background: rgba(0, 191, 192, 0.05);
}

select.form__input {
  cursor: pointer;
  border-radius: 0;
}

.booking__submit {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 2rem;
  font-size: var(--h3-font-size);
  padding: 1.25rem 2rem;
}

.booking__note {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  gap: .5rem;
}

@media screen and (max-width: 767px) {
  .booking__form {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .booking__field--full {
    grid-column: 1;
  }

  .booking__submit {
    grid-column: 1;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .booking__submit .button {
    width: 100%;
    justify-content: center;
  }
}

/* Enhanced Mobile Bookings Page (iPhone optimized) */
@media screen and (max-width: 480px) {
  #booking {
    padding: 2rem 0;
  }
  
  #booking .container {
    padding: 0 1.5rem;
  }
  
  #booking .section__title {
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 1rem;
  }
  
  #booking .about__description {
    text-align: left !important;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0;
    margin-bottom: 1.5rem;
  }
  
  .booking__form {
    gap: 1.25rem;
  }
  
  .booking__field {
    gap: 0.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(46, 9, 22, 0.4) 0%, rgba(32, 10, 43, 0.4) 100%);
    border: 1px solid rgba(0, 191, 192, 0.25);
    border-radius: 1rem;
    margin-bottom: 0.5rem;
  }
  
  /* Mobile-optimized form inputs */
  .form__input {
    padding: 1rem;
    font-size: 16px; /* Prevents iOS zoom */
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 191, 192, 0.3);
    background: linear-gradient(135deg, rgba(46, 9, 22, 0.6) 0%, rgba(32, 10, 43, 0.6) 100%);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
  }
  
  .form__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 191, 192, 0.3), 0 0 12px rgba(0, 191, 192, 0.4);
    background: rgba(0, 191, 192, 0.08);
  }
  
  .form__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
  }
  
  /* Textarea specific */
  textarea.form__input {
    min-height: 120px;
    padding: 1rem;
    line-height: 1.5;
    font-size: 16px;
  }
  
  /* Select dropdown */
  select.form__input {
    padding: 1rem;
    font-size: 16px;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300BFC0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }
  
  /* Info note styling */
  .booking__note {
    background: rgba(0, 191, 192, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.5rem 0;
  }
  
  .booking__note i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
  }
  
  .booking__note strong {
    color: var(--accent);
  }
  
  /* Submit section */
  .booking__submit {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin-top: 1.5rem;
    align-items: stretch;
  }
  
  .booking__submit .button {
    width: 100%;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    justify-content: center;
    min-height: 52px;
    border-radius: 0.75rem;
  }
  
  .booking__submit .button--ghost {
    border-width: 2px;
    background: transparent;
  }
  
  /* Date and time inputs - iPhone friendly */
  input[type="date"].form__input,
  input[type="time"].form__input {
    padding: 1rem;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
  }
  
  input[type="date"].form__input::-webkit-calendar-picker-indicator,
  input[type="time"].form__input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    font-size: 1.2rem;
  }
  
  /* Email link styling */
  #booking a[href^="mailto"] {
    color: var(--accent);
    text-decoration: underline;
    word-break: break-all;
  }
  
  /* Improve field spacing */
  .booking__field + .booking__field {
    margin-top: 0;
  }
  
  /* Focus visible for accessibility */
  .form__input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }
}
