:root {
  --bg-color: #030303;
  --text-color: #ffffff;
  --font-gothic: 'Cinzel Decorative', serif;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Space Grotesk', sans-serif;
}

* { 
  margin: 0; padding: 0; box-sizing: border-box; 
  cursor: none !important; 
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  overflow: hidden; 
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Nền nhiễu hạt */
body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 25, 0.4) 0%, rgba(3, 3, 3, 0.99) 85%),
              url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: -3; pointer-events: none;
}

/* Hệ thống Chuột */
.cursor-glow {
  position: fixed; top: 0; left: 0; 
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%); z-index: 1;
}

.custom-cursor {
  position: fixed; top: 0; left: 0; 
  width: 12px; height: 12px; 
  background-color: #ffffff; border-radius: 50%; 
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

/* Chữ chạy nền */
.marquee-container {
  position: absolute; width: 100%; overflow: hidden; white-space: nowrap;
  z-index: -1; opacity: 0.05; pointer-events: none;
}
.marquee-container.top { top: 10%; }
.marquee-container.bottom { bottom: 10%; }
.marquee-content {
  display: inline-block; font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 6rem); font-weight: 900; letter-spacing: 2px;
  animation: scroll-left 40s linear infinite;
}
.marquee-content.reverse { animation: scroll-right 40s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Header & Menu */
header {
  position: absolute; top: 0; left: 0; width: 100%;
  padding: 30px 50px; display: flex; justify-content: space-between;
  align-items: center; z-index: 10;
}
.logo { font-family: var(--font-gothic); font-size: 2.2rem; }
.menu-icon { font-size: 1.5rem; color: rgba(255,255,255,0.8); transition: 0.3s; }
.menu-icon:hover { color: #fff; }
nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 15px; background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px);
}
nav a {
  font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7); text-decoration: none;
  padding: 8px 16px; border-radius: 20px; position: relative; transition: 0.3s; z-index: 1;
}
nav a::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-color: #ffffff; border-radius: 20px; z-index: -1;
  transform: scale(0.8); opacity: 0; transition: 0.3s;
}
nav a:hover { color: #000; font-weight: 500; }
nav a:hover::before { transform: scale(1); opacity: 1; }

/* Khu vực trung tâm - Đã xóa text-shadow */
.hero-container {
  position: relative; z-index: 5; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 25px;
}
.row-one { display: flex; align-items: baseline; gap: 20px; }
.take-text {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4); letter-spacing: 4px;
}
.creativity-text {
  font-family: var(--font-serif); font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 900;
}

/* Đồ họa mắt */
.eye-glitch-wrapper {
  position: relative; width: 600px; height: 130px; 
  border: 1px solid rgba(255, 255, 255, 0.1); background-color: #000; overflow: hidden;
}
.pink-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255, 0, 100, 0.2) 0%, transparent 70%);
  z-index: 2; pointer-events: none; mix-blend-mode: screen;
}
.eye-base {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.9); transition: filter 0.3s; z-index: 1; position: relative;
}
.glitch-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none; mix-blend-mode: screen; z-index: 5;
}
.eye-glitch-wrapper:hover .eye-base { filter: grayscale(0) contrast(1.5) brightness(1.2); }
.eye-glitch-wrapper:hover .glitch-layer { opacity: 1; }
.glitch-red { filter: drop-shadow(5px 0 0 rgba(255, 0, 50, 0.8)); animation: g-red 0.2s infinite linear alternate-reverse; }
.glitch-cyan { filter: drop-shadow(-5px 0 0 rgba(0, 255, 255, 0.8)); animation: g-cyan 0.3s infinite linear alternate-reverse; }
@keyframes g-red { 0% { clip-path: inset(20% 0 80% 0); transform: translate(-3px, 1px); } 100% { clip-path: inset(10% 0 70% 0); transform: translate(3px, 1px); } }
@keyframes g-cyan { 0% { clip-path: inset(10% 0 60% 0); transform: translate(3px, -1px); } 100% { clip-path: inset(5% 0 80% 0); transform: translate(3px, -1px); } }

