/* Gallery Theme */
:root {
  /* Primary Colors - Clean Gallery Style */
  --color-primary: #374151;
  --color-secondary: #F9FAFB;
  --color-accent: #3B82F6;
  
  /* Background Colors */
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-card: #FFFFFF;
  
  /* Text Colors */
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-text-secondary: #9CA3AF;
  
  /* Gallery specific colors */
  --gallery-primary: #374151;
  --gallery-surface: #FFFFFF;
  --gallery-border: #F3F4F6;
  --gallery-hover: #F9FAFB;
  --gallery-accent: #3B82F6;
}

/* CSS Variables for Tailwind */
.theme-gallery {
  --tw-bg-opacity: 1;
  
  /* Gallery specific custom properties */
  --gallery-bg: 255 255 255;
  --gallery-surface: 255 255 255;
  --gallery-text: 17 24 39;
  --gallery-accent: 59 130 246;
  --gallery-secondary: 107 114 128;
}

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

/* Gallery item hover effects */
.gallery-item {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Minimal shadows */
.gallery-shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.gallery-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Typography */
.gallery-title {
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

.gallery-subtitle {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Light font weights */
.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

/* Aspect ratios */
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.image-grid .item:nth-child(2) {
  margin-top: 2rem;
}

.image-grid .item:nth-child(3) {
  margin-top: -2rem;
}

/* Game card styling */
.game-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.game-card-image {
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-title {
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.game-card:hover .game-card-title {
  color: var(--gallery-accent);
}

.game-card-category {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.game-card-rating {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

/* Stats styling */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive design */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .image-grid .item:nth-child(2),
  .image-grid .item:nth-child(3) {
    margin-top: 0;
  }
}

/* Clean borders */
.gallery-border {
  border: 1px solid var(--gallery-border);
}

/* Minimal button styles */
.gallery-link {
  color: var(--gallery-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-link:hover {
  color: var(--color-text);
}
