body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  background-color: #e9ecef;
}

:root {
  --bg: #f6f6f6;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #e11d48;
  --accent-dark: #be123c;
  --brand: #111111;
}

.theme-dark {
  --bg: #0b0f1a;
  --card: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #f472b6;
  --accent-dark: #ec4899;
  --brand: #e5e7eb;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "nav"
    "main"
    "sidebar"
    "footer";
  gap: 0;
}

header {
  grid-area: header;
  background: radial-gradient(1200px 600px at 70% 10%, #111827 0%, #0b0f1a 60%, #06080e 100%);
  color: white;
  text-align: center;
  padding: 60px 20px 40px;
}

header .logo {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--accent);
}

header h1 {
  font-size: 2.5rem;
  margin: 10px 0;
  letter-spacing: 0.5px;
}

header p {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-top: 10px;
}

.main-nav {
  grid-area: nav;
  background-color: #1f2937;
  padding: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 15px 25px;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  background-color: var(--accent);
  color: white;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-content {
  grid-area: main;
  padding: 40px 20px;
  background: var(--card);
}

.vue-container {
  max-width: 900px;
  margin: 0 auto;
}

.vue-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--brand);
}

.drop-card-vue {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: 30px 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.drop-card-vue:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
  color: white;
  min-height: 400px;
  position: relative;
}

.card-content h3 {
  font-size: 1.8rem;
  margin: 0;
  line-height: 1.3;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  transform: translateY(-50%);
}

.card-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  transform: translateY(-50%);
}

.card-image {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.btn-nav {
  background: linear-gradient(135deg, var(--brand) 0%, #222 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn-nav:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.btn-nav:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.item-counter {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--brand);
  padding: 0 10px;
}

.main-sidebar {
  grid-area: sidebar;
  background: #f9fafb;
  padding: 40px 30px;
  border-top: 3px solid var(--accent);
}

.theme-dark .main-sidebar {
  background: #1f2937;
}

.main-sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--brand);
}

.main-sidebar dl {
  margin: 0;
}

.main-sidebar dt {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 1.05rem;
}

.main-sidebar dd {
  margin-left: 0;
  margin-bottom: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  grid-area: footer;
  background: #0b0f1a;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
}

.footer p {
  margin: 5px 0;
}

@media (min-width: 768px) {
  .wrapper {
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "header header"
      "nav nav"
      "main sidebar"
      "footer footer";
  }
}

@media (max-width: 767px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .drop-card-vue {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .card-content {
    padding: 30px 20px;
    min-height: 300px;
  }

  .card-content h3 {
    font-size: 1.5rem;
    left: 20px;
    right: 20px;
  }

  .card-content p {
    left: 20px;
    right: 20px;
  }

  .card-image {
    min-height: 250px;
  }

  .navigation-buttons {
    gap: 10px;
  }

  .btn-nav {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .main-sidebar {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 40px 15px 30px;
  }

  header .logo {
    font-size: 1.5rem;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .main-nav a {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .vue-container h2 {
    font-size: 1.6rem;
  }

  .card-content h3 {
    font-size: 1.3rem;
    left: 20px;
    right: 20px;
  }

  .card-content p {
    font-size: 0.95rem;
    left: 20px;
    right: 20px;
  }
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.25s ease;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}


.progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto 10px;
}
.theme-dark .progress {
  background: #1f2937;
}
.progress .bar {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.3s ease;
}


.theme-toggle {
  margin-top: 18px;
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.08);
}




