/* ===== VARIABLES ===== */
:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --card-bg: #1a1a1a;
  --border: #2a2a2a;
  --accent: #f0c040;
  --accent2: #ff6b6b;
  --text: #f0ede8;
  --text-muted: #888;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --radius: 16px;
  --max-w: 900px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

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

.nav-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hobby-hero { min-height: 55vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(240,192,64,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(255,107,107,0.08) 0%, transparent 60%);
  z-index: 0;
}

.hero-shape {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(240,192,64,0.1);
  z-index: 0;
}

.hero-shape::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240,192,64,0.06);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-title .accent {
  color: var(--accent);
  display: block;
  transition: color 0.4s ease;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* ===== BUTTON ===== */
.btn-main {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(240,192,64,0.3);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(240,192,64,0.5);
}

.btn-main:active { transform: translateY(0); }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(240,192,64,0.1);
  border: 1px solid rgba(240,192,64,0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ===== SECTIONS ===== */
.about-section,
.cards-section,
.media-section,
.gallery-section,
.hobby-list,
.skills-section,
.quote-section {
  margin-bottom: 5rem;
}

.about-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 680px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,192,64,0.3);
}

.card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.card h3 { font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== VIDEO ===== */
.video-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, opacity 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ===== HOBBY LIST ===== */
.hobby-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.hobby-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(240,192,64,0.2);
  min-width: 60px;
  line-height: 1;
}

.hobby-text h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hobby-text p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== SKILLS ===== */
.skills-grid { display: flex; flex-direction: column; gap: 1.2rem; }

.skill-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.skill-bar {
  background: var(--border);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 50px;
  font-size: 0;
  animation: fillBar 1.2s ease forwards;
}

@keyframes fillBar {
  from { width: 0 !important; }
}

/* ===== QUOTE ===== */
.quote-section {
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-muted);
  border: none;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.quote-section blockquote::before {
  content: '"';
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

footer a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .navbar { padding: 1rem; }
  .hero { padding: 3rem 1rem; }
  .container { padding: 2rem 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hobby-item { flex-direction: column; gap: 0.5rem; }
  .hobby-num { font-size: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
