/*
Theme Name: Casino Guide
Theme URI: https://casinoguide.example.com
Author: Casino Guide Team
Author URI: https://casinoguide.example.com
Description: A professional casino games guide WordPress theme with game guides, casino reviews, bonus listings, and interactive comparison tools.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casino-guide
Domain Path: /languages

This theme is licensed under the GPL.
*/

:root {
  --color-background: #080a14;
  --color-foreground: #f2f2f2;
  --color-card: #0f1c3c;
  --color-primary: #0066cc;
  --color-accent: #00d4ff;
  --color-border: #1a2a4a;
  --color-muted: #666666;
  --radius-base: 0.5rem;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

a:hover {
  color: var(--color-accent);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(8, 10, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-branding a {
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-navigation a {
  color: var(--color-foreground);
  font-weight: 500;
  transition: color 0.2s ease-out;
}

.site-navigation a:hover {
  color: var(--color-accent);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%230f1c3c;stop-opacity:1" /><stop offset="100%" y2="100%" style="stop-color:%23080a14;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad)"/></svg>');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 150, 200, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(242, 242, 242, 0.9);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-out;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 100, 200, 0.1);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 100, 200, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Cards */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 100, 200, 0.1);
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 100, 200, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Game Cards */
.game-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 100, 200, 0.15);
}

.game-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.game-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
}

/* Casino Card */
.casino-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease-out;
}

.casino-card:hover {
  box-shadow: 0 10px 30px rgba(0, 100, 200, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.casino-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.casino-badge {
  background-color: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.stars {
  color: var(--color-accent);
}

.casino-bonus {
  background-color: rgba(0, 212, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--color-accent);
}

.bonus-title {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.bonus-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-tag {
  background-color: rgba(0, 100, 200, 0.2);
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Bonus Card */
.bonus-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease-out;
}

.bonus-card:hover {
  box-shadow: 0 10px 30px rgba(0, 100, 200, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
}

.bonus-type {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.bonus-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.bonus-description {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-card);
}

thead {
  background-color: rgba(0, 100, 200, 0.1);
  border-bottom: 2px solid var(--color-border);
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-accent);
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

tbody tr:hover {
  background-color: rgba(0, 100, 200, 0.05);
}

/* Footer */
.site-footer {
  background-color: rgba(8, 10, 20, 0.95);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--color-muted);
  transition: color 0.2s ease-out;
}

.footer-section a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .site-navigation {
    gap: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}
