/* ===== CSS VARIABLES ===== */
:root {
  --dark-bg: #0f0f0f;
  --darker-bg: #080808;
  --purple-accent: #9b59b6;
  --purple-light: #a66bbe;
  --orange-accent: #e67e22;
  --orange-light: #f39c12;
  --text-primary: #f5f5f5;
  --text-secondary: #b3b3b3;
  --discord-color: #7289da;
  --discord-light: #8ea1e1;

  /* Gradient variables */
  --gradient-orange: linear-gradient(
    135deg,
    var(--orange-accent),
    var(--orange-light)
  );
  --gradient-purple: linear-gradient(
    135deg,
    var(--purple-accent),
    var(--purple-light)
  );
  --gradient-mix: linear-gradient(
    135deg,
    var(--orange-accent),
    var(--purple-accent)
  );
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(155, 89, 182, 0.25) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(230, 126, 34, 0.25) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(230, 126, 34, 0.02) 0px,
      rgba(230, 126, 34, 0.02) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(155, 89, 182, 0.02) 0px,
      rgba(155, 89, 182, 0.02) 1px,
      transparent 1px,
      transparent 20px
    );
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Account for fixed header */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.4);
  border-radius: 4px;
}

/* Fix for body when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* ===== LAYOUT ===== */
.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* ===== ANIMATIONS ===== */
@keyframes pageLoad {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(0.5);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4),
      0 0 30px rgba(230, 126, 34, 0.1);
  }
  100% {
    box-shadow: 0 0 25px rgba(155, 89, 182, 0.6),
      0 0 50px rgba(155, 89, 182, 0.2);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0) rotate(0);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-150px) translateX(30px) rotate(10deg);
    opacity: 0;
  }
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes pulse-text {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

@keyframes pulse-radial {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@keyframes trophy-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ===== UTILITY CLASSES ===== */
.themed-link {
  display: inline-flex;
  align-items: center;
  color: var(--orange-accent);
  text-decoration: none;
  position: relative;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(230, 126, 34, 0.1);
  transition: all 0.3s ease, transform 0.2s ease;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(230, 126, 34, 0.3);
}

.themed-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--orange-accent),
    var(--purple-accent)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.themed-link:hover {
  color: var(--orange-light);
  background: rgba(230, 126, 34, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.themed-link:hover::after {
  transform: scaleX(1);
}

.themed-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::after {
  left: 0;
}

.btn:hover {
  transform: translateY(-5px);
}

.btn:focus,
.btn:active {
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.5);
  border-radius: 50px !important; /* Force maintain rounded corners */
  outline: none;
}

.btn-primary {
  background: var(--gradient-orange);
  color: white;
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4),
    0 4px 10px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 25px rgba(230, 126, 34, 0.6),
    0 8px 15px rgba(230, 126, 34, 0.4);
}

.btn-discord {
  background: linear-gradient(
    135deg,
    var(--discord-color),
    var(--discord-light)
  );
  color: white;
  box-shadow: 0 8px 20px rgba(114, 137, 218, 0.4),
    0 4px 10px rgba(114, 137, 218, 0.3);
}

.btn-discord:hover {
  box-shadow: 0 12px 25px rgba(114, 137, 218, 0.6),
    0 8px 15px rgba(114, 137, 218, 0.4);
}

.btn-patreon {
  background: var(--gradient-purple);
  color: white;
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4),
    0 4px 10px rgba(155, 89, 182, 0.3);
}

.btn-patreon:hover {
  box-shadow: 0 12px 25px rgba(155, 89, 182, 0.6),
    0 8px 15px rgba(155, 89, 182, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(230, 126, 34, 0.4);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(230, 126, 34, 0.6);
}

.btn-watch {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3), 0 4px 10px rgba(255, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.btn-watch:hover {
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.4), 0 8px 15px rgba(255, 0, 0, 0.3);
}

.btn-watch svg {
  width: 24px;
  height: 24px;
}

.btn-contest {
  background: linear-gradient(
    135deg,
    var(--purple-accent),
    var(--purple-light)
  );
  color: white;
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4),
    0 4px 10px rgba(155, 89, 182, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  padding-right: 60px;
}

.btn-contest::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.btn-contest:hover {
  box-shadow: 0 12px 25px rgba(155, 89, 182, 0.6),
    0 8px 15px rgba(155, 89, 182, 0.4);
}

.btn-contest:hover::before {
  opacity: 1;
  animation: pulse-radial 2s infinite;
}

.contest-btn-icon {
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  animation: trophy-bounce 2s infinite;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-watch-hero {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3), 0 4px 10px rgba(255, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-watch-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.4), 0 8px 15px rgba(255, 0, 0, 0.3);
}

.btn-watch-hero svg {
  width: 20px;
  height: 20px;
}

.btn-contest-hero {
  background: linear-gradient(
    135deg,
    var(--purple-accent),
    var(--purple-light)
  );
  color: white;
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4),
    0 4px 10px rgba(155, 89, 182, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.btn-contest-hero .contest-btn-icon {
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
  animation: trophy-bounce 2s infinite;
}

.btn-contest-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(155, 89, 182, 0.6),
    0 8px 15px rgba(155, 89, 182, 0.4);
}

/* ===== COMPONENTS ===== */

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-mix);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  animation: pageLoad 1.5s ease-out forwards;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.5);
}

