/* Base Styles */
:root {
  /* Color Variables */
  --primary: #7e3ff2;
  --primary-dark: #5a1fd9;
  --primary-light: #9c6ff5;
  --secondary: #2c2a4a;
  --accent: #ffcc33;
  --accent-dark: #e6b72e;
  --text-light: #f5f5f7;
  --text-dark: #2c2a4a;
  --bg-dark: #1a1735;
  --bg-light: #f5f5f7;
  --success: #34d399;
  --warning: #fbbf24;
  --error: #ef4444;
  
  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--secondary);
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2.5rem;
  position: relative;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn i {
  margin-left: var(--spacing-sm);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.4s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(126, 63, 242, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(126, 63, 242, 0.4);
  color: #FFCD35;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(126, 63, 242, 0.1);
  transform: translateY(-3px);
  color: #FFCD35;
}

.btn-play {
  background: var(--accent);
  color: var(--secondary);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(255, 204, 51, 0.3);
}

.btn-play:hover {
  background: var(--accent-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 204, 51, 0.4);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Header & Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 23, 53, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  transition: all 0.3s ease;
}

.logo i {
  margin-right: var(--spacing-sm);
  font-size: 1.5rem;
}

.logo a:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 204, 51, 0.5);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::before, 
.nav-link.active::before {
  width: 80%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.cta {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.2rem;
  margin-left: var(--spacing-md);
  box-shadow: 0 4px 10px rgba(126, 63, 242, 0.3);
}

.nav-link.cta:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(126, 63, 242, 0.4);
}

.nav-link.cta::before {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: var(--radius-full);
}

/* Section Styles */
section {
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-header h2 {
  display: inline-block;
  position: relative;
  padding-bottom: var(--spacing-md);
}

.magic-underline {
  position: relative;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
}


.button5{
  transition: all 0.3s ease;
}
.card:hover .button5{
  transform: translateY(-20px);
  text-align: center;
}

.magic-underline::before,
.magic-underline::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  animation: sparkle 3s infinite alternate;
}

.magic-underline::before {
  left: 20%;
  animation-delay: 0.5s;
}

.magic-underline::after {
  right: 20%;
  animation-delay: 1s;
}

@keyframes sparkle {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: var(--spacing-lg);
}

.footer-logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--spacing-sm);
}

.footer-logo p {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  flex: 2;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-md);
}

.footer-column h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-column ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-column ul li a {
  color: var(--text-light);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--accent);
  opacity: 1;
  padding-left: var(--spacing-sm);
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(126, 63, 242, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-dark);
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: var(--spacing-sm) 0;
  }
  
  .nav-link.cta {
    margin: var(--spacing-md) 0 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
}