:root {
  --primary-color: #0078d4;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-color: #ffffff;
  --gradient-start: #0078d4;
  --gradient-end: #00bcf2;
  --card-bg: rgba(255, 255, 255, 0.03);
}

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

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.gradient-sphere {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    var(--gradient-start) 0%,
    transparent 70%
  );
  filter: blur(100px);
  opacity: 0.15;
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.gradient-sphere.secondary {
  background: radial-gradient(circle, var(--gradient-end) 0%, transparent 70%);
  top: 50%;
  left: -200px;
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-50px, 50px);
  }
}

.glass-nav {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-shadow: 0 0 10px rgba(0, 120, 212, 0.3);
}

.nav-link {
  color: var(--text-color) !important;
  text-decoration: none;
  margin-left: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link:hover::after {
  width: 100%;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
}

.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .glass-panel {
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.typewriter {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--primary-color);
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  text-shadow: 0 0 20px rgba(0, 120, 212, 0.3);
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Enhanced feature cards */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card i {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.step-number::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--gradient-end));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.step:hover .step-number::before {
  opacity: 0.8;
}

.step h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.step p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Enhanced download cards */
.download-card {
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 2rem 1.5rem !important;
  border-radius: 20px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.download-card:hover::before {
  opacity: 1;
}

.download-card i {
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem !important;
  position: relative;
  z-index: 2;
}

.download-card h3 {
  color: var(--text-color) !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
  position: relative;
  z-index: 2;
}

.download-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0.5rem !important;
  position: relative;
  z-index: 2;
  font-size: 0.95rem !important;
}

.download-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.85rem !important;
  margin-bottom: 1.5rem !important;
}

.download-card .btn {
  width: 100% !important;
  max-width: 160px !important;
  margin: 0 auto !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500 !important;
  position: relative;
  z-index: 2;
  display: inline-block !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.glass-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

/* Bootstrap overrides */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4);
  color: white;
  text-decoration: none;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107, #ffca2c);
  border: none;
  color: #212529;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  color: #212529;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .typewriter {
    font-size: 2rem;
    white-space: normal;
    border-right: none;
    animation: none;
  }

  .glass-panel {
    padding: 1.5rem;
  }

  .navbar-toggler {
    border: 1px solid var(--glass-border);
    color: var(--text-color);
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .typewriter {
    font-size: 1.8rem;
  }

  .gradient-sphere {
    width: 400px;
    height: 400px;
  }

  .gradient-sphere.secondary {
    width: 300px;
    height: 300px;
  }
}

/* Base responsive styles */
html {
  font-size: 16px;
}

/* Tablet and smaller desktop screens */
@media (max-width: 1024px) {
  .hero .glass-panel {
    max-width: 90%;
  }

  .typewriter {
    font-size: 2.8rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 0;
    padding: 0.5rem 0;
  }

  .typewriter {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-outline-light,
  .btn-warning {
    width: 100%;
    margin: 0.5rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .glass-panel {
    margin: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .typewriter {
    font-size: 1.8rem;
  }

  .gradient-sphere {
    width: 400px;
    height: 400px;
  }

  .gradient-sphere.secondary {
    width: 300px;
    height: 300px;
  }

  .glass-panel {
    padding: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

/* Add hamburger menu button styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
  button,
  a,
  input,
  select {
    min-height: 44px;
  }
}

/* Adjust spacing for better mobile readability */
@media (max-width: 768px) {
  .features,
  .installation,
  .addons,
  .download {
    padding: 2rem 1rem;
  }

  .step,
  .addon-card,
  .download-card {
    margin-bottom: 1rem;
  }
}

/* Animation utilities */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline-light,
.btn-warning {
  min-width: 200px;
  justify-content: center;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-outline-light,
  .btn-warning {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Enhanced requirement cards */
.requirement-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.requirement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.requirement-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1);
}

.requirement-card:hover::before {
  opacity: 1;
}

.requirement-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.requirement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.requirement-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 2rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.requirement-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.requirement-list li:last-child {
  border-bottom: none;
}

.requirement-list li:hover {
  color: var(--text-color);
}

/* Content Switching System */
.content-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.content-section.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

/* Enhanced glass panel for content switching */
#content-area {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  position: relative;
  padding: 2.5rem 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dynamic width for different sections */
#content-area.home-active {
  max-width: 1200px !important;
  width: 90% !important;
  padding: 2.5rem 3rem !important;
}

#content-area.features-active {
  max-width: 2000px !important;
  width: 98% !important;
  padding: 2.5rem 4rem !important;
}

#content-area.requirements-active {
  max-width: 1400px !important;
  width: 95% !important;
  padding: 2.5rem 3rem !important;
}

#content-area.installation-active {
  max-width: 1600px !important;
  width: 96% !important;
  padding: 2.5rem 3.5rem !important;
}

#content-area.download-active {
  max-width: 1800px !important;
  width: 97% !important;
  padding: 2.5rem 4rem !important;
}

#content-area.wallpapers-active {
  max-width: 1800px !important;
  width: 97% !important;
  padding: 2.5rem 4rem !important;
}

/* Content sections within glass panel */
#content-area .content-section {
  position: relative;
  z-index: 2;
}

/* Adjust hero content for horizontal layout */
#home-content {
  padding: 1rem 0;
}

#home-content .typewriter {
  font-size: 3rem;
  margin-bottom: 1rem;
}

