/* ---------------------- */
/* RESET + BASE           */
/* ---------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, sans-serif;
  background: #0F172A;
  color: #E2E8F0;
  overflow-x: hidden;
}

/* ---------------------- */
/* TOPBAR                 */
/* ---------------------- */
.topbar {
  padding: 1rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0B0F19;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo {
  font-weight: 800;
  font-size: 1.3rem;
}
.logo span {
  color: #4ADE80;
}
.nav {
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
}
.cart-badge {
  border: 1px solid rgba(255,255,255,0.1);
  padding: .4rem .9rem;
  border-radius: 999px;
}

/* ---------------------- */
/* HERO                   */
/* ---------------------- */
.hero {
  background: #0B0F19;
  padding-top: 4rem;
  position: relative;
}
.hero-inner {
  max-width: 1200px;
  padding: 3rem 5vw;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.4rem;
  color: #94A3B8;
}

/* Buttons */
.btn {
  padding: .6rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-size: .95rem;
  transition: 0.2s;
}
.btn.primary {
  background: #4ADE80;
  color: #0B0F19;
  font-weight: 600;
}
.btn.secondary {
  border: 1px solid #64748B;
  color: #E2E8F0;
}
.btn:hover {
  transform: translateY(-2px);
}

/* ---------------------- */
/* 3D DINO KÁRTYA         */
/* ---------------------- */
.hero-image {
  display: flex;
  justify-content: center;
}
.hero-3d {
  width: 340px;
  padding: 1rem;
  border-radius: 1.5rem;
  background: #0F172A;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}
.hero-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  filter: blur(26px);
  background: rgba(74,222,128,0.3);
  transform: translateZ(-30px);
}
.hero-3d img {
  width: 100%;
  transform: translateZ(35px);
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* ---------------------- */
/* WAVE SEPARATOR         */
/* ---------------------- */
.wave-separator svg {
  display: block;
  width: 100%;
}

/* ---------------------- */
/* PRODUCTS SECTION       */
/* ---------------------- */
.products-section {
  background: #0F172A;
  padding: 4rem 5vw;
}
.products-section h2 {
  font-size: 1.8rem;
  margin-bottom: .4rem;
}
.section-subtitle {
  color: #94A3B8;
  margin-bottom: 2rem;
}
.products-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Product Card */
.product-card {
  background: #0B0F19;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74,222,128,0.5);
}
.product-image {
  background: #020817;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
}
.product-image img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}
.product-body h3 {
  margin-top: 1rem;
}
.product-body p {
  font-size: .9rem;
  color: #94A3B8;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  margin-top: .8rem;
}
.price {
  font-weight: 600;
}
.add-to-cart {
  background: #1E293B;
  color: white;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
}

/* ---------------------- */
/* FOOTER                 */
/* ---------------------- */
.footer {
  text-align: center;
  padding: 2rem;
  color: #64748B;
}