/* Chữ thay đổi tự động - Đã xóa text-shadow */
.dynamic-text {
  font-family: var(--font-serif); font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 900;
  line-height: 1; text-transform: uppercase;
}

/* Footer */
.bottom-bar { position: absolute; bottom: 40px; left: 50px; display: flex; gap: 15px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; justify-content: center; align-items: center; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: 0.3s; font-size: 1.1rem;
}
.social-btn:hover { background: #fff; color: #000; transform: translateY(-3px); }
.status-bar { position: absolute; bottom: 40px; right: 50px; display: flex; gap: 20px; font-size: 0.75rem; letter-spacing: 2px; color: rgba(255,255,255,0.6); }
.status-item { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; background: #00ff00; border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- Aestrial Records foundation patch: preserve original layout/effects --- */
html { scroll-behavior: smooth; }
body { min-height: 100svh; min-height: 100vh; }
.logo { display: inline-flex; align-items: center; width: clamp(92px, 10vw, 150px); text-decoration: none; }
.logo img { display: block; width: 100%; height: auto; max-height: 62px; object-fit: contain; object-position: left center; }
.menu-icon { border: 0; background: transparent; cursor: none; padding: 10px; }
.eye-base, .glitch-layer { object-position: center 48%; }
.eye-glitch-wrapper { max-width: min(600px, 76vw); }
.hero-caption { margin-top: -12px; font-size: clamp(.58rem, .8vw, .72rem); letter-spacing: .28em; color: rgba(255,255,255,.48); }
.status-bar, .bottom-bar { z-index: 10; }
.marquee-container { z-index: 0; }
.hero-container { z-index: 2; }
.cursor-glow { z-index: 1; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 50% 48%, transparent 15%, rgba(0,0,0,.48) 100%); }
header, .bottom-bar, .status-bar { z-index: 12; }
nav { z-index: 20; }
@media (max-width: 900px) {
  header { padding: 24px 28px; }
  nav { gap: 2px; padding: 5px 7px; }
  nav a { padding: 8px 10px; letter-spacing: 1.3px; font-size: .68rem; }
  .hero-container { width: 100%; padding: 0 20px; gap: 20px; }
  .row-one { gap: 12px; }
  .eye-glitch-wrapper { width: min(600px, 82vw); }
  .bottom-bar { left: 28px; bottom: 26px; }
  .status-bar { right: 28px; bottom: 30px; }
}
@media (max-width: 640px) {
  * { cursor: auto !important; }
  .custom-cursor, .cursor-glow { display: none; }
  header { padding: 20px; }
  .logo { width: 94px; }
  nav { display: none; position: absolute; top: 76px; left: auto; right: 18px; transform: none; width: min(220px, calc(100vw - 36px)); flex-direction: column; align-items: stretch; padding: 10px; border-radius: 14px; background: rgba(8,8,10,.94); border-color: rgba(255,255,255,.12); }
  nav.is-open { display: flex; }
  nav a { padding: 12px 14px; }
  .menu-icon { cursor: pointer !important; font-size: 1.2rem; }
  .hero-container { gap: 18px; }
  .row-one { flex-direction: column; align-items: center; gap: 0; }
  .take-text { font-size: clamp(1.3rem, 7vw, 2rem); letter-spacing: 3px; }
  .creativity-text { font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.05; }
  .eye-glitch-wrapper { width: min(88vw, 520px); height: clamp(76px, 20vw, 112px); }
  .dynamic-text { font-size: clamp(1.9rem, 8vw, 3.2rem); }
  .hero-caption { text-align: center; letter-spacing: .15em; font-size: .55rem; }
  .marquee-container.top { top: 19%; }
  .marquee-container.bottom { bottom: 21%; }
  .marquee-content { font-size: 3rem; }
  .bottom-bar { left: 20px; bottom: 18px; gap: 8px; }
  .social-btn { width: 34px; height: 34px; font-size: .9rem; }
  .status-bar { right: 20px; bottom: 27px; font-size: .52rem; letter-spacing: 1px; gap: 0; }
  .status-item:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
