/*
Theme Name: Canplay Casino Theme
Description: Professional casino website theme based on canplay.casino design
Version: 1.0
Author: Your Name
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1f2e;
}

/* Casino Color Palette */
:root {
  --casino-red: #dc2626;
  --casino-red-dark: #b91c1c;
  --casino-gold: #fbbf24;
  --casino-gold-dark: #f59e0b;
  --casino-purple: #9333ea;
  --casino-green: #059669;
  --background: #1a1f2e;
  --card-bg: #252b3d;
  --border: #374151;
  --text-muted: #9ca3af;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

/* Header Styles */
.site-header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--casino-red);
}

.header-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-login {
  background-color: var(--casino-red);
  color: white;
}

.btn-register {
  background-color: var(--casino-green);
  color: white;
}

.btn-app {
  background-color: var(--casino-purple);
  color: white;
}

.btn-casino {
  background: linear-gradient(135deg, var(--casino-red), var(--casino-red-dark));
  color: white;
  padding: 16px 32px;
  font-size: 18px;
  box-shadow: var(--shadow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-dark));
  color: #000;
  font-weight: bold;
}

.btn-play {
  background-color: var(--casino-red);
  color: white;
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  color: white;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--casino-red);
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

/* Game Categories */
.game-categories {
  padding: 64px 0;
  background-color: var(--background);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.category-card {
  background: linear-gradient(145deg, var(--card-bg), #1f2937);
  border: 1px solid rgba(55, 65, 81, 0.5);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--casino-red), var(--casino-red-dark));
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: scale(1.05);
  border-color: rgba(220, 38, 38, 0.5);
}

.category-card:hover::before {
  opacity: 0.2;
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--casino-red), var(--casino-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.category-title {
  font-size: 32px;
  font-weight: bold;
  color: white;
  margin-bottom: 8px;
}

.category-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Slots Section */
.slots-section {
  padding: 64px 0;
  background-color: rgba(55, 65, 81, 0.3);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: bold;
  color: white;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 20px;
  color: var(--text-muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.slot-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(55, 65, 81, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.slot-card:hover {
  transform: scale(1.05);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.slot-image {
  position: relative;
  overflow: hidden;
}

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

.slot-card:hover .slot-image img {
  transform: scale(1.1);
}

.slot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: end;
  padding: 16px;
}

.slot-info h3 {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-bottom: 4px;
}

.slot-provider {
  color: var(--casino-gold);
  font-weight: 600;
  font-size: 14px;
}

/* Live Casino */
.live-casino {
  padding: 64px 0;
  background-color: var(--background);
}

.live-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.live-game-card {
  position: relative;
  background: linear-gradient(135deg, var(--casino-green), #047857);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  overflow: hidden;
}

.live-game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.9;
}

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

.live-game-card * {
  position: relative;
  z-index: 2;
}

.live-game-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  backdrop-filter: blur(10px);
}

.live-game-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.live-game-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.live-game-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

/* Footer */
.site-footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

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

.footer-brand {
  grid-column: span 2;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

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

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive Design */
@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .header-content {
    justify-content: center;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    padding: 40px 20px;
  }
  
  .categories-grid,
  .slots-grid,
  .live-games-grid {
    grid-template-columns: 1fr;
  }
}