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

:root {
  --primary: #3A1414;
  --accent: #E10600;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --token-radius-base: 12px;
  --layout-density: balanced;
  --shadow-type: soft;
  --grid-type: 2-col;
  --font-main: 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* Typography */
h2 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  border-left: 6px solid var(--accent);
  padding-left: 15px;
  line-height: 1;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }
}

/* Signature Element: Diagonal Streak */
.streak-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent 40%, rgba(225, 6, 0, 0.05) 45%, rgba(225, 6, 0, 0.1) 50%, rgba(225, 6, 0, 0.05) 55%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--token-radius-base);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border: none;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(225, 6, 0, 0.2);
}

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

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

.header-nav ul li a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

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

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

/* Hero */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 70% 30%, var(--primary) 0%, var(--bg-dark) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 0.9;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 900;
}

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

.hero-card {
  background: rgba(58, 20, 20, 0.4);
  border: 1px solid var(--accent);
  padding: 40px;
  border-radius: var(--token-radius-base);
  backdrop-filter: blur(10px);
  text-align: center;
}

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

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

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

.game-card:hover {
  border-color: var(--accent);
}

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

.game-info {
  padding: 15px;
}

/* Grid 2-col Layouts */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Brutalist Cards */
.brutalist-card {
  background: var(--bg-card);
  border: 2px solid var(--text-main);
  padding: 30px;
  position: relative;
}

.brutalist-card::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  z-index: -1;
}

/* Payments */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.payment-item {
  background: #1a1a1a;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
  background: #050505;
  padding: 80px 0 40px;
  border-top: 4px solid var(--accent);
}

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

.footer-menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .hero-grid, .layout-split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 0 20px;
  }
  .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;}
.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;}