#home-content .subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Adjust features layout for horizontal space */
#features-content .row {
  margin: 0 -0.5rem;
}

#features-content .col-lg-2.col-md-4.col-6 {
  padding: 0 0.5rem;
}

#features-content .feature-card {
  padding: 1.5rem 1rem;
  margin-bottom: 0;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#features-content .feature-card i {
  font-size: 2rem !important;
  margin-bottom: 1rem;
  margin-right: 0;
}

#features-content .feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

#features-content .feature-card p {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Adjust requirements layout */
#requirements-content .row {
  margin: 0 -1rem;
}

#requirements-content .col-md-6 {
  padding: 0 1rem;
}

#requirements-content .requirement-card {
  padding: 2rem;
}

/* Adjust installation layout */
#installation-content .row {
  margin: 0 -0.5rem;
}

#installation-content .col-md-3 {
  padding: 0 0.5rem;
}

#installation-content .step {
  padding: 1rem 0;
}

/* Adjust download layout */
#download-content .row {
  margin: 0 -0.5rem;
}

#download-content .col-md-6.col-lg-4 {
  padding: 0 0.5rem;
}

#download-content .download-card {
  padding: 2rem;
}

/* Wallpaper Card Styles */
.wallpaper-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Slideshow Styles */
.wallpaper-slideshow {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.slideshow-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slideshow-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.slide-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.wallpaper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 120, 212, 0.1) 0%,
    rgba(0, 188, 242, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.wallpaper-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 120, 212, 0.2);
  border-color: rgba(0, 120, 212, 0.3);
}

.wallpaper-card:hover::before {
  opacity: 1;
}

.wallpaper-preview {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 188, 242, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.wallpaper-preview:hover {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.2), rgba(0, 188, 242, 0.2));
  transform: scale(1.05);
}

.wallpaper-preview i {
  color: var(--primary-color);
  opacity: 0.8;
}

.wallpaper-card h3 {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 120, 212, 0.3);
}

.wallpaper-card p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.wallpaper-card .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.wallpaper-card .btn {
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Wallpapers content layout */
#wallpapers-content .row {
  margin: 0 -0.5rem;
}

#wallpapers-content .col-lg-6.col-md-10 {
  padding: 0 0.5rem;
  margin-bottom: 1rem;
}

#wallpapers-content .wallpaper-card {
  padding: 1.5rem;
  min-height: 280px;
}

/* Responsive adjustments for wallpaper cards */
@media (max-width: 768px) {
  #wallpapers-content .col-lg-6.col-md-10 {
    margin-bottom: 2rem;
  }
  
  #wallpapers-content .wallpaper-card {
    padding: 1rem;
  }
  
  .wallpaper-slideshow {
    max-width: 100%;
  }
  
  .slideshow-container {
    height: 300px;
  }
}

/* Smooth transitions for all interactive elements */
.nav-link, .btn {
  transition: all 0.3s ease;
}

.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* Enhanced animations for content cards */
.feature-card, .requirement-card, .download-card, .step, .wallpaper-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.active .feature-card,
.content-section.active .requirement-card,
.content-section.active .download-card,
.content-section.active .step,
.content-section.active .wallpaper-card {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for cards */
.content-section.active .feature-card:nth-child(1) { transition-delay: 0.1s; }
.content-section.active .feature-card:nth-child(2) { transition-delay: 0.2s; }
.content-section.active .feature-card:nth-child(3) { transition-delay: 0.3s; }
.content-section.active .feature-card:nth-child(4) { transition-delay: 0.4s; }
.content-section.active .feature-card:nth-child(5) { transition-delay: 0.5s; }
.content-section.active .feature-card:nth-child(6) { transition-delay: 0.6s; }

.content-section.active .requirement-card:nth-child(1) { transition-delay: 0.1s; }
.content-section.active .requirement-card:nth-child(2) { transition-delay: 0.2s; }

.content-section.active .download-card:nth-child(1) { transition-delay: 0.1s; }
.content-section.active .download-card:nth-child(2) { transition-delay: 0.2s; }
.content-section.active .download-card:nth-child(3) { transition-delay: 0.3s; }

.content-section.active .step:nth-child(1) { transition-delay: 0.1s; }
.content-section.active .step:nth-child(2) { transition-delay: 0.2s; }
.content-section.active .step:nth-child(3) { transition-delay: 0.3s; }
.content-section.active .step:nth-child(4) { transition-delay: 0.4s; }

.content-section.active .wallpaper-card:nth-child(1) { transition-delay: 0.1s; }
.content-section.active .wallpaper-card:nth-child(2) { transition-delay: 0.2s; }
.content-section.active .wallpaper-card:nth-child(3) { transition-delay: 0.3s; }
.content-section.active .wallpaper-card:nth-child(4) { transition-delay: 0.4s; }
.content-section.active .wallpaper-card:nth-child(5) { transition-delay: 0.5s; }
.content-section.active .wallpaper-card:nth-child(6) { transition-delay: 0.6s; }

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 120, 212, 0.2);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  /* 16:9 aspect ratio */
  aspect-ratio: 16 / 9;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 120, 212, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Responsive video container */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%;
    margin: 0 auto 2rem auto;
  }
}

@media (max-width: 480px) {
  .video-container {
    max-width: 100%;
  }
}
