/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fffdf5;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fffbe3;
  box-shadow: 0 2px 10px rgba(255, 230, 0, 0.2);
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
  color: #fcd000; /* neon yellow */
}

.logo img {
  height: 50px;
  width: 50px;
  margin-right: 12px;
}

.logo {
  flex-shrink: 0;
}

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

nav a {
  color: #333;
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffeb3b;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fffef0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffeb3b;
}

/* Player Card */
.feature-showcase {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4rem 2rem;
  flex-wrap: wrap;
  background: #fffef4;
}

.feature-left {
  flex: 1;
  min-width: 300px;
}

.feature-left h1 {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 1rem;
}

.feature-left h1 span {
  color: #facc15;
}

.feature-left p {
  font-size: 1rem;
  color: #444;
  max-width: 500px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: #fffdee;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-icon {
  width: 32px;
  height: 32px;
}
.feature-box h3 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  color: #111;
}
.feature-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.buttons {
  margin-top: 1.5rem; /* Increase this value as needed */
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.add-btn,
.cmd-btn {
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.add-btn {
  background: #facc15;
  color: #000;
}

.cmd-btn {
  background: #111;
  color: #fff;
}

.feature-right {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
}

.music-card {
  background: #fff9d5;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
  max-width: 380px;
  width: 100%;
}

.music-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.music-card .label {
  font-weight: bold;
  font-size: 1rem;
}

.music-card .subtext {
  font-size: 0.85rem;
  color: #666;
}

.music-card .icon {
  font-size: 1.8rem;
  color: #facc15;
}

.track {
  margin-top: 1rem;
}

.track .title {
  font-weight: bold;
  font-size: 1.1rem;
}

.track .artist {
  color: #666;
  margin-bottom: 0.5rem;
}

.progress {
  margin-top: 0.5rem;
}

.bar {
  background: #eee;
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: #facc15;
  transition: width 0.3s;
}

.time {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 0.2rem;
  color: #777;
}

.quick-commands {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.cmd {
  background: #fef08a;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-family: monospace;
  font-weight: bold;
  color: #000;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.music-card {
  animation: float 4s ease-in-out infinite;
}

/* Features Section */
.features {
  background-color: #fffef5;
  padding: 4rem 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(255, 235, 59, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  background-color: #fffde7;
  color: #fdd835;
  font-size: 1.4rem;
  display: inline-block;
  padding: 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Command Showcase - New Layout */
.commands-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #fdfae1;
}

.command-preview {
  flex: 1;
}

.command-preview h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.command-preview p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.command-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.command-icon {
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
  color: #333;
}

.command-info {
  color: #333;
}

.command-info strong {
  font-weight: bold;
  color: #000;
  display: block;
  margin-bottom: 0.2rem;
}

.command-info small {
  color: #555;
  font-size: 0.9rem;
}

/* Queue Preview */
.queue {
  flex: 1;
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.queue h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.queue-list {
  list-style: none;
  padding: 0;
}

.queue-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.song-icon {
  width: 36px;
  height: 36px;
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-right: 1rem;
}

.song-details {
  flex: 1;
}

.song-title {
  font-weight: bold;
  color: #222;
}

.song-meta {
  font-size: 0.85rem;
  color: #888;
}

.song-status {
  font-size: 0.85rem;
  color: #999;
  text-align: right;
}

/* Footer */
.footer {
  background-color: #f5fdf7;
  padding: 2rem;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-column ul li {
  margin: 0.5rem 0;
}

.footer-column ul li a {
  color: #4b5563;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.logo-text {
  font-weight: 700;
  font-size: 1.3rem;
  color: #111827;
}

.social-icons a {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  color: #111827;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.heart {
  color: red;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fffbe3;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  nav.show {
    display: flex;
  }

  nav a {
    margin: 0.5rem 0;
    color: #333;
  }
}

/* Desktop Layout Adjustments */
@media (min-width: 768px) {
  .player-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    max-width: 800px;
    padding: 2rem;
  }

  .player-header,
  .track-box,
  .progress-bar,
  .time-labels,
  .command-list {
    flex: 1 1 50%;
  }

  .command-list {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .feature-showcase {
    flex-direction: column;
    gap: 2rem;
  }

  .feature-left,
  .feature-right {
    width: 100%;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .add-btn,
  .cmd-btn {
    width: 100%;
    text-align: center;
  }

  .music-card {
    margin-top: 1rem;
  }
}
