/*!
Theme Name: Tesco 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: tesco-casino
*/

:root {
  --primary: #1A2540;
  --accent: #2563EB;
  --bg: #0A0F1A;
  --text: #FFFFFF;
  --text-muted: #94A3B8;
  --token-radius-base: 4px;
  --neon-glow: 0 0 15px rgba(37, 99, 235, 0.6);
  --brutal-border: 2px solid #2563EB;
  --grid-gap: 24px;
  --section-padding: 80px 0;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: 800;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  line-height: 1;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: var(--neon-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.8);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

/* Header */
.header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(10, 15, 26, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.header-menu {
  display: none;
}

@media (min-width: 1024px) {
  .header-menu {
    display: flex;
    gap: 30px;
    list-style: none;
  }
  .header-menu li a:hover {
    color: var(--accent);
  }
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Hero */
.hero {
  padding: 100px 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-excerpt {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr 1fr;
  }
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

/* Cards */
.card-brutal {
  background: var(--primary);
  border: var(--brutal-border);
  padding: 30px;
  border-radius: var(--token-radius-base);
  transition: transform 0.3s ease;
}

.card-brutal:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--accent);
}

.card-neon {
  background: #111827;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 20px;
  border-radius: var(--token-radius-base);
  position: relative;
  overflow: hidden;
}

.card-neon:hover {
  border-color: var(--accent);
  box-shadow: var(--neon-glow);
}

.card-glass {
  background: rgba(26, 37, 64, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: var(--token-radius-base);
}

/* Footer */
.footer {
  background: #05070a;
  padding: 60px 0 20px;
  border-top: 2px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu li a {
  color: var(--text-muted);
}

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Signature Element: Electric Pulse */
.electric-pulse {
  position: relative;
}

.electric-pulse::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--neon-glow);
  animation: pulse-width 2s infinite ease-in-out;
}

@keyframes pulse-width {
  0%, 100% { width: 50px; opacity: 0.5; }
  50% { width: 100px; opacity: 1; }
}

/* Responsive Table */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

th {
  background: var(--primary);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 2px;
  text-transform: uppercase;
}

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;}
