:root {
  --orange: #ff6b00;
  --orange-light: #ff8c42;
  --orange-dark: #cc5500;
  --dark: #05070f;
  --glass: rgba(10, 12, 25, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #05070f 0%, #0f172a 100%);
  color: #f5e8d8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Glassmorphism + Depth */
.glass {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.15);
}

/* Hand-drawn sketch feel */
.sketch-border {
  position: relative;
}

.sketch-border::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 3px solid transparent;
  border-image: linear-gradient(to right, var(--orange), var(--orange-light)) 1;
  border-radius: 34px;
  opacity: 0.25;
  z-index: -1;
}

/* Header */
header {
  padding: 1.4rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  transition: 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

nav a {
  color: #f5e8d8;
  text-decoration: none;
  margin-left: 2.5rem;
  font-weight: 600;
  position: relative;
  transition: 0.4s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -4px;
  left: 0;
  background: var(--orange);
  transition: 0.4s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--orange);
}

/* Hero */
.hero {
  text-align: center;
  padding: 160px 20px 100px;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ff6b00, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Works */
.filter-buttons {
  text-align: center;
  padding: 3rem 0 2rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 107, 0, 0.5);
  color: #f5e8d8;
  padding: 12px 28px;
  margin: 0 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s;
  font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-color: transparent;
  color: white;
  transform: translateY(-4px);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  padding: 2rem 6%;
}

.work-card {
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover {
  transform: translateY(-22px) scale(1.04);
  box-shadow: 0 30px 60px rgba(255, 107, 0, 0.3);
}

.work-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover img {
  transform: scale(1.12);
}

.category-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  color: white;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* Contact */
.contact-btn {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  color: white;
  padding: 18px 48px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin: 2rem 0;
  transition: all 0.4s;
}

.contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 5%;
  }
  
  nav {
    display: flex;
    gap: 1.2rem;
  }
  
  nav a {
    margin: 0;
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 5%;
  }
}