:root {
  --primary-color: #000000;
  --accent-color: #6366f1;
  --bg-color: #ffffff;
  --bg-secondary: #f5f5f7;
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --border-color: #d2d2d7;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --shadow-apple: 0 4px 30px rgba(0, 0, 0, 0.05);
  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* Subtle Noise Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  z-index: 9999;
}

/* GNB */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-maker {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-maker:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  padding-top: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #ffffff 0%, #f5f5f7 100%);
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* Live Dashboard */
.dashboard {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Bento Grid */
.bento-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 1.5rem;
}

.bento-item {
  background: var(--bg-secondary);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.bento-item:hover {
  transform: translateY(-8px);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 2;
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Split Canvas (VS Section Placeholder) */
.split-canvas {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.split-pane {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.split-pane:hover {
  flex: 1.5;
}

.pane-content {
  text-align: center;
  z-index: 2;
  color: white;
}

.pane-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s;
}

.split-pane:hover .pane-bg {
  transform: scale(1.1);
}

.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: white;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Comments section reset */
.comments-section {
  background: #fbfbfd;
  padding: 6rem 0;
}

footer {
  padding: 4rem 2rem;
  background: #fbfbfd;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .split-canvas { flex-direction: column; }
  .split-pane:hover { flex: 2; }
}
