/*!
Theme Name: Mafia Casino
Theme URI: #
Version: 1.0.0
Author: Mafia Design
Description: High-converting, futuristic casino theme with a minimal brutalist dark aesthetic.
License: GNU General Public License v2 or later
Text Domain: mafia-casino
*/

:root {
  --primary: #3A1F1F;
  --accent: #B91C1C;
  --bg-dark: #0A0A0A;
  --bg-card: #151515;
  --text-main: #FFFFFF;
  --text-dim: #A0A0A0;
  --token-radius-base: 12px;
  --layout-density: compact;
  --shadow-type: hard;
  --grid-type: asymmetric;
  --font-main: 'Inter', sans-serif;
  --font-mono: 'Space 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.4;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

/* Typography */
h2 {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--accent);
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}

p, span, a, li {
  font-size: 1rem;
}

/* Signature Element: Diagonal Streak */
.streak-overlay {
  position: relative;
  overflow: hidden;
}

.streak-overlay::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(185, 28, 28, 0.1) 50%, transparent 55%);
  pointer-events: none;
  animation: streak 8s infinite linear;
}

@keyframes streak {
  0% { transform: translate(-20%, -20%); }
  100% { transform: translate(20%, 20%); }
}

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

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

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

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

.btn-ghost {
  background: transparent;
  border: 2px solid var(--text-dim);
  color: var(--text-main);
}

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

.logo {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}

.header ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.header ul li a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
}

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

/* Cards System */
.card-glass {
  background: rgba(58, 31, 31, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(185, 28, 28, 0.3);
  border-radius: var(--token-radius-base);
  padding: 20px;
}

.card-brutalist {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  box-shadow: 8px 8px 0px #000;
  border-radius: 0;
  padding: 20px;
}

.card-flat {
  background: #1a1a1a;
  border-bottom: 4px solid var(--accent);
  padding: 20px;
}

/* Layout Patterns */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

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

.asymmetric-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  h2 { font-size: 1.8rem; }
}

/* Footer */
.footer {
  background: #050505;
  padding: 60px 20px 20px;
  border-top: 2px solid var(--primary);
  margin-top: 60px;
}

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

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

.footer-menu ul li a {
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

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