/*!
Theme Name: Spinlander
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: spinlander
*/

:root {
  --token-radius-base: 24px;
  --color-primary: #1c2135;
  --color-accent: #ca4952;
  --color-bg: #0a0d16;
  --color-card: #161b2d;
  --color-text: #e0e6ed;
  --color-text-dim: #8b9bb4;
  --layout-density: compact;
  --shadow-type: none;
  --grid-type: 2-col;
  --hud-border: 1px solid rgba(202, 73, 82, 0.3);
}

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

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

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

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

ul {
  list-style: none;
}

h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff;
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
}

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

/* HUD Signature Element */
.hud-frame {
  position: relative;
  border: var(--hud-border);
  border-radius: var(--token-radius-base);
  background: var(--color-card);
  overflow: hidden;
}

.hud-frame::before, .hud-frame::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-accent);
}

.hud-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* Radar Pulse Signature */
.pulse-zone {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  animation: radar 2s infinite;
}

@keyframes radar {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(202, 73, 82, 0.4);
}

.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

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

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: rgba(28, 33, 53, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-accent);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dim);
}

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

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

/* Hero */
.hero-section {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-dim);
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  display: block;
}

/* Sections */
section {
  padding: 40px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scroll-x {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: none;
}

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

/* Game Cards */
.game-card {
  min-width: 200px;
  flex: 0 0 200px;
  border-radius: var(--token-radius-base);
  overflow: hidden;
  position: relative;
}

.game-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.game-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* Providers */
.provider-item {
  background: var(--color-card);
  padding: 15px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

/* Footer */
.footer {
  background: #05070a;
  padding: 60px 0 20px;
  margin-top: 60px;
}

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

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

.footer-menu li a {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-section, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 { font-size: 2.5rem; }
  .header-nav { display: none; }
}

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