@font-face {
    font-family: 'MainFont'; /*a name to be used later*/
    font-display: swap;
    src: url('/mainfont.ttf'); /*URL to font*/
}

/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    font-family: sans-serif;

}

video{width:100%;}

/* Style the banner section with a background image */
.banner {
  font-family: 'MainFont';
  /* fluid between 2rem (mobile) and 90px (desktop), scaling at 10vw in-between */
  font-size: clamp(2rem, 10vw, 90px);

  background-image: url('banner.jpg');
  background-size: cover;
  background-position: 50% 48%;
  color: #fff;
  text-align: center;
  height: 150px;
  padding: 20px 0;
}

/* Style the navigation menu */
.menu {
    background-color: #444; /* Change to your desired menu background color */
    list-style-type: none;
    display: flex;
    flex-wrap: nowrap;          /* ← prevent wrapping */
    justify-content: flex-start;/* ← items start at the left */
    overflow-x: auto;           /* ← allow horizontal scrolling */
    padding: 10px 16px;         /* ← give a bit of gutter on the sides */
}

.menu::-webkit-scrollbar {
  display: none;
}

/* on wider screens, centre the nav */
@media (min-width: 768px) {
  .menu {
    justify-content: center !important;
  }
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: #fff; /* Text color for menu links */
}

.video-wrapper {
  display: flex;
  justify-content: center;
}

/* Style the video grid container */
.content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-content: center;   /* center the whole grid block */
  gap: 20px;
  padding: 1px 0;        /* 0px on all four sides */
}
.video-body {
    flex-grow: 1;
}

/* Style individual video sections in the grid */

.video {
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Style video titles */
.video h2 {
    font-size: 1.1rem;
    line-height: 1.3;      /* optional: tighten up the lines */
    margin-bottom: 0.5em;  /* optional: a little breathing room */
}

/* Style video descriptions */
.video p {
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* NEW — only targets the Buy-Now link */
.video a.buy-now-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
    background-color: #f7119f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.video a.buy-now-button:hover {
    background-color: #bf117d;
}

footer{text-align:center;}

/* Styles for the age verification overlay */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1.0); /* Semi-transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
}

.age-verification-text {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.age-verification-buttons {
    display: flex;
    gap: 20px;
}

.age-verification-button {
    padding: 10px 20px;
    background-color: #f7119f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.buy-now-button {
    display: block;
    background-color: #f7119f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1rem;
    overflow: hidden; /* helps with float containment */
    transition: background-color 0.3s ease;
}

.buy-now-button:hover {
    background-color: #bf117d;
}

.purchase-center-box {
    max-width: 700px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

.purchase-center-box h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: 'MainFont', cursive;
}

.item-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.purchase-center-box input[type="email"] {
    width: 80%;
    max-width: 300px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block;
    margin: 0 auto 20px;
}

.purchase-center-box button {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #f7119f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

.purchase-center-box button:hover {
    background-color: #bf117d;
}

.welcome-box {
    background-color: #fff;
    padding: 25px;
    margin: 20px auto;
    max-width: 1200px;
    font-family: 'MainFont', sans-serif;
    line-height: 1.6;
    font-size: 1.05rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.welcome-box p {
    margin-bottom: 1.2em;
}

.welcome-box strong {
    font-weight: bold;
}

.welcome-box em {
    font-style: italic;
}

.video-box {
    background-color: #fff;
    padding: 25px;
    margin: 20px auto;
    max-width: 1200px;
    font-family: sans-serif;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.buy-now-button.full-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;   /* include its padding in that 100% width */
    padding: 10px 20px;        /* same padding you had before */
    margin: 10px 0;            /* vertical spacing, adjust as you like */
}

.video h2 a {
    color: inherit;            /* same color as your H2 */
    text-decoration: none;     /* remove default underline */
}

.video h2 a:hover {
    text-decoration: underline; /* underline on hover for affordance */
}

/* Category pill list */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.category-list a {
  padding: 8px 15px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.2s;
}
.category-list a:hover {
  background: #ddd;
}
.category-list a.active {
  background: #f7119f;
  color: #fff;
}

/* Shrink title font slightly */
.video-title {
  font-size: 1rem;
  margin-bottom: 10px;
}
.video-title a {
  color: inherit;
  text-decoration: none;
}
.video-title a:hover {
  text-decoration: underline;
}

.video-category {
  color: #f7119f;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
.video-category:hover {
  color: #bf117d;
  text-decoration: underline;
}

.purchase-center-box input[type="text"],
.purchase-center-box textarea {
  box-sizing: border-box;
  width: 100%;
  /* you can leave your padding as-is */
}

.centered-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* Lightbox Modal */
.modal {
  display: none;           /* keep it hidden by default */
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal.open {
  display: flex;           /* switch to flex for centering */
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; 
  height: 64px;
  transform: translate(-50%, -50%);
  background: url('/assets/icons/play-circle.svg') no-repeat center center;
  background-size: contain;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity .2s;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}
.video-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.video-thumb .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: url('/assets/icons/play-circle.svg') no-repeat center/contain;
  pointer-events: none;
}
.video-thumb video {
  display: block;
  width: 100%;
  height: auto;
}