/* reset.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0f;
  color: #f0f0f5;
  font-family: 'Space Grotesk', sans-serif;
  scroll-behavior: smooth;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
}

h1, h2, .logo, .section-title, .price, .cart-header h2, .feature-item h4, .footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-badge, .filter-btn, .buy-btn, .album-fact, .artist, .nav-links a, .btn-outline, .btn-primary, .checkout-btn, .detail-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

/* Фоновые эффекты */
.lava-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow-x: hidden;
overflow-y: auto;
  background: radial-gradient(ellipse at 30% 40%, #120c24, #03010a);
}

.lava-blob {
  position: absolute;
  border-radius: 60% 40% 50% 50% / 45% 50% 50% 55%;
  filter: blur(60px);
  opacity: 0.55;
  animation: lavaMove 18s infinite alternate ease-in-out;
  mix-blend-mode: screen;
}
.blob1 { width: 55vw; height: 55vw; background: radial-gradient(circle, #c77dff, #9b4dca, #5a2a8a); top: -20%; left: -20%; animation-duration: 22s; }
.blob2 { width: 45vw; height: 45vw; background: radial-gradient(circle, #ff66b5, #ff3388, #b81c6e); bottom: -15%; right: -15%; animation-duration: 25s; animation-delay: -5s; opacity: 0.5; }
.blob3 { width: 40vw; height: 40vw; background: radial-gradient(circle, #ffcc44, #ff9900, #cc5500); top: 40%; left: 50%; animation-duration: 28s; animation-delay: -10s; opacity: 0.4; }
.blob4 { width: 50vw; height: 50vw; background: radial-gradient(circle, #44ddff, #2288ff, #0033aa); bottom: 10%; left: 20%; animation-duration: 20s; animation-delay: -3s; opacity: 0.35; }

@keyframes lavaMove {
  0% { border-radius: 60% 40% 50% 50% / 45% 50% 50% 55%; transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%; transform: translate(5%, -5%) rotate(5deg) scale(1.05); }
  66% { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; transform: translate(-3%, 6%) rotate(-3deg) scale(0.98); }
  100% { border-radius: 60% 40% 50% 50% / 45% 50% 50% 55%; transform: translate(2%, 2%) rotate(2deg) scale(1.02); }
}

.bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255,220,150,0.5), rgba(199,125,255,0.2));
  border-radius: 50%;
  backdrop-filter: blur(3px);
  pointer-events: none;
  animation: bubbleRise 10s infinite ease-in-out;
  box-shadow: 0 0 15px rgba(199,125,255,0.3);
}
@keyframes bubbleRise {
  0% { transform: translateY(100vh) scale(0.3); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-20vh) scale(1.1); opacity: 0; }
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: starTwinkle 3s infinite alternate;
  box-shadow: 0 0 6px rgba(255,255,200,0.8);
}
@keyframes starTwinkle {
  0% { opacity: 0; transform: scale(0.5); background: #ffffff; }
  50% { opacity: 0.9; transform: scale(1.2); background: #ffe4b5; box-shadow: 0 0 12px #ffdd88; }
  100% { opacity: 0.3; transform: scale(0.8); background: #ddccff; }
}

.floating-vinyl-bg {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,125,255,0.08), rgba(100,50,150,0.03));
  border: 1px solid rgba(199,125,255,0.12);
  box-shadow: 0 0 20px rgba(199,125,255,0.1);
  animation: floatVinylBg 25s infinite alternate ease-in-out;
  pointer-events: none;
}
@keyframes floatVinylBg {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(40px, -40px) rotate(20deg); }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 90%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 2px, transparent 2px, transparent 8px);
  background-repeat: repeat;
  pointer-events: none;
  z-index: 3;
  animation: dustShift 25s infinite linear;
  mix-blend-mode: overlay;
}
@keyframes dustShift {
  0% { background-position: 0 0; }
  100% { background-position: 120px 120px; }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1a24; }
::-webkit-scrollbar-thumb { background: #c77dff; border-radius: 8px; }

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(35px); }
  100% { opacity: 1; transform: translateY(0); }
}

section {
  padding: 60px 0;
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
  position: relative;
  z-index: 2;
}
.hero { padding: 90px 0 70px; animation-delay: 0.05s; }
#catalog { animation-delay: 0.15s; }
#journey { animation-delay: 0.2s; padding: 40px 0; }
#features { animation-delay: 0.25s; }

/* Шапка */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(5, 3, 12, 0.4);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(199, 125, 255, 0.08);
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.logo {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, #F5D76E, #d49cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor: pointer;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: #e0dcff; transition: 0.2s; cursor: pointer; position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg, #c77dff, #e2abff);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #d9a7ff; }

.search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(30, 28, 45, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 60px;
  border: 1px solid rgba(199,125,255,0.3);
  padding: 6px 16px;
}
.search-wrapper:focus-within { border-color: #c77dff; box-shadow: 0 0 15px rgba(199,125,255,0.3); }
.search-input {
  background: transparent;
  border: none;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.9rem;
  width: 200px;
  outline: none;
}
.clear-search {
  background: none;
  border: none;
  color: #a99ad9;
  cursor: pointer;
}
.clear-search:hover { color: #c77dff; transform: scale(1.1); }

.header-icons {
  display: flex;
  gap: 24px;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
}
.header-icons i { color: #e0dcff; transition: 0.2s; }
.header-icons i:hover { transform: translateY(-3px); color: #d9a7ff; }

.cart-icon-wrapper { position: relative; }
.cart-count {
  position: absolute;
  top: -10px;
  right: -14px;
  background: #c77dff;
  color: #0a0a0f;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 30px;
  padding: 2px 6px;
  min-width: 20px;
  text-align: center;
}

/* Hero секция */
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.hero-content { flex: 1; min-width: 280px; }
.hero-badge {
  display: inline-block;
  background: rgba(199, 125, 255, 0.25);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 60px;
  font-size: 0.85rem;
  border: 1px solid rgba(199, 125, 255, 0.6);
  margin-bottom: 24px;
  color: #e1c4ff;
  animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(199,125,255,0.3); border-color: rgba(199,125,255,0.6);}
  70% { box-shadow: 0 0 0 8px rgba(199,125,255,0); border-color: #c77dff;}
  100% { box-shadow: 0 0 0 0 rgba(199,125,255,0);}
}
.hero-content h1 {
  font-size: 3.7rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff, #dbb4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}
.hero-content p { font-size: 1.1rem; color: #e0dcff; max-width: 500px; margin-bottom: 36px; }
.btn-group { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  background: #c77dff;
  border: none;
  padding: 14px 34px;
  border-radius: 44px;
  font-weight: 600;
  color: #0a0a0f;
  cursor: pointer;
  transition: 0.2s;
}
.btn-primary:hover { background: #e2abff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid #c77dff;
  padding: 12px 30px;
  border-radius: 44px;
  font-weight: 600;
  color: #f0eaff;
  cursor: pointer;
  transition: 0.2s;
}
.btn-outline:hover { background: rgba(199, 125, 255, 0.2); transform: translateY(-2px); }

.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.vinyl-player { position: relative; width: 320px; height: 320px; animation: floatVinyl 4s ease-in-out infinite; }
@keyframes floatVinyl { 50% { transform: translateY(-12px); } }
.rotating-vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a2a3a, #050508);
  box-shadow: 0 25px 35px rgba(0, 0, 0, 0.6), 0 0 0 5px rgba(199, 125, 255, 0.4);
  animation: spinVinyl 12s linear infinite;
  position: relative;
}
.rotating-vinyl::after {
  content: "VINYL";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  background: linear-gradient(145deg, #c77dff, #9b4dca);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #0a0a0f;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.5), 0 4px 8px rgba(0,0,0,0.3);
}
.vinyl-gloss {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
@keyframes spinVinyl { 100% { transform: rotate(360deg); } }

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  display: inline-block;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #c77dff, #e2abff);
  margin-top: 8px;
}
.section-sub {
  color: #ceceff;
  margin-bottom: 48px;
  border-left: 4px solid #c77dff;
  padding-left: 20px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
  justify-content: center;
}
.filter-btn {
  background: rgba(20, 20, 32, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(199,125,255,0.5);
  padding: 8px 24px;
  border-radius: 40px;
  cursor: pointer;
  color: #f0eaff;
  transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: #c77dff;
  color: #0a0a0f;
  transform: scale(1.02);
}

.vinyl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.vinyl-card {
  background: rgba(15, 12, 28, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(199, 125, 255, 0.15);
  border-radius: 30px;
  overflow-x: hidden;
overflow-y: auto;
  transition: all 0.4s;
  cursor: pointer;
}
.vinyl-card:hover { transform: translateY(-10px); border-color: rgba(199, 125, 255, 0.5); }
.card-cover { height: 320px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.album-cover-img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; transition: transform 0.5s; }
.vinyl-card:hover .album-cover-img { transform: scale(1.03); }
.card-info { padding: 20px 18px; }
.card-info h3 { font-size: 1.35rem; margin-bottom: 6px; color: #ffffff; }
.artist { color: #d4b4ff; font-size: 0.85rem; margin-bottom: 8px; }
.album-fact {
  font-size: 0.88rem;
  color: #eaeaff;
  background: rgba(199, 125, 255, 0.12);
  padding: 10px 14px;
  border-radius: 20px;
  margin: 14px 0 12px;
  border-left: 3px solid #c77dff;
}
.price { font-size: 1.5rem; font-weight: 800; color: #f7d44a; margin: 12px 0; }
.button-group { display: flex; gap: 12px; margin-top: 8px; }
.buy-btn, .detail-btn {
  padding: 12px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}
.buy-btn {
  background: rgba(199, 125, 255, 0.25);
  border: 1px solid rgba(199, 125, 255, 0.4);
  flex: 2;
  color: #f2f0ff;
}
.buy-btn:hover { background: #c77dff; color: #0a0a0f; gap: 12px; }
.detail-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  color: #f2f0ff;
}
.detail-btn:hover { background: rgba(199, 125, 255, 0.4); border-color: #c77dff; }

.features { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 30px; }
.feature-item { flex: 1; text-align: center; background: rgba(16,16,27,0.45); backdrop-filter: blur(12px); padding: 28px 16px; border-radius: 32px; border: 1px solid rgba(199,125,255,0.2); transition: all 0.3s ease; }
.feature-item:hover { transform: translateY(-8px); border-color: #c77dff; }
.feature-item i { font-size: 2.6rem; color: #d49cff; margin-bottom: 20px; }

.footer { border-top: 1px solid rgba(199,125,255,0.08); padding: 48px 0 36px; background: rgba(3,2,8,0.45); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.social i { font-size: 1.5rem; margin-right: 22px; cursor: pointer; transition: 0.2s; }
.social i:hover { color: #c77dff; transform: translateY(-3px); }

@media (max-width: 780px) {
  .hero-content h1 { font-size: 2.4rem; }
  .button-group { flex-direction: column; }
}

/* ===== PREMIUM ADMIN PANEL UPGRADE ===== */

.premium-admin-panel,
.admin-panel,
.dashboard-panel {
    background:
        radial-gradient(circle at top left, rgba(120,119,198,0.20), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #111827 40%, #1e293b 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.45),
        0 0 80px rgba(120,119,198,0.18);
    backdrop-filter: blur(18px);
    overflow-x: hidden;
overflow-y: auto;
    position: relative;
}

.premium-admin-panel::before,
.admin-panel::before,
.dashboard-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.06),
        transparent);
    transform: translateX(-100%);
    animation: premiumSweep 8s infinite linear;
    pointer-events: none;
}

@keyframes premiumSweep {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

.admin-panel button,
.dashboard-panel button {
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    box-shadow: 0 8px 25px rgba(99,102,241,0.35);
    transition: all .35s ease;
}

.admin-panel button:hover,
.dashboard-panel button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 35px rgba(139,92,246,0.45);
}

.admin-panel h1,
.dashboard-panel h1 {
    letter-spacing: 0.04em;
    font-weight: 800;
    text-transform: uppercase;
}


/* ===== ADMIN SCROLL FIX ===== */

html, body {
    min-height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.admin-panel,
.dashboard-panel,
.admin-content,
.admin-wrapper {
    max-height: none !important;
    overflow-y: visible !important;
}
