/* CasinoG.info - Professional Casino Website Styles */

:root {
  /* Professional Color Scheme - Dark Blues with Gold Accents */
  --primary-dark: #0a1628;
  --primary-blue: #1a2b42;
  --secondary-blue: #2c3e56;
  --accent-gold: #d4af37;
  --accent-light-gold: #f4e99b;
  --text-light: #ffffff;
  --text-gray: #b0bec5;
  --text-dark: #2c3e56;
  --card-bg: #ffffff;
  --border-light: #e0e6ed;
  --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a2b42 100%);
  --gradient-accent: linear-gradient(135deg, #d4af37 0%, #f4e99b 100%);
  --shadow-soft: 0 4px 20px rgba(10, 22, 40, 0.1);
  --shadow-strong: 0 8px 40px rgba(10, 22, 40, 0.2);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f8fafc;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

h2 {
  font-size: 2rem;
  color: var(--primary-blue);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue);
}

/* Header and Navigation */
.header {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.logo span {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--accent-light-gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(10, 22, 40, 0.7), rgba(26, 43, 66, 0.7)), 
              url('../images/hero-casino.jpg') center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  color: var(--primary-dark);
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.section {
  margin-bottom: 4rem;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 1rem auto;
}

/* Card Grid Layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.card-description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--accent-gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  color: var(--primary-blue);
}

/* Search Functionality */
.search-container {
  max-width: 600px;
  margin: 2rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

/* Category Navigation */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-btn {
  background: var(--card-bg);
  border: 2px solid var(--border-light);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--text-dark);
}

.category-btn:hover,
.category-btn.active {
  background: var(--gradient-accent);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-light-gold);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-blue);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: var(--text-gray);
}

/* Article Page Styles */
.article-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
}

.article-header h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-blue);
}

.article-content ul, .article-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.article-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid var(--accent-gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Table of Contents */
.table-of-contents {
  background: #f8f9fa;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.table-of-contents h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.table-of-contents ul {
  list-style: none;
  margin-left: 0;
}

.table-of-contents ul li {
  margin-bottom: 0.5rem;
}

.table-of-contents ul li a {
  color: var(--accent-gold);
  text-decoration: none;
}

.table-of-contents ul li a:hover {
  color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .category-nav {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 2rem 0.5rem;
  }

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

  .card-content {
    padding: 1rem;
  }
}

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

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

.bg-gradient {
  background: var(--gradient-primary);
}

.hidden {
  display: none;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-gold);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
