:root {
  --primary-green: #00a236;
  --primary-red: #c02926;
  --primary-blue: #0081c5;
  --primary-orange: #f27809;
  --primary-purple: #5d2b7e;
  --primary-cyan: #00b95e;
  --white: #ffffff;
  --black: #000000;
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

.ticket-body {
  /* background: radial-gradient(
            circle at 50% 30%,
            #6ee66e 0%,
            #00c46b 20%,
            #007f4f 40%,
            #003d26 65%,
            #000000 100%
            ); */
  min-height: 80vh;
  font-family: "Poppins" !important;
  overflow-x: hidden;
  padding: 60px 0px;
}

.registration-text {
  font-family: "Poppins" !important;
}

.inner-banner {
  background: transparent !important;
  height: auto;
  padding-top: 20px;
}

.footer {
  padding: 0px;
  background: none;
}

/* Compact Ticket Container */
.ticket-container {
  perspective: 1000px;
  height: 100%;
  overflow: visible;
}

.ticket-card {
  display: flex;
  min-height: 330px;
  border-radius: 15px;
  /* box-shadow: 0 10px 30px rgb(0 0 0 / 9%); */
  /* backdrop-filter: blur(20px); */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  margin-top: 0px;
  height: 100%;
}

/* .ticket-card:hover {
  transform: translateY(-5px) rotateX(3deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
} */

/* Animated Background Orbs - Smaller */
.background-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );
  animation: float 6s ease-in-out infinite;
}

.orb:nth-child(1) {
  width: 40px;
  height: 40px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

/* Reduced from 60px */
.orb:nth-child(2) {
  width: 25px;
  height: 25px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

/* Reduced from 40px */
.orb:nth-child(3) {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

/* Reduced from 80px */

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-15px) rotate(180deg);
    opacity: 1;
  }

  /* Reduced movement */
}

/* Left Section - Pricing - More compact */
.ticket-left {
  width: 30%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white;
  background-position: 40% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background: linear-gradient(0deg, #9a1909 0%, #ff0000 50%, #580a00 100%);
  border-radius: 10px;
  animation: bgZoom 3s ease-in-out infinite;

}

.ticket-left::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-image: url(../img/ticket-abstract.png);
    background-size: 50%;
    background-repeat: no-repeat;
}

.ticket-left::after{
  position: absolute;
  height: 100%;
  width: 100%;
  content: "";
  top: 0;
  left: 0;
  border-right: 2px dashed #fff;
}


/* Compact Price Tag */
.price-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 15px 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}



.price {
  font-size: 20px;
  /* Reduced from 2.5rem */
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.price-sub {
  font-size: 9px;
  /* Reduced from 0.9rem */
  opacity: 0.9;
  margin: 0;
}

/* price-strike */
.price-tag-strike .price-cut {
  font-size: 13px;
  text-decoration: line-through;
  margin: 0;
  color: #ffffff;
}

/* price-strike */

/* Compact Badge */
.ticket-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  color: var(--white);
  padding: 6px 15px;
  border-radius: 0 0 0px 12px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #096c00 0%, #10ae01 50%, #096c00 100%);
  z-index: 10;
  animation: bgZoom 3s ease-in-out infinite;
}
@keyframes bgZoom {
  0%, 100% {
    background-size: 100% 100%;
  }
  50% {
    background-size: 120% 120%;
  }
}

/* Compact Premium Button */
.ticket-left .premium-button{
  position: relative;
  z-index: 1;
}
.premium-button {
  background: white;
  border: none;
  color: var(--primary-color);
  padding: 12px 12px; 
  /* Reduced from 15px 25px */
  border-radius: 40px;
  /* Reduced from 50px */
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 0.8rem;
  margin: auto;
  display: block;
  /* animation: flashPriceBox 1.5s ease-in-out infinite; */
  /* Added smaller font size */
}

.premium-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.premium-button:hover {
  transform: translateY(-2px);
  /* Reduced from -3px */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  /* Reduced shadow */
}

.premium-button:hover::before {
  left: 100%;
}

/* Right Section - Details - More compact */
.ticket-right {
  width: 70%;
  padding: 20px;
  background: linear-gradient(96deg,#ffa7a6,#c0292600);
  backdrop-filter: blur(20px);
  position: relative;
  border-radius: 10px;
  border: 1px solid #a82220;
  overflow: hidden;
}

.ticket-title {
  font-size: 1.2rem;
  /* Reduced from 1.5rem */
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
  /* Reduced from 15px */
  line-height: 1.3;
}

.ticket-subtitle {
  color: #161616;
  margin-bottom: 15px;
  /* Reduced from 20px */
  font-size: 13px;
  /* Reduced from 1rem */
}

.event-details {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.6)
  );
  border-radius: 12px;
  /* Reduced from 15px */
  padding: 15px;
  /* Reduced from 20px */
  margin: 15px 0;
  /* Reduced from 20px */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  /* Reduced shadow */
  font-size: 0.85rem;
  /* Added smaller font size */
}

