/*!
Theme Name: Casinozer
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: casinozer
*/

:root {
  --primary: #1d1d1d;
  --accent: #008566;
  --bg-dark: #0a0a0a;
  --text-light: #ffffff;
  --text-dim: #a0a0a0;
  --token-radius-base: 24px;
  --layout-density: 100px;
  --shadow-hard: 8px 8px 0px #008566;
  --grid-bias: 1.2fr 0.8fr;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

.streak-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(0, 133, 102, 0.05) 100px, rgba(0, 133, 102, 0.05) 101px);
  z-index: 0;
  pointer-events: none;
}

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

section {
  padding: var(--layout-density) 0;
  position: relative;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 40px;
  line-height: 1.1;
  color: var(--text-light);
  border-left: 8px solid var(--accent);
  padding-left: 20px;
}

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

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

.btn-primary:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px #ffffff;
}

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

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

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

.logo {
  width: 180px;
  height: 40px;
  background: var(--accent);
  mask: url('images/style-1.webp') no-repeat center;
  -webkit-mask: url('images/style-2.webp') no-repeat center;
}

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

.header ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

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

/* Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 80vh;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
}

@media (min-width: 992px) {
  .hero-section {
    grid-template-columns: var(--grid-bias);
  }
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 900;
}

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

/* Cards System */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.card-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: var(--token-radius-base);
  transition: var(--transition);
}

.card-accent {
  background: var(--primary);
  border-bottom: 5px solid var(--accent);
  padding: 40px;
  border-radius: var(--token-radius-base);
}

.card-asymmetric {
  background: #151515;
  padding: 40px;
  border-radius: var(--token-radius-base);
  transform: skewY(-1deg);
}

.card-asymmetric > * {
  transform: skewY(1deg);
}

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

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

.game-card {
  min-width: 280px;
  height: 380px;
  background: #222;
  border-radius: var(--token-radius-base);
  position: relative;
  overflow: hidden;
}

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

.game-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
}

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

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

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

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

.footer-menu a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--accent);
  padding-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  :root { --layout-density: 60px; }
  .header ul { display: none; }
  .hero-section { text-align: center; }
  .hero-content p { margin: 0 auto 40px; }
}

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