/* Header */
header {
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(230, 126, 34, 0.3),
    0 -10px 30px rgba(155, 89, 182, 0.1) inset;
  position: fixed;
  width: 100%;
  z-index: 100;
  padding: 15px 0;
  border-bottom: 1px solid rgba(230, 126, 34, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo img {
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.4), 0 0 40px rgba(230, 126, 34, 0.1);
  animation: pulse 3s infinite alternate;
  will-change: transform;
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: var(--orange-accent);
  position: relative;
}

.logo-text::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-mix);
  transform: scaleX(0.7);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.logo:hover .logo-text::after {
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-mix);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  gap: 15px;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-heading h2 {
  font-size: 3rem;
  background: linear-gradient(
    135deg,
    var(--orange-accent),
    var(--purple-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-mix);
  border-radius: 3px;
}

.section-heading p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 20px auto 0;
}

.section-heading h1 {
  font-size: 3.5rem;
  color: var(--orange-accent);
  margin-bottom: 15px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-heading h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-mix);
  border-radius: 3px;
}

/* Mobile Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 102;
  position: relative;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--orange-accent);
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow-y: auto;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(230, 126, 34, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(155, 89, 182, 0.15) 0%,
      transparent 50%
    );
  z-index: -1;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-container {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-close {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-close:hover {
  background: rgba(230, 126, 34, 0.2);
  transform: rotate(90deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.mobile-nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 20px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(15, 15, 15, 0.7);
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.mobile-nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(230, 126, 34, 0.1) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(155, 89, 182, 0.1) 0%,
      transparent 30%
    );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-links a:hover {
  color: var(--orange-light);
  background: rgba(15, 15, 15, 0.9);
  border-left: 3px solid var(--orange-accent);
  padding-left: 25px;
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-links a:hover::before {
  opacity: 1;
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  padding-bottom: 30px;
}

.mobile-nav-cta .btn {
  width: 100%;
  text-align: center;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-mix);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3),
    0 0 0 5px rgba(155, 89, 182, 0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.4),
    0 0 0 8px rgba(155, 89, 182, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(
      circle at 80% 20%,
      rgba(230, 126, 34, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(155, 89, 182, 0.3) 0%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

#youtube-player,
.hero-video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
    radial-gradient(
      circle at 50% 50%,
      rgba(15, 15, 15, 0.2) 0%,
      rgba(8, 8, 8, 0.5) 90%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(230, 126, 34, 0.03) 0px,
      rgba(230, 126, 34, 0.03) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(155, 89, 182, 0.03) 0px,
      rgba(155, 89, 182, 0.03) 1px,
      transparent 1px,
      transparent 10px
    );
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: 55%;
  z-index: 2;
  animation: fadeSlideUp 0.8s ease-out;
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--orange-accent);
  background: linear-gradient(
    135deg,
    var(--orange-accent),
    var(--purple-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  color: white;
  -webkit-text-stroke: 2px var(--orange-accent);
  text-stroke: 2px var(--orange-accent);
  z-index: -1;
  opacity: 0.6;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid var(--orange-accent);
}

/* Contest Section */
.contest-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.contest-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e67e22' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(
      circle at 20% 80%,
      rgba(230, 126, 34, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(155, 89, 182, 0.15) 0%,
      transparent 50%
    );
}