.event-details p {
  margin-bottom: 5px;
  /* Reduced spacing */
}

/* Compact Features Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  /* Reduced from 15px */
}

.feature-item {
  background: linear-gradient(96deg,#ffffff87,#ffffff1a);
  border-radius: 50px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid rgb(255 255 255 / 11%);
  font-size: 14px;
  font-weight: 400;
  color: #000;
  overflow: hidden;
  position: relative;
  /* Prevent shine from overflowing */
}

/* Shine effect using ::after */
.feature-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shineMove 2s infinite;
  pointer-events: none;
  /* Allow clicks through the shine */
  z-index: 1;
}

/* Optional: raise content above shine */
.feature-item * {
  position: relative;
  z-index: 2;
}

/* Keyframes for shine movement */
@keyframes shineMove {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}



.feature-icon {
  width: 15px;
  /* Reduced from 40px */
  height: 15px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  /* Reduced from 15px */
  color: white;
  font-size: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  /* Reduced shadow */
}

.feature-text {
  font-weight: 500;
  color: var(--black);
  font-size: 12px;
  /* Reduced from 0.9rem */
}

/* Color Variants */
.ticket-green {
  --primary-color: var(--primary-green);
  --secondary-color: #003c14;
}

.ticket-red {
  --primary-color: var(--primary-red);
  --secondary-color: #470706;
}

.ticket-blue {
  --primary-color: var(--primary-blue);
  --secondary-color: #050fae;
}

.ticket-orange {
  --primary-color: var(--primary-orange);
  --secondary-color: #c32e23;
}

.ticket-purple {
  --primary-color: var(--primary-purple);
  --secondary-color: #431b5a;
}

.ticket-cyan {
  --primary-color: var(--primary-cyan);
  --secondary-color: #a8ea58;
}

/* Special Effects */
.top-badge {
    color: #000000 !important;
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    background: rgb(255, 255, 255);
    padding: 6px 15px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1;
}

.free-ticket-tag{
    background: linear-gradient(90deg,#e88f00,#d0ff00)!important;
    color: white !important;
}

.coming-soon {
  position: relative;
}

.coming-soon::before {
  content: "COMING SOON";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 30px;
  /* Reduced from 20px 40px */
  border-radius: 12px;
  /* Reduced from 15px */
  font-size: 1.2rem;
  /* Reduced from 1.5rem */
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 100;
  backdrop-filter: blur(10px);
  border: 2px solid white;
}

.coming-soon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  z-index: 99;
  border-radius: 15px;
  /* Reduced from 20px */
}

/* Responsive Design for smaller screens */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns on medium screens */
  }
}

@media (max-width: 768px) {
  .ticket-card {
    flex-direction: column;
    min-height: auto;
  }

  .ticket-left,
  .ticket-right {
    width: 100%;
  }

  .ticket-left {
    min-height: 180px;
    background-position: 40% 39%;
    /* Reduced from 250px */
  }



  .features-grid {
    grid-template-columns: 1fr;
  }
  
}

/* Enhanced Animations - More subtle */
.ticket-container {
  opacity: 0;
  transform: translateY(30px);
  /* Reduced from 50px */
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ticket-container:nth-child(2) {
  animation-delay: 0.1s;
}

.ticket-container:nth-child(3) {
  animation-delay: 0.2s;
}

.ticket-container:nth-child(4) {
  animation-delay: 0.3s;
}

.ticket-container:nth-child(5) {
  animation-delay: 0.4s;
}

.ticket-container:nth-child(6) {
  animation-delay: 0.5s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-btn{
    min-height: 25px;
    border-radius: 50px;
    background: var(--gradient);
    color: rgb(255, 253, 253);
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0px 10px;
    margin-bottom: 10px;
}

/* Compact Header Section */
.page-header {
  text-align: center;
  margin-bottom: 30px;
  /* Reduced from 50px */
  color: white;
}

.page-title {
  font-size: 2.5rem;
  /* Reduced from 3rem */
  font-weight: 700;
  margin-bottom: 10px;
  /* Reduced from 15px */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 1.1rem;
  /* Reduced from 1.2rem */
  opacity: 0.9;
  margin-bottom: 20px;
  /* Reduced from 30px */
}

/* countdown */
:root {
  --bg1: #0a1f13;
  --bg2: #00120a;
  --accent: #6ee66e;
  --glass-2: rgba(255, 255, 255, 0.03);
  --text: #e8fff0;
  --gradient: linear-gradient(90deg, #9a1909 0%, #ff262a 50%, #580a00 100%);
}

.countdown {
  display: flex;
  gap: 3px;
  align-items: center;
  width: auto;
  flex-wrap: wrap;
  margin: 12px 0;
  margin-top: 5px;
}

.countdown-item {
  min-width: auto;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(1 1 1 / 5%), rgb(255 255 255));
  border: 1px solid var(--glass-2);
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 6px 18px rgba(0,0,0,0.45); */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease,
    background 0.3s ease;
}

/* Periodic Shine */
.countdown-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shine 4s linear infinite;
  animation-delay: var(--shine-delay, 0s);
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  20% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}



.countdown-value {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 8px 12px;
  border-radius: 5px;
  /* background: linear-gradient(90deg, rgba(110, 230, 110, 0.06), rgba(110, 230, 110, 0.02)); */
  background: var(--gradient);
  border: 1px solid rgba(110, 230, 110, 0.06);
  min-width: 54px;
}

.countdown-label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.85);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .countdown {
    gap: 0px;
    padding: 0px;
  }
  .countdown-item {
    min-width: 54px;
    padding: 8px;
    border-radius: 10px;
  }
  .countdown-value {
    font-size: 20px;
    min-width: 42px;
    padding: 6px;
  }
  .countdown-label {
    font-size: 10px;
  }
}

