/* Snow canvas */
#snow-canvas {
	position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}
.hero-banner {
  position: relative;
  overflow: hidden;
}
/* Popup */
.festive-popup {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	/* block interactions when hidden */
	transition: opacity 0.6s ease;
}

.festive-popup.show {
	opacity: 1;
	pointer-events: auto;
}

.festive-content {
	position: relative;
	background: #1b1b1b;
	border-radius: 20px;
	padding: 40px 30px;
	max-width: 420px;
	text-align: center;
	color: #fff;
	opacity: 0;
	transform: scale(0.85);
	transition: opacity 0.6s ease, transform 0.6s ease;
	border: 2px solid gold;
	box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.festive-popup.show .festive-content {
	opacity: 1;
	transform: scale(1);
}

.festive-content h2 {
	color: #cbb05b;
	font-size: 22px;
	margin-bottom: 12px !important;
}

.festive-content p {
	font-size: 15px;
	line-height: 1.5;
	color: #eee;
	margin-bottom: 20px !important;
}

.festive-btn {
	background: linear-gradient(90deg, rgba(231, 24, 24, 1), #d21d2c);
	color: #fff;
	padding: 10px 25px;
	border-radius: 25px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 0 15px rgba(210, 29, 44, 0.4);
	transition: 0.3s;
}

.festive-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 0 25px rgba(39, 51, 118, 0.6);
	color: #fff;
	background: rgba(39, 51, 118, 1)
}

.festive-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	color: #ffd700;
	font-size: 22px;
	cursor: pointer;
}

.popup-footer {
	margin-top: 20px !important;
	font-size: 14px;
	color: #cbb05bff;
}

/* Floating icon */
.festive-icon {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(145deg, #b30000, #ff4040);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #fff;
	cursor: pointer;
	z-index: 999;
	box-shadow: 0 0 20px rgba(203, 176, 91, 0.6),
		inset 0 0 10px rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(203, 176, 91, 0.6);
	transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
	animation: gentle-float 4s ease-in-out infinite;
}

/* Hover: subtle scale + deeper glow (no jump) */
.festive-icon:hover {
	transform: scale(1.08);
	background: linear-gradient(145deg, #d21d2c, #ff6060);
	box-shadow: 0 0 30px rgba(203, 176, 91, 0.9),
		inset 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Gentle continuous floating motion */
@keyframes gentle-float {

	0%,
	100% {
		transform: translateY(0);
	}

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

/* Gold ring pulse */
.festive-icon::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid rgba(203, 176, 91, 0.4);
	animation: pulse-ring 3s infinite ease-in-out;
}

@keyframes pulse-ring {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}

	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}

/* --- Hero Play Button --- */
.hero-play-btn {
  position: relative;
  left: 10%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: soft-float 4s ease-in-out infinite;
}

/* SVG Styling */
.hero-play-btn svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 0 10px rgba(203,176,91,0.5));
}

/* Circle and triangle glow */
.hero-play-btn svg circle {
  fill: rgba(0, 0, 0, 0.4);
  stroke: #cbb05b;
  stroke-width: 5;
  transition: all 0.4s ease;
}

.hero-play-btn svg polygon {
  fill: #cbb05b;
  transition: all 0.4s ease;
}

/* Hover Effect - smooth scale & brighter glow */
.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 25px rgba(203,176,91,0.4);
}

.hero-play-btn:hover svg circle {
  fill: rgba(203,176,91,0.15);
  stroke: #ffdf6a;
}

.hero-play-btn:hover svg polygon {
  fill: #ffdf6a;
  filter: drop-shadow(0 0 12px rgba(255,215,0,0.6));
}

/* Gentle floating animation */
@keyframes soft-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

/* Subtle gold pulse ring */
.hero-play-btn::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(203,176,91,0.5);
  animation: gold-pulse 2.5s ease-in-out infinite;
}

@keyframes gold-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}
#video-modal.modal {
    display: none;
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
  }
  
  #video-modal .modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: auto;
    max-height: 100vh;
    background-color: #C5B665 !important;
    margin: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    overflow: hidden;
    z-index: 2;
  }

  #video-modal .xl-event .modal-content {
    width: 60%;
  }
  
  #video-modal .close {
    position: absolute;
    top: -3px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 3;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
  }
  
  #video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #video-modal .xl-event #video-player {
    object-fit: cover;
  }

@media (max-width: 991px) {
	.festive-content {
		max-width: 90%;
		padding: 35px 20px;
		background-position: center;
		background-size: cover;
	}

	.festive-content h2 {
		font-size: 18px;
		line-height: 1.4;
	}

	.festive-content p {
		font-size: 14px;
	}

	.festive-btn {
		font-size: 14px;
		padding: 8px 18px;
	}

	.video-close {
		right: 0;
		top: -30px;
		font-size: 26px;
	}
}
@media screen and (max-width: 767px){
    #video-modal .modal-content{
        margin: 0;
        width: 95%;
    }
    .banner .leftcap .twobtn.ct a {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 16px;
    }
}
@media (max-width: 575px) {
	.festive-content {
		padding: 30px 18px;
		border-width: 1.5px;
	}
	.festive-close {
		top: 4px;
		right: 8px;
		font-size: 20px;
	}
	.popup-footer {
		font-size: 13px;
	}
	.hero-play-btn {
		top: 30%;
	}
    .banner.hmebanner .leftcap p, .banner.hmebanner .leftcap h1 {
        text-align: center;
    }
    .banner.hmebanner .leftcap {
        align-items: center;
    }
    #video-modal .modal {
      z-index: 99999999;
    }
    #video-modal .xl-event .modal-content {
      width: 80%;
    }
    #video-modal .xl-event .video-container {
      padding-bottom: 177.78%;
    }
}