/*!
Theme Name: Hook Casino
Theme URI: #
Version: 1.0.0
Tested up to: 7.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hook-casino
*/

:root {
  --primary: #1A2A35;
  --accent: #0EA5E9;
  --gold: #D4AF37;
  --bg-dark: #0B141A;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --token-radius-base: 12px;
  --layout-density: 100px;
  --shadow-type: hard;
  --grid-type: asymmetric;
  --streak: linear-gradient(115deg, transparent 40%, rgba(14, 165, 233, 0.1) 45%, rgba(14, 165, 233, 0.2) 50%, rgba(14, 165, 233, 0.1) 55%, transparent 60%);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 65ch;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.streak-overlay {
  position: relative;
}

.streak-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--streak);
  pointer-events: none;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  box-shadow: 4px 4px 0px #000;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
}

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

.btn-gold:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-ghost {
  color: var(--text-light);
  border-bottom: 2px solid var(--accent);
  padding: 0.5rem 0;
  border-radius: 0;
}

/* Header */
.header {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0; width: 100%; z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: 'H';
  background: var(--accent);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
}

.header ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.header ul li a:hover { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Sections */
section {
  padding: var(--layout-density) 0;
}

/* Hero */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding-top: 150px;
  background: radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
}

.hero-image {
  position: relative;
  height: 600px;
  background: var(--primary);
  border-radius: var(--token-radius-base);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity;
}

/* Horizontal Scroll Sections */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding-bottom: 2rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.scroll-container::-webkit-scrollbar { display: none; }

.game-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--primary);
  border-radius: var(--token-radius-base);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

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

.game-info {
  padding: 1.5rem;
}

/* Asymmetric Grid */
.asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.grid-item-large { grid-column: span 8; }
.grid-item-small { grid-column: span 4; }

/* Card Styles */
.card-glass {
  background: rgba(26, 42, 53, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  border-radius: var(--token-radius-base);
}

.card-solid {
  background: var(--primary);
  padding: 2.5rem;
  border-radius: var(--token-radius-base);
  border-left: 4px solid var(--accent);
}

.card-outline {
  border: 2px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  border-radius: var(--token-radius-base);
  transition: border-color 0.3s;
}

.card-outline:hover { border-color: var(--gold); }

/* Tables */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* Footer */
.footer {
  background: #05090C;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 1rem;
}

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

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

@media (max-width: 1024px) {
  .hero-section, .asymmetric-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-item-large, .grid-item-small { grid-column: span 1; }
  .hero-image { height: 400px; margin-top: 3rem; }
}

/* Responsible Gaming */
.responsible-box {
  background: linear-gradient(135deg, #1A2A35 0%, #0B141A 100%);
  padding: 4rem;
  border-radius: var(--token-radius-base);
  display: flex;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .responsible-box { flex-direction: column; padding: 2rem; }
}

img {max-width: 100% !important;height: auto;display: block;}
html {overflow-x: hidden;}
.wp-block-image {margin: 20px auto;max-width: 100%;}
.wp-block-image img {margin: 0 auto;}
.logo img {max-height: 50px;}
table{margin-top: 20px;margin-bottom: 20px;border-spacing: 0;}
th, td {padding: 5px; border-bottom: 1px solid var(--accent)}
.content-block p,.content-block h2, .content-block h3, .content-block ul, .content-block ol,
.content p,.content h2, .content h3, .content ul, .content ol{margin-top: 1em;margin-bottom: 1em;}