.contest-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.staticjw.com/pum/5961/pumpkin-td-loadingscreen.jpg")
      no-repeat center center/cover;
  border-radius: 20px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 126, 34, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contest-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(230, 126, 34, 0.25),
      transparent 70%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(155, 89, 182, 0.25),
      transparent 70%
    );
  z-index: 0;
}

.contest-timer {
  background: rgba(15, 15, 15, 0.8);
  padding: 20px 30px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(230, 126, 34, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.timer-label {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-secondary);
}

#contest-countdown {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-accent);
  text-shadow: 0 2px 10px rgba(230, 126, 34, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  animation: pulse-text 1s infinite;
}

.countdown-loading {
  font-size: 1.2rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.contest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.contest-card {
  background: rgba(15, 15, 15, 0.8);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contest-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-mix);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(230, 126, 34, 0.3);
}

.contest-card:hover::before {
  transform: scaleX(1);
}

.contest-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--orange-accent);
  position: relative;
  display: inline-block;
}

.contest-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-accent), transparent);
  transition: width 0.3s ease;
}

.contest-card:hover h3::after {
  width: 100%;
}

.contest-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contest-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: var(--gradient-mix);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(155, 89, 182, 0.3),
    0 5px 15px rgba(155, 89, 182, 0.2), 0 0 0 5px rgba(155, 89, 182, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contest-card:hover .contest-card-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.4),
    0 5px 15px rgba(155, 89, 182, 0.3), 0 0 0 8px rgba(155, 89, 182, 0.1);
}

/* Contest Highlights */
.contest-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(230, 126, 34, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.2);
  background: rgba(230, 126, 34, 0.3);
}

/* Prize Items */
.prize-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.prize-item {
  display: flex;
  padding: 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
  border-left: 4px solid transparent;
}

.prize-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.prize-rank {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 700;
  min-width: 90px;
  text-align: center;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.prize-item:hover .prize-rank {
  transform: scale(1.1);
}

.prize-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.first-place {
  border-color: gold;
}

.first-place .prize-rank {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
}

.second-place {
  border-color: silver;
}

.second-place .prize-rank {
  background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
  color: #000;
}

.third-place {
  border-color: #cd7f32;
}

.third-place .prize-rank {
  background: linear-gradient(135deg, #cd7f32, #daa520);
  color: #000;
}

.fourth-place {
  border-color: var(--purple-accent);
}

.fourth-place .prize-rank {
  background: linear-gradient(
    135deg,
    var(--purple-accent),
    var(--purple-light)
  );
}

.prize-note {
  background: rgba(155, 89, 182, 0.1);
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid var(--purple-accent);
}

.prize-note p {
  margin-bottom: 0;
  font-style: italic;
}

/* Rules List */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.rule-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.rule-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--orange-accent);
  font-size: 0.9rem;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.rule-item:hover .rule-icon {
  transform: scale(1.2);
  background: rgba(230, 126, 34, 0.3);
}

.winning-criteria {
  background: rgba(230, 126, 34, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid var(--orange-accent);
}

.winning-criteria h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--orange-accent);
}

.winning-criteria p {
  margin-bottom: 10px;
}

.winning-criteria p:last-child {
  margin-bottom: 0;
}

/* Submission Steps */
.submission-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.submission-step {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.submission-step:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-mix);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.submission-step:hover .step-number {
  transform: scale(1.2);
}

.step-content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--orange-accent);
}

.step-content p {
  margin-bottom: 0;
}

.eligibility-note {
  background: rgba(155, 89, 182, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid var(--purple-accent);
  margin-bottom: 30px;
}

.eligibility-note h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--purple-accent);
}

.eligibility-note p {
  margin-bottom: 10px;
}

.eligibility-note p:last-child {
  margin-bottom: 0;
}

.submission-card .btn {
  width: 100%;
  text-align: center;
}

/* Guide Section */
.guide-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.guide-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(230, 126, 34, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(155, 89, 182, 0.12) 0%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e67e22' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.guide-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 10px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(230, 126, 34, 0.3);
  transform: translateY(0) scale(1);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.video-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 15px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.video-overlay-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(230, 126, 34, 0.3);
  background: radial-gradient(
    circle at 50% 50%,
    transparent 80%,
    rgba(230, 126, 34, 0.3) 100%
  );
}

.guide-content {
  background: rgba(15, 15, 15, 0.8);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.guide-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-mix);
}

