@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --bg-dark: #0f172a; /* Deep navy blue background */
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
}

/* Header & Nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-buttons a {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background-color: var(--card-bg);
  transition: 0.2s;
}

.nav-buttons a.btn-discord {
  background-color: #5865F2; /* Discord Color */
}

.nav-buttons a:hover {
  filter: brightness(1.1);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Grid Layout for Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Card Design (Matching the Screenshot exactly) */
.gta-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.gta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #000;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The Price Badge Overlay */
.price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Title Section */
.card-info {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

/* Admin Elements */
.admin-panel {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.admin-panel input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  border-radius: 6px;
}

.btn-submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.btn-delete {
  background: var(--danger);
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-top: 10px;
  display: inline-block;
}