.offer-ends-in {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  margin-top: 10px;
  color: #ffffff;
  font-style: italic;
  text-transform: uppercase;

  /* Keep shadow equal in all directions so zoom stays centered */
  text-shadow: 1px 1px 0 #ff0000, -1px 1px 0 #ff0000, 1px -1px 0 #ff0000,
    -1px -1px 0 #ff0000;

  animation: zoomGlow 1.8s infinite ease-in-out;
  transform-origin: center; /* ensures zoom happens from center */
}

@keyframes zoomGlow {
  0% {
    transform: scale(1);
    text-shadow: 1px 1px 0 #ff0000, -1px 1px 0 #ff0000, 1px -1px 0 #ff0000,
      -1px -1px 0 #ff0000;
  }
  50% {
    transform: scale(1);
    text-shadow: 0 0 6px #ff0000, 0 0 10px #ff3b3b, 0 0 15px #ff6b6b;
  }
  100% {
    transform: scale(1);
    text-shadow: 1px 1px 0 #ff0000, -1px 1px 0 #ff0000, 1px -1px 0 #ff0000,
      -1px -1px 0 #ff0000;
  }
}

/* countdown */

/* Ensure 4 tickets fit on 15" screen (optimized for ~1366px width) */
@media (min-width: 1200px) and (max-width: 1400px) {
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .ticket-card {
    min-height: 260px;
    /* Even more compact for medium screens */
  }
}

/* For smaller laptops and 15" screens */
@media (min-width: 1024px) and (max-width: 1366px) {
  .ticket-card {
    min-height: 250px;
    /* Very compact */
  }

  .ticket-left {
    padding: 15px;
  }

  .ticket-right {
    padding: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .feature-item {
    padding: 8px;
  }

  .feature-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 991px) {
  .ticket-body {
    padding-top: 20px;
  }
  .ticket-title {
    margin-top: 20px;
  }
  .detail-btn{
    display: none;
  }
  .ticket-left::after{
    border-right: none !important;
    border-bottom: 2px dashed #fff;
  }
}

@media (max-width: 400px) {
  .coming-soon::before {
    width: 250px;
    text-align: center;
  }
  .ticket-right {
    padding: 15px;
    padding-top: 20px;
  }
}

/* Flash the FREE Limited Time price box */
.premium-glow .price-tag {
  position: relative;
  overflow: hidden;
}

.ticket-green .price-tag::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s linear infinite;
}

.premium-glow .price {
  animation: textFlash 1s ease-in-out infinite alternate;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.5);
}

.premium-glow .price-sub {
  /* animation: subTextPulse 1.2s ease-in-out infinite; */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

@keyframes flashPriceBox {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
  }

  50% {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3),
      inset 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes textFlash {
  0% {
    color: rgba(255, 255, 255, 1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
      0 0 10px rgba(255, 255, 255, 0.5);
  }

  100% {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

@keyframes subTextPulse {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
  }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1111;
}

.particle {
  position: absolute;
  width: 3px !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.29);
  animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.particle:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 20%;
  left: 80%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 60%;
  animation-delay: 2s;
}

.particle:nth-child(6) {
  top: 70%;
  left: 40%;
  animation-delay: 2.5s;
}

.particle:nth-child(7) {
  top: 40%;
  left: 90%;
  animation-delay: 3s;
}

.particle:nth-child(8) {
  top: 90%;
  left: 30%;
  animation-delay: 3.5s;
}

.particle:nth-child(9) {
  top: 50%;
  left: 10%;
  animation-delay: 4s;
}

.particle:nth-child(10) {
  top: 15%;
  left: 50%;
  animation-delay: 4.5s;
}
