:root {
  --bg: #0b0f14;
  --panel: #121820;
  --panel-hover: #18202b;
  --border: #1f2937;
  --accent: #3ba4ff;
  --text: #f8fafc;
  --muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Clean, crisp background */
.bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.85) 0%, rgba(11, 15, 20, 0.95) 100%),
              url('assets/background.png') center/cover;
  z-index: -1;
  pointer-events: none;
}

/* Minimalist Nav */
nav {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  background: rgba(11, 15, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}

nav img {
  height: 75px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

nav img:hover {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 8px 25px rgba(59, 164, 255, 0.7));
}

.nav-links {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.3s ease;
  z-index: 1;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links a.active {
  color: var(--text);
  background: var(--accent);
  box-shadow: 0 4px 15px rgba(59, 164, 255, 0.3);
}

/* Sharp Hero Section */
.hero {
  flex: 1;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center !important;
  text-align: center;
  padding: 160px 20px 80px;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating {
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-delay {
  animation: floatAnim 4s ease-in-out infinite 1.5s;
}

.floating-delay2 {
  animation: floatAnim 4s ease-in-out infinite 3s;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  position: static;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  max-width: 650px;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
  position: static;
  margin-left: auto;
  margin-right: auto;
}

/* Modern Button */
.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 36px;
  background: #3ba4ff;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1;
  position: static;
  margin-left: auto;
  margin-right: auto;
}

/* Perfect icon alignment */
.discord-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-bottom: 2px;
}

.discord-btn:hover {
  background: #5bb5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 164, 255, 0.4);
}

/* Lore Section - Clean Panel */
.lore {
  padding: 60px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lore h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.lore-text {
  max-width: 800px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 50px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lore-text:hover {
  background: var(--panel-hover);
  border-color: #334155;
}

/* Structured Footer */
.footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8%;
  background: rgba(11, 15, 20, 0.95);
  border-top: 1px solid var(--border);
}

.footer-left {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-right.icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-right.icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--accent);
  transition: all 0.2s ease;
}

.footer-right.icons a svg {
  width: 22px; 
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  display: block;
}

.footer-right.icons a:hover {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 164, 255, 0.3);
}

/* Subtler fade-in */
.floating {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.floating-delay {
  animation: fadeIn 0.8s ease-out 0.15s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.floating-delay2 {
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  transform: translateY(20px);
}

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

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    height: auto;
    gap: 15px;
  }
  .nav-links {
    gap: 20px;
    position: static;
    transform: none;
  }
  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .lore-text {
    padding: 30px 20px;
  }
}

/* Dropdown Menu styling */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--panel);
  min-width: 200px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  z-index: 100;
  padding: 8px;
  margin-top: 4px;
}

.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
}

.dropdown-content a {
  color: var(--text) !important;
  padding: 12px 16px !important;
  text-decoration: none !important;
  display: block;
  text-align: center;
  border-radius: 8px !important;
  margin: 4px 0;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none !important;
}

.dropdown-content a::before {
  display: none !important;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--accent) !important;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.nav-links span.arrow {
  font-size: 0.8em;
  margin-left: 4px;
}

/* =========================================================================
   BOUTIQUE STYLES
   ========================================================================= */

.boutique {
  flex: 1;
  padding: 120px 20px 60px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.boutique h2 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 50px;
  text-align: center;
}

.store-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.store-card {
  background: rgba(20, 25, 35, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  width: 320px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-color: rgba(59, 164, 255, 0.3);
}

.card-img-box {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0,0,0,0.2));
  border: 1px solid rgba(255,255,255,0.02);
}

.card-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.store-card:hover .card-img-box img {
  transform: scale(1.08);
}

.card-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #3ba4ff;
  margin-bottom: 24px;
}

.card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.btn-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-info:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.btn-buy {
  background: #3ba4ff;
  color: white;
  border: none;
  height: 44px;
  flex: 1;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-buy:hover {
  background: #5bb5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 164, 255, 0.4);
}

.card-info-box {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  animation: slideDown 0.3s ease forwards;
}

.card-info-box h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-info-box p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Premium card specific styling */
.store-card.premium .card-price {
  color: #f1c40f;
}

.store-card.premium:hover {
  border-color: rgba(241, 196, 15, 0.3);
}

.store-card.premium .btn-buy {
  background: #f1c40f;
  color: #000;
}

.store-card.premium .btn-buy:hover {
  background: #fdf0a6;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
