@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  /* Sonnenschein Color Palette */
  --bg-deep: #0a0a12;
  --bg-card: rgba(15, 15, 25, 0.8);
  --accent-sun: #fdb813;
  --accent-glow: #007bff;
  /* Original blue glow from portal */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);

  /* Neon Effects */
  --neon-blue: 0 0 15px rgba(0, 123, 255, 0.6);
  --neon-yellow: 0 0 15px rgba(253, 184, 19, 0.6);
  --header-glow: 0 5px 25px rgba(0, 123, 255, 0.4);

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  /* Subtle side glows like the portal */
  box-shadow: inset 0 0 100px rgba(0, 123, 255, 0.1);
}

/* Glassmorphism Sonnenschein Style */
.glass {
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.neon-text-blue {
  text-shadow: 0 0 10px rgba(0, 123, 255, 0.8);
}

.neon-text-yellow {
  color: var(--accent-sun);
  text-shadow: 0 0 10px rgba(253, 184, 19, 0.8);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 2px solid var(--accent-glow);
  box-shadow: var(--header-glow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-sun);
  text-shadow: var(--neon-yellow);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 120px 1rem 0;
  /* Added 120px top padding to shift content down */
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--accent-sun);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--neon-yellow);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(253, 184, 19, 0.8);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent-glow);
  box-shadow: var(--neon-blue);
  margin-left: 1.5rem;
}

.btn-outline:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.8);
}

/* Sections */
section {
  padding: 120px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 5rem;
}

.section-head h2 {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--accent-sun);
  box-shadow: var(--neon-yellow);
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  position: relative;
  transition: var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  border-color: var(--accent-sun);
  transform: translateY(-10px);
  box-shadow: 0 10px 40px -10px rgba(253, 184, 19, 0.2);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-sun);
}

.card ul {
  list-style: none;
  margin-top: 2rem;
}

.card li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card li::before {
  content: '⚡';
  color: var(--accent-sun);
}

.card .price {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
}

/* Player UI Component */
.player-container {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(253, 184, 19, 0.1));
  border: 2px solid var(--accent-glow);
  border-radius: 30px;
  padding: 2.5rem;
  margin-top: 4rem;
  box-shadow: var(--neon-blue);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--accent-sun);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--neon-yellow);
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(253, 184, 19, 0.9);
}

.waveform {
  flex-grow: 1;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bar {
  flex-grow: 1;
  background: var(--accent-glow);
  border-radius: 4px;
  animation: dance 1s ease-in-out infinite alternate;
}

@keyframes dance {
  from {
    height: 10px;
  }

  to {
    height: 50px;
  }
}

/* Footer */
footer {
  padding: 6rem 0 3rem;
  background: #05050a;
  border-top: 3px solid var(--accent-glow);
  text-align: center;
}

.footer-links {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 0.8rem;
  }

  .hero {
    align-items: flex-start;
    text-align: left;
    padding: 120px 0 0;
  }

  .hero h1 {
    font-size: 2.2rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .nav-links {
    display: none;
  }

  .player-container {
    flex-direction: column;
    padding: 1.2rem;
    align-items: flex-start;
    width: 100%;
  }

  .btn,
  .btn-outline {
    padding: 0.8rem 1.5rem;
    justify-content: flex-start;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .section-head {
    text-align: left;
    margin-bottom: 3rem;
  }

  .section-head h2::after {
    left: 0;
    width: 60px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }

  .card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 1.4rem;
  }

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