/*--------------------------------------------------------------
# General Variables & Reset
--------------------------------------------------------------*/
:root {
  --font-default: "Poppins", system-ui, -apple-system, sans-serif;
  --font-heading: "Orbitron", sans-serif; /* Tech-style font */
  
  /* Modern Dark Cyberpunk Palette */
  --bg-dark: #0a0a0a;
  --bg-dark-secondary: #0f0f0f;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  
  /* Brand Colors */
  --color-accent: #D9232D; 
  --color-accent-glow: rgba(217, 35, 45, 0.6);
  --color-text: #ffffff;
  --color-text-muted: #b0b0b0;
}

/* Global Settings */
body {
  font-family: var(--font-default);
  color: var(--color-text);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #ff5e68;
  text-shadow: 0 0 10px var(--color-accent-glow);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-default);
  color: #fff;
  font-weight: 600;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark); 
}
::-webkit-scrollbar-thumb {
  background: #333; 
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent); 
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: var(--glass-border);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo img {
  max-height: 50px;
}

.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navmenu a {
  font-size: 15px;
  font-weight: 500;
  color: #e0e0e0;
  padding: 10px 15px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navmenu a:hover, .navmenu .active {
  color: var(--color-accent);
}

.navmenu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 50%;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navmenu a:hover::after, .navmenu .active::after {
  width: 80%;
}

.btn-getstarted {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
  text-transform: uppercase;
}

.btn-getstarted:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 15px var(--color-accent-glow);
}

/* Mobile Nav */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  margin-right: 15px;
}
.mobile-nav-active {
  overflow: hidden;
}
.mobile-nav-active .navmenu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mobile-nav-active .navmenu ul {
  flex-direction: column;
  gap: 20px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 80vh; /* REDUCED HEIGHT */
  min-height: 500px;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero .carousel, .hero .carousel-inner, .hero .carousel-item {
  height: 100%;
  background: #000;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Darkens image */
}

.hero .carousel-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 3;
}

.hero h2 {
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
  font-family: var(--font-heading);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #d0d0d0;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.accent-text { color: var(--color-accent); }
.highlight { color: #fff; font-weight: 700; border-bottom: 2px solid var(--color-accent); }

/* Hero Button */
.btn-hero {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-hero:hover {
  background: #fff;
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero { height: 90vh; }
  .hero h2 { font-size: 2.5rem; }
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/*--------------------------------------------------------------
# Scrolling Stock Ticker
--------------------------------------------------------------*/
.stock-ticker {
  background: var(--color-accent);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-1deg);
  margin: 20px 0;
  box-shadow: 0 0 20px rgba(217, 35, 45, 0.4);
}

.stock-ticker ul {
  display: inline-block;
  padding: 0;
  margin: 0;
  list-style: none;
  animation: scroll 30s linear infinite;
}

.stock-ticker li {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  padding-right: 50px;
  font-family: var(--font-heading);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/*--------------------------------------------------------------
# Video Section & Neon Button
--------------------------------------------------------------*/
.video-sec {
  padding: 80px 0;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.teaser-wrapper {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(217, 35, 45, 0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.teaser-wrapper iframe {
  width: 100%;
  height: 100%;
}

.button-neon {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: bold;
  overflow: hidden;
  transition: 0.2s;
  border: 2px solid var(--color-accent);
  border-radius: 5px;
  box-shadow: 0 0 10px var(--color-accent), inset 0 0 10px var(--color-accent);
}

.button-neon:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 40px var(--color-accent), inset 0 0 20px var(--color-accent);
}

/*--------------------------------------------------------------
# Countdown Section
--------------------------------------------------------------*/
.count-down-section {
  background: #0e0e0e;
  padding: 80px 0;
}

.responsive-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* Flipdown Override */
.flipdown {
  margin: 0 auto;
}
.flipdown.flipdown__theme-light .rotor,
.flipdown.flipdown__theme-light .rotor-top,
.flipdown.flipdown__theme-light .rotor-leaf-front {
  background-color: #222 !important;
  color: var(--color-accent) !important;
  border-top: 1px solid #333 !important;
}
.flipdown.flipdown__theme-light .rotor-bottom,
.flipdown.flipdown__theme-light .rotor-leaf-rear {
  background-color: #1a1a1a !important;
  color: var(--color-accent) !important;
  border-top: none !important;
}
.flipdown.flipdown__theme-light .rotor-group-heading:before {
  color: #666 !important;
}

/*--------------------------------------------------------------
# Section Titles & Glass Cards
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  position: relative;
}

/* Fix for Centering Titles */
.section-title {
  text-align: center !important;
  width: 100%;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title p {
  font-size: 36px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.glass-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

/*--------------------------------------------------------------
# About Stats
--------------------------------------------------------------*/
.stat-item {
  padding: 30px;
  text-align: center;
  height: 100%;
}
.stat-item i {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}
.stat-item span {
  font-size: 36px;
  font-weight: 700;
  display: block;
  font-family: var(--font-heading);
}
.stat-item p {
  color: var(--color-text-muted);
  margin: 0;
}

/*--------------------------------------------------------------
# Organizer
--------------------------------------------------------------*/
.nav-tabs {
  border-bottom: none;
}
.nav-tabs .nav-link {
  background: transparent;
  border: 1px solid #333;
  color: #fff;
  border-radius: 30px;
  padding: 10px 25px;
  margin: 0 5px;
  transition: 0.3s;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-glow);
}

.member-card {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 20px;
}
.member-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}
.member-card:hover .member-img {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-glow);
}
.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
}
.member-card span {
  font-size: 14px;
  color: var(--color-text-muted);
}

/*--------------------------------------------------------------
# Gallery Section (Fixed Layout)
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
}

.gallery .swiper-wrapper {
  align-items: center;
}

.gallery .swiper-slide {
  height: 300px; /* Fixed height for uniformity */
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills box */
  transition: transform 0.5s ease;
}

.gallery .swiper-slide:hover img {
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  background-color: #fff !important;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-accent) !important;
  opacity: 1;
}


/*--------------------------------------------------------------
# Rules Section
--------------------------------------------------------------*/
.rules-list {
  list-style: none;
  padding: 0;
}
.rules-list li {
  background: var(--glass-bg);
  border: var(--glass-border);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
  transition: 0.3s;
}
.rules-list li:hover {
  transform: translateX(10px);
  background: rgba(255,255,255,0.08);
}
.rules-list i {
  color: var(--color-accent);
  margin-right: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #050505;
  border-top: 1px solid #222;
  padding-top: 60px;
  margin-top: auto;
  width: 100%;
}

.footer .footer-top {
  padding-bottom: 30px;
}

.footer .logo span {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
  letter-spacing: 1px;
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 5px;
  font-size: 14px;
}

.footer-contact strong {
  color: #fff;
}

.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333;
  color: #fff; margin-right: 10px; transition: 0.3s;
  font-size: 16px;
}
.social-links a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.footer h4 {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  bottom: 0;
  left: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: #aaa;
}

.contact-li {
  color: #ccc;
  font-size: 14px;
}

.footer-links a {
  color: #aaa;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer .copyright {
  border-top: 1px solid #222;
  padding: 25px 0;
  color: #aaa;
  font-size: 14px;
}

/* Footer Flex Layout for Desktop */
@media (min-width: 992px) {
  .footer-flex {
    justify-content: space-between;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
}
#preloader:before {
  content: "";
  width: 50px;
  height: 50px;
  border: 3px solid #333;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--color-accent);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title p { font-size: 28px; }
  .teaser-wrapper { width: 95%; }
  .stock-ticker li { font-size: 14px; }
}