.guide-announcement {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.announcement-badge {
  background: var(--gradient-orange);
  color: white;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: 0 5px 10px rgba(230, 126, 34, 0.3);
  animation: pulse-badge 2s infinite;
}

.guide-announcement h3 {
  font-size: 2rem;
  margin: 0;
  color: var(--orange-accent);
}

.guide-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.player-name {
  color: var(--orange-accent);
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.player-stars {
  color: gold;
  font-size: 0.9em;
  margin-left: 5px;
}

.guide-scope {
  background: rgba(155, 89, 182, 0.1);
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 3px solid var(--purple-accent);
}

.guide-scope p {
  margin: 0;
  color: var(--text-secondary);
}

.guide-topics {
  margin-bottom: 30px;
}

.guide-topics h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--orange-accent);
  position: relative;
  display: inline-block;
}

.guide-topics h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-accent), transparent);
}

.guide-topics ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-topics li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.guide-topics li:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.topic-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.guide-topics li:hover .topic-icon {
  transform: scale(1.2);
  background: rgba(230, 126, 34, 0.3);
}

.discover-more {
  margin-top: 20px;
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
}

.guide-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.credit-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.credit-item h5 {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
  background-color: transparent;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--darker-bg);
  z-index: -3;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: linear-gradient(
      135deg,
      transparent 0%,
      rgba(230, 126, 34, 0.12) 25%,
      transparent 50%
    ),
    linear-gradient(
      225deg,
      transparent 0%,
      rgba(155, 89, 182, 0.12) 25%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23e67e22' fill-opacity='0.08' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .cta-top-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, var(--dark-bg) 49.5%, transparent 50%),
    linear-gradient(225deg, var(--dark-bg) 49.5%, transparent 50%);
  z-index: 1;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-card {
  background: rgba(15, 15, 15, 0.9);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.5s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  will-change: transform;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  transition: all 0.3s ease;
}

.cta-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.08;
  background-image: linear-gradient(
    30deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(255, 255, 255, 0.3) 60%,
    transparent 60%
  );
  background-size: 20px 20px;
  transition: opacity 0.4s ease;
}

.download-card::before {
  background: var(--gradient-orange);
}

.discord-card::before {
  background: linear-gradient(
    90deg,
    var(--discord-color),
    var(--discord-light)
  );
}

.patreon-card::before {
  background: var(--gradient-purple);
}

.cta-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-card:focus {
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.5);
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover .cta-icon {
  transform: scale(1.1) rotate(5deg);
}

.download-card .cta-icon {
  background: var(--gradient-orange);
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.4),
    0 5px 15px rgba(230, 126, 34, 0.3), 0 0 0 5px rgba(230, 126, 34, 0.1);
}

.discord-card .cta-icon {
  background: linear-gradient(
    135deg,
    var(--discord-color),
    var(--discord-light)
  );
  box-shadow: 0 10px 20px rgba(114, 137, 218, 0.4),
    0 5px 15px rgba(114, 137, 218, 0.3), 0 0 0 5px rgba(114, 137, 218, 0.1);
}

.patreon-card .cta-icon {
  background: var(--gradient-purple);
  box-shadow: 0 10px 20px rgba(155, 89, 182, 0.4),
    0 5px 15px rgba(155, 89, 182, 0.3), 0 0 0 5px rgba(155, 89, 182, 0.1);
}

.cta-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.download-card h3 {
  color: var(--orange-accent);
}

.discord-card h3 {
  color: var(--discord-color);
}

.patreon-card h3 {
  color: var(--purple-accent);
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.1rem;
  flex-grow: 1;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
  padding: 5px 10px;
  border-radius: 8px;
}

.feature-item:hover {
  transform: translateX(8px);
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.2);
}

.download-card .feature-icon {
  color: var(--orange-accent);
  background: rgba(230, 126, 34, 0.1);
}

.discord-card .feature-icon {
  color: var(--discord-color);
  background: rgba(114, 137, 218, 0.1);
}

.patreon-card .feature-icon {
  color: var(--purple-accent);
  background: rgba(155, 89, 182, 0.1);
}

.download-card .feature-item:hover .feature-icon {
  background: rgba(230, 126, 34, 0.2);
}

.discord-card .feature-item:hover .feature-icon {
  background: rgba(114, 137, 218, 0.2);
}

.patreon-card .feature-item:hover .feature-icon {
  background: rgba(155, 89, 182, 0.2);
}

