/* style.css - premium gaming UI, glassmorphism, smooth animations */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: linear-gradient(145deg, #0b0b12 0%, #1c1c28 100%);
  color: #f0f0fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Glass header */
.site-header {
  background: rgba(18, 18, 26, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 140, 66, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px -10px black;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff5eb, #ffdbb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  background: linear-gradient(135deg, #ffb347, #ff7b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.navbar a {
  color: #b0b0d0;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff8c42;
  transition: width 0.2s;
}

.navbar a:hover, .navbar a.active {
  color: white;
}

.navbar a:hover::after, .navbar a.active::after {
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 1rem;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(145deg, #ffffff, #c0c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.hero p {
  color: #a0a0c0;
  font-size: 1.2rem;
}

/* Category filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.category-btn {
  background: rgba(30, 30, 40, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 140, 66, 0.3);
  color: #d0d0f0;
  padding: 0.7rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.category-btn:hover {
  background: rgba(255, 140, 66, 0.15);
  border-color: #ff8c42;
  transform: translateY(-2px);
}

.category-btn.active {
  background: #ff8c42;
  color: #0c0c10;
  border-color: #ff8c42;
  box-shadow: 0 8px 25px #ff8c4266;
}

/* Search */
.search-container {
  margin: 0 0 3rem;
  text-align: center;
}

.search-input {
  width: 100%;
  max-width: 500px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 140, 66, 0.2);
  border-radius: 60px;
  color: white;
  outline: none;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.search-input:focus {
  border-color: #ff8c42;
  box-shadow: 0 8px 30px #ff8c4240;
}

.search-input::placeholder {
  color: #8a8ab0;
}

/* Skin grid */
.skin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.skin-card-link {
  text-decoration: none;
  color: inherit;
}

.skin-card {
  background: rgba(28, 28, 38, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  padding: 1.2rem;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 20px 35px -15px black;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.skin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255,140,66,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.skin-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 140, 66, 0.5);
  box-shadow: 0 30px 45px -15px #ff8c4240;
}

.skin-card:hover::before {
  opacity: 1;
}

.skin-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 24px;
  background: #2a2a35;
  border: 2px solid rgba(255,140,66,0.2);
  transition: border 0.2s;
}

.skin-card:hover .skin-image {
  border-color: #ff8c42;
}

.skin-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0 0.2rem;
  color: white;
  letter-spacing: -0.5px;
}

.creator {
  color: #a8a8d0;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.creator::before {
  content: "🎨";
  font-size: 1rem;
  opacity: 0.8;
}

/* No results */
.no-results {
  text-align: center;
  font-size: 1.5rem;
  color: #a0a0c0;
  padding: 3rem;
  grid-column: 1 / -1;
}

/* Footer */
.site-footer {
  background: rgba(10, 10, 18, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,140,66,0.2);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  color: #8080a0;
}

.footer-links a {
  color: #b0b0d0;
  text-decoration: none;
  margin: 0 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ff8c42;
}

/* Page content for about/disclaimer/dmca */
.page-content {
  background: rgba(30, 30, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 3rem;
  margin: 2rem 0;
  border: 1px solid rgba(255,140,66,0.2);
  box-shadow: 0 20px 35px -10px black;
}

.page-content h2 {
  font-size: 2.5rem;
  color: #ffb347;
  margin-bottom: 1.5rem;
}

.page-content p {
  color: #c0c0e0;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.page-content ul {
  color: #c0c0e0;
  margin-left: 2rem;
  line-height: 1.8;
}