/*!
Theme Name: Spin Maya 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: spin-maya
*/

:root {
  --primary: #1A2538;
  --accent: #14B8A6;
  --bg-dark: #0A0F1A;
  --text-light: #E2E8F0;
  --text-dim: #94A3B8;
  --token-radius-base: 4px;
  --layout-density: balanced;
  --shadow-type: soft;
  --grid-type: asymmetric;
  --glass: rgba(26, 37, 56, 0.7);
  --neon-glow: 0 0 15px rgba(20, 184, 166, 0.4);
}

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

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

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, transparent 45%, rgba(20, 184, 166, 0.05) 50%, transparent 55%);
  background-size: 200% 200%;
  animation: streak 10s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes streak {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

main {
  position: relative;
  z-index: 2;
}

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

h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  text-shadow: var(--neon-glow);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
  position: relative;
}

p {
  margin-bottom: 1rem;
  color: var(--text-dim);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: 0.3s ease;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

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

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.6);
}

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

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

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.header ul {
  display: none;
  list-style: none;
}

@media (min-width: 1024px) {
  .header ul {
    display: flex;
    gap: 25px;
  }
}

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

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

.hero-section {
  padding: 100px 0 60px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-image {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  opacity: 0.3;
  width: 60%;
  pointer-events: none;
}

.section-padding {
  padding: 80px 0;
}

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

@media (min-width: 768px) {
  .asymmetric-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .asymmetric-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.card-glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: var(--token-radius-base);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.card-glass::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: 0.3s;
}

.card-glass:hover::after {
  opacity: 1;
}

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

.horizontal-scroll::-webkit-scrollbar {
  height: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.game-card {
  min-width: 200px;
  height: 280px;
  background: var(--primary);
  border-radius: var(--token-radius-base);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

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

.game-card:hover img {
  transform: scale(1.1);
}

.game-card .overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  opacity: 0;
  transition: 0.3s;
}

.game-card:hover .overlay {
  opacity: 1;
}

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

.provider-item {
  background: var(--primary);
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(20, 184, 166, 0.1);
  filter: grayscale(1);
  transition: 0.3s;
}

.provider-item:hover {
  filter: grayscale(0);
  border-color: var(--accent);
}

.footer {
  background: #05080F;
  padding: 60px 0 20px;
  border-top: 2px solid var(--accent);
}

.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 {
  margin-bottom: 10px;
}

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

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

.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass);
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.responsible-box {
  border: 1px dashed var(--accent);
  padding: 30px;
  margin: 40px 0;
  background: rgba(20, 184, 166, 0.05);
}

.asymmetric-split {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .asymmetric-split {
    flex-direction: row;
    align-items: center;
  }
  .asymmetric-split > div {
    flex: 1;
  }
  .asymmetric-split .content-side {
    flex: 1.5;
  }
}

.promo-block {
  position: relative;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #0A0F1A 100%);
  border-right: 5px solid var(--accent);
  transform: skewX(-2deg);
}

.promo-block > * {
  transform: skewX(2deg);
}

.vip-badge {
  display: inline-block;
  padding: 5px 15px;
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

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