@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-color: #060913;
  --panel-bg: rgba(15, 23, 42, 0.7);
  --border-color: rgba(0, 240, 255, 0.2);
  --primary-cyan: #00f0ff;
  --accent-pink: #ff007f;
  --accent-yellow: #ffd700;
  --accent-turquoise: #00f5d4;
  --border-radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 127, 0.08) 0%, transparent 40%);
  color: #e2e8f0;
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  margin-bottom: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 10px var(--primary-cyan);
}

.logo svg {
  fill: var(--primary-cyan);
  filter: drop-shadow(0 0 8px var(--primary-cyan));
}

nav a {
  color: #a0aec0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  color: #fff;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

nav a svg {
  fill: currentColor;
}

/* Main Container */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: #94a3b8;
}

/* Builds List Grid */
.builds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
}

.build-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.build-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  border-color: var(--primary-cyan);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: #fff;
}

/* Image Slider Component */
.gallery-container {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: calc(var(--border-radius) - 8px);
  overflow: hidden;
  margin-bottom: 15px;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.gallery-btn:hover {
  background: var(--primary-cyan);
  color: #000;
}

.gallery-btn.prev { left: 8px; }
.gallery-btn.next { right: 8px; }

.card-desc {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Download Buttons */
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0088ff 100%);
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

.btn-disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* TAGS STYLES */
.tag-badge {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

/* VIP TAG */
.tag-vip {
  background: var(--accent-yellow);
  color: #000;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.tag-vip::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: rotate(30deg);
  animation: mirror-shine 3s infinite;
}

@keyframes mirror-shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* SUPER TAG */
.tag-super {
  background: var(--accent-turquoise);
  color: #000;
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
  background-image: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.6), transparent);
  animation: wave-bg 2s infinite ease-in-out alternate;
}

@keyframes wave-bg {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

/* LEGEND TAG */
.tag-legend {
  background: linear-gradient(135deg, #ffffff 0%, #0055ff 50%, #ff0000 100%);
  color: #fff;
  text-shadow: 0 1px 2px #000;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 12px rgba(0, 85, 255, 0.5);
}

/* ULTRA LEGEND TAG */
.tag-ultra-legend {
  background: linear-gradient(90deg, #ff007f, #00f0ff, #7f00ff, #ff007f);
  background-size: 300% 300%;
  color: #fff;
  animation: rainbow-anim 3s ease infinite;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
}

@keyframes rainbow-anim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Uninstall Page Styling */
.uninstall-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 50px 30px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  backdrop-filter: blur(16px);
}

.uninstall-card svg {
  width: 80px;
  height: 80px;
  fill: var(--accent-pink);
  margin-bottom: 20px;
}

.uninstall-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 15px;
}

.uninstall-card p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Footer Panel */
footer {
  margin-top: auto;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 20px;
  text-align: center;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  color: #64748b;
}

.hidden {
  display: none !important;
}