/* Features Section */
.features-section {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 1) 0%,
    rgba(15, 15, 15, 1) 100%
  );
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, var(--darker-bg) 49.5%, transparent 50%),
    linear-gradient(225deg, var(--darker-bg) 49.5%, transparent 50%);
  z-index: 2;
}

.features-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b59b6' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(rgba(230, 126, 34, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 126, 34, 0.05) 1px, transparent 1px);
  background-size: 60px 60px, 30px 30px, 30px 30px;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: rgba(15, 15, 15, 0.7);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.4s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.feature-card:focus {
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.5);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-mix);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(230, 126, 34, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  opacity: 0.1;
}

.feature-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: var(--gradient-mix);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 20px rgba(155, 89, 182, 0.3),
    0 5px 15px rgba(155, 89, 182, 0.2), 0 0 0 5px rgba(155, 89, 182, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.4),
    0 5px 15px rgba(155, 89, 182, 0.3), 0 0 0 8px rgba(155, 89, 182, 0.1);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.feature-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-accent), transparent);
  transition: width 0.3s ease;
}

.feature-card:hover h3::after {
  width: 100%;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Beta Testers Section */
.beta-testers-section {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.beta-testers-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b59b6' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 80%, rgba(155, 89, 182, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(230, 126, 34, 0.15) 0%, transparent 50%);
}

.beta-testers-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.beta-thanks-card,
.beta-contribution-card,
.beta-phases-card,
.beta-join-card {
    background: rgba(15, 15, 15, 0.8);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.beta-thanks-card::before,
.beta-contribution-card::before,
.beta-phases-card::before,
.beta-join-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-mix);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.beta-thanks-card:hover,
.beta-contribution-card:hover,
.beta-phases-card:hover,
.beta-join-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(230, 126, 34, 0.3);
}

.beta-thanks-card:hover::before,
.beta-contribution-card:hover::before,
.beta-phases-card:hover::before,
.beta-join-card:hover::before {
    transform: scaleX(1);
}

.beta-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--gradient-mix);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(155, 89, 182, 0.3),
        0 5px 15px rgba(155, 89, 182, 0.2), 0 0 0 5px rgba(155, 89, 182, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beta-thanks-card:hover .beta-card-icon,
.beta-contribution-card:hover .beta-card-icon,
.beta-phases-card:hover .beta-card-icon,
.beta-join-card:hover .beta-card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(155, 89, 182, 0.4),
        0 5px 15px rgba(155, 89, 182, 0.3), 0 0 0 8px rgba(155, 89, 182, 0.1);
}

.beta-thanks-card h3,
.beta-contribution-card h3,
.beta-phases-card h3,
.beta-join-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--orange-accent);
    position: relative;
    display: inline-block;
}

.beta-thanks-card h3::after,
.beta-contribution-card h3::after,
.beta-phases-card h3::after,
.beta-join-card h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange-accent), transparent);
    transition: width 0.3s ease;
}

.beta-thanks-card:hover h3::after,
.beta-contribution-card:hover h3::after,
.beta-phases-card:hover h3::after,
.beta-join-card:hover h3::after {
    width: 100%;
}

.beta-thanks-card p,
.beta-contribution-card p,
.beta-phases-card p,
.beta-join-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Beta Highlights */
.beta-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.beta-highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.beta-highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Contribution List */
.contribution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contribution-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contribution-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.contribution-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contribution-item:hover .contribution-icon {
    transform: scale(1.2);
    background: rgba(230, 126, 34, 0.3);
}

.contribution-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--orange-accent);
}

.contribution-details p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Phase Timeline */
.phase-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding-left: 30px;
}

.phase-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange-accent), var(--purple-accent));
    transform: translateX(-50%);
}

.phase-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.phase-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-mix);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    position: absolute;
    left: -30px;
    box-shadow: 0 0 0 5px rgba(15, 15, 15, 0.8), 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.phase-item:hover .phase-marker {
    transform: scale(1.2);
}

.phase-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-grow: 1;
}

.phase-item:hover .phase-content {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.phase-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--orange-accent);
}

.phase-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

.beta-join-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* Media Queries for Beta Testers Section */
@media (max-width: 1200px) {
    .beta-testers-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .beta-testers-section {
        padding: 100px 0;
    }
    
    .beta-thanks-card,
    .beta-contribution-card,
    .beta-phases-card,
    .beta-join-card {
        padding: 30px;
    }
    
    .beta-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .beta-thanks-card h3,
    .beta-contribution-card h3,
    .beta-phases-card h3,
    .beta-join-card h3 {
        font-size: 1.6rem;
    }
    
    .contribution-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .phase-timeline {
        padding-left: 20px;
    }
    
    .phase-marker {
        width: 25px;
        height: 25px;
        left: -20px;
    }
}

/* Developer Team Section */
.dev-team {
  background: linear-gradient(
    135deg,
    var(--orange-accent),
    var(--purple-accent)
  );
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.dev-team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.staticjw.com/pum/5961/pumpkin-td-loadingscreen.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.dev-team h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.dev-team p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.dev-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.dev-profile {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.4s ease;
  will-change: transform;
}

.dev-profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.dev-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.dev-profile h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 5px;
  font-weight: 700;
}

.dev-role {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.dev-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dev-link:hover {
  background: rgba(0, 0, 0, 0.3);
}

.dev-team-cta {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.dev-team-cta p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* Blog/Changelog Styles */
.blog-section {
  padding: 120px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(
      circle at 90% 10%,
      rgba(230, 126, 34, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(155, 89, 182, 0.15) 0%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b59b6' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#blog-posts {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

img#rss-img {
  display: none;
  float: right;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

img#rss-img:hover {
  transform: scale(1.1);
}

.blog-post {
  background: rgba(15, 15, 15, 0.7);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(230, 126, 34, 0.1);
  position: relative;
  z-index: 1;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(230, 126, 34, 0.1) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(155, 89, 182, 0.1) 0%,
      transparent 30%
    );
  border-radius: 15px;
  z-index: -1;
}

.blog-post::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      45deg,
      rgba(230, 126, 34, 0.03) 0px,
      rgba(230, 126, 34, 0.03) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(155, 89, 182, 0.03) 0px,
      rgba(155, 89, 182, 0.03) 1px,
      transparent 1px,
      transparent 10px
    );
  border-radius: 15px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.blog-post:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(230, 126, 34, 0.3);
}
.blog-post:hover::after {
  opacity: 1;
}
.blog-post h3 {
  margin-bottom: 5px;
  font-size: 1.8rem;
  line-height: 1.3;
}
.blog-post h3 a {
  color: var(--orange-accent);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  display: inline-block;
}
.blog-post h3 a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-mix);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.blog-post h3 a:hover {
  color: var(--orange-light);
}
.blog-post h3 a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.blog-date {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.9rem;
  display: inline-block;
  background: rgba(155, 89, 182, 0.1);
  padding: 3px 10px;
  border-radius: 15px;
  border: 1px solid rgba(155, 89, 182, 0.2);
}
.blog-post p {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 15px;
}
.blog-comment-link a {
  color: var(--purple-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(155, 89, 182, 0.1);
}
.blog-comment-link a:hover {
  color: var(--purple-light);
  transform: translateX(5px);
  background: rgba(155, 89, 182, 0.2);
}
.blog-post hr {
  width: 100%;
  height: 1px;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(230, 126, 34, 0.3),
    transparent
  );
  margin: 20px 0 0 0;
}
/* Blog Post Page Styles */
.blog-hero {
  padding: 180px 0 80px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.staticjw.com/pum/5961/pumpkin-td-loadingscreen.jpg")
      no-repeat center center/cover;
  text-align: center;
  position: relative;
}
.blog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(230, 126, 34, 0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(155, 89, 182, 0.25),
      transparent 60%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(230, 126, 34, 0.03) 0px,
      rgba(230, 126, 34, 0.03) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(155, 89, 182, 0.03) 0px,
      rgba(155, 89, 182, 0.03) 1px,
      transparent 1px,
      transparent 10px
    );
}
.blog-hero-content {
  position: relative;
  z-index: 1;
}
.blog-hero-content h1 {
  font-size: 3.5rem;
  color: var(--orange-accent);
  margin-bottom: 15px;
  font-weight: 800;
}
.blog-hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.blog-hero-meta .blog-date {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(230, 126, 34, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.blog-content {
  padding: 60px 0;
  background: var(--dark-bg);
  position: relative;
}
.blog-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 90% 10%,
      rgba(230, 126, 34, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(155, 89, 182, 0.15) 0%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b59b6' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}
.blog-post-content {
  max-width: 1240px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text-primary);
  background: rgba(15, 15, 15, 0.8);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(230, 126, 34, 0.2);
  position: relative;
  z-index: 1;
}
.blog-post-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(230, 126, 34, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(155, 89, 182, 0.1) 0%,
      transparent 40%
    );
  z-index: -1;
}
.blog-post-content p {
  margin-bottom: 20px;
}
/* Enhanced List styling for blog posts */
.blog-post-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}
.blog-post-content ul li {
  position: relative;
  padding: 10px 0 10px 30px;
  margin-bottom: 8px;
  color: var(--text-primary);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-left: 3px solid rgba(230, 126, 34, 0.3);
  padding-left: 20px;
  margin-left: 5px;
  background: rgba(230, 126, 34, 0.03);
  border-radius: 0 8px 8px 0;
}
.blog-post-content ul li:hover {
  transform: translateX(8px);
  border-left-color: var(--orange-accent);
  background: rgba(230, 126, 34, 0.08);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.blog-post-content strong {
  color: var(--orange-accent);
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 10px;
  border-bottom: 2px solid rgba(155, 89, 182, 0.5);
  padding-bottom: 5px;
}
/* Social buttons styling */
div > #social-buttons {
  clear: both;
  margin: 40px 0 20px 0;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 8, 0.5);
  padding: 20px;
  border-radius: 10px;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(230, 126, 34, 0.1);
}
#social-buttons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  float: none;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
#social-buttons a:hover {
  opacity: 1;
  transform: translateY(-5px);
  background: rgba(230, 126, 34, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#social-buttons span {
  margin-left: auto;
  color: var(--text-secondary);
  padding: 8px 15px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(230, 126, 34, 0.5),
    transparent
  );
  border-radius: 8px;
  font-size: 0.9rem;
  float: none;
  border: 1px solid rgba(155, 89, 182, 0.2);
}
hr#comment {
  clear: both;
  width: 100%;
  height: 2px;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(230, 126, 34, 0.5),
    transparent
  );
  margin: 30px 0;
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
}
/* Footer */
footer {
  background-color: var(--darker-bg);
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(
      circle at 80% 20%,
      rgba(230, 126, 34, 0.12) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(155, 89, 182, 0.12) 0%,
      transparent 45%
    ),
    url("data:image/svg+xml,%3Csvg width='32' height='64' viewBox='0 0 32 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 28h20V16h-4v8H4V4h28v28h-4V8H8v12h4v-8h12v20H0v-4zm12 8h20v4H16v24H0v-4h12V36zm16 12h-4v12h8v-8h-4v-4z' fill='%23e67e22' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}
footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-mix);
  z-index: 0;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.5);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.footer-logo img {
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(230, 126, 34, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-logo:hover img {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(230, 126, 34, 0.3);
}
.footer-about p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 10px;
  border-left: 3px solid rgba(230, 126, 34, 0.3);
}
.footer-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-mix);
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(230, 126, 34, 0.2);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 18px;
  display: flex;
  align-items: center;
}
.footer-links a::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange-accent);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--orange-accent);
  padding-left: 25px;
}
.footer-links a:hover::before {
  transform: scale(1.5);
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.social-link:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.social-link:focus {
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.5);
}
.social-link:nth-child(1):hover {
  background: var(--discord-color);
  color: white;
  border-color: var(--discord-light);
}
.social-link:nth-child(2):hover {
  background: #ff0000;
  color: white;
  border-color: #ff5555;
}
.social-link:nth-child(3):hover {
  background: var(--purple-accent);
  color: white;
  border-color: var(--purple-light);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 1;
}
.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
/* Floating particles effect for sections */
.cta-section .container::before,
.features-section .container::before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 1;
  pointer-events: none;
}
.cta-section .container::before {
  background: radial-gradient(
        circle at 20% 80%,
        var(--orange-accent) 0%,
        var(--orange-accent) 0.2%,
        transparent 0.4%
      )
      10% 10% / 140px 140px,
    radial-gradient(
        circle at 80% 40%,
        var(--purple-accent) 0%,
        var(--purple-accent) 0.2%,
        transparent 0.4%
      )
      20% 20% / 160px 160px,
    radial-gradient(
        circle at 40% 60%,
        var(--orange-light) 0%,
        var(--orange-light) 0.1%,
        transparent 0.3%
      )
      30% 30% / 120px 120px,
    radial-gradient(
        circle at 60% 20%,
        var(--purple-light) 0%,
        var(--purple-light) 0.1%,
        transparent 0.3%
      )
      40% 40% / 100px 100px;
  animation: float-particle 10s infinite ease-out;
}
.features-section .container::before {
  background: radial-gradient(
        circle at 70% 30%,
        var(--orange-accent) 0%,
        var(--orange-accent) 0.2%,
        transparent 0.4%
      )
      30% 30% / 120px 120px,
    radial-gradient(
        circle at 30% 70%,
        var(--purple-accent) 0%,
        var(--purple-accent) 0.2%,
        transparent 0.4%
      )
      40% 40% / 180px 180px,
    radial-gradient(
        circle at 50% 50%,
        var(--orange-light) 0%,
        var(--orange-light) 0.1%,
        transparent 0.3%
      )
      50% 50% / 100px 100px,
    radial-gradient(
        circle at 20% 30%,
        var(--purple-light) 0%,
        var(--purple-light) 0.1%,
        transparent 0.3%
      )
      60% 60% / 160px 160px;
  animation: float-particle 12s infinite ease-out;
}
/* Media Queries */
@media (max-width: 1200px) {
  .cta-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .guide-container {
    grid-template-columns: 1fr;
  }
  .video-container {
    margin-bottom: 20px;
  }
}
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .navbar {
    position: relative;
  }
  .hamburger-menu {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .section-heading h2 {
    font-size: 2.5rem;
  }
  .dev-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .back-to-top {
    left: unset;
    right: 30px;
  }
  .guide-announcement h3 {
    font-size: 1.5rem;
  }
  .guide-content {
    padding: 25px;
  }
}
@media (max-width: 768px) {
  .cta-cards {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .section-heading h2 {
    font-size: 2.2rem;
  }
  .header-cta {
    display: none;
  }
  .logo-text {
    font-size: 1.5rem;
  }
  .logo img {
    height: 50px;
  }
  .dev-team-grid {
    grid-template-columns: 1fr;
  }
  .dev-team h2 {
    font-size: 2.2rem;
  }
  .hero-video-container {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
      url("https://images.staticjw.com/pum/5961/pumpkin-td-loadingscreen.jpg")
        no-repeat center center/cover !important;
  }
  .video-overlay {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .blog-hero-content h1 {
    font-size: 2.5rem;
  }
  .blog-post h3 {
    font-size: 1.5rem;
  }
  .blog-post-content {
    padding: 20px;
  }
  #social-buttons {
    flex-wrap: wrap;
  }
  #social-buttons span {
    margin-top: 10px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .contest-banner {
    height: 120px;
  }
  .timer-label {
    font-size: 1rem;
  }
  #contest-countdown {
    font-size: 1.6rem;
  }
  .contest-card {
    padding: 30px;
  }
  .contest-card h3 {
    font-size: 1.6rem;
  }
  .prize-item {
    flex-direction: column;
    gap: 15px;
  }
  .prize-rank {
    width: 100%;
    margin-right: 0;
  }
  .hero-buttons {
    justify-content: center;
  }
  .btn-primary,
  .btn-watch-hero,
  .btn-contest-hero {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .guide-credits {
    flex-direction: column;
    gap: 15px;
  }
  .contest-banner {
    height: 120px;
  }

  .timer-label {
    font-size: 1rem;
  }

  #contest-countdown {
    font-size: 1.6rem;
  }

  .contest-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contest-card {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
  }

  .contest-card h3 {
    font-size: 1.6rem;
  }

  .prize-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .prize-rank {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-right: 0;
  }

  .prize-details {
    width: 100%;
  }

  .btn-contest-hero {
    white-space: normal;
    text-align: left;
    padding-right: 3.5rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }
  .blog-post {
    padding: 20px;
  }
  .footer-content {
    gap: 30px;
  }
}

/* Section dividers that don't interfere with backgrounds */
.hero::after,
.contest-section::after,
.guide-section::after,
.cta-section::after,
.features-section::after,
.dev-team::after,
.blog-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(230, 126, 34, 0.4) 20%,
    rgba(155, 89, 182, 0.4) 50%,
    rgba(230, 126, 34, 0.4) 80%,
    transparent 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Ensure section backgrounds stay visible */
.contest-section::before,
.guide-section::before,
.cta-section::before,
.features-section::before,
.dev-team::before {
  z-index: 0; /* Keep low z-index to not interfere with content */
}

/* Add top border for sections */
.contest-section,
.guide-section,
.cta-section,
.features-section,
.dev-team {
  border-top: 3px solid rgba(230, 126, 34, 0.2);
}