/*!
Theme Name: 7к казино
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: 7k-casino
*/

:root {
  --token-radius-base: 4px;
  --layout-density: compact;
  --shadow-type: neon;
  --grid-type: masonry;
  --primary: #2F2A18;
  --accent: #FACC15;
  --bg-dark: #0a0a0a;
  --glass-bg: rgba(47, 42, 24, 0.6);
  --glass-border: rgba(250, 204, 21, 0.2);
  --neon-glow: 0 0 15px rgba(250, 204, 21, 0.3);
  --holographic-gradient: linear-gradient(135deg, rgba(250, 204, 21, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(250, 204, 21, 0.1) 100%);
}

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

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

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

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

/* Signature Element: Diagonal Light 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(250, 204, 21, 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%); }
}

/* Typography */
h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--accent);
  border: 1px solid var(--accent);
  backdrop-filter: blur(5px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    gap: 20px;
    list-style: none;
  }
  .header-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
  }
  .header-nav li a:hover { color: var(--accent); }
}

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

/* Glass Card Base */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--token-radius-base);
  padding: 20px;
  transition: transform 0.3s ease;
}

/* Hero */
.hero {
  padding: 80px 0 40px;
  text-align: center;
  background: radial-gradient(circle at top, #2F2A18 0%, #0a0a0a 70%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.7);
}

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

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

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

.game-card {
  min-width: 200px;
  scroll-snap-align: start;
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: 10px;
  gap: 15px;
}

.masonry-item {
  grid-row-end: span 20;
}

.masonry-item:nth-child(even) {
  grid-row-end: span 25;
}

/* Footer */
.footer {
  background: #050505;
  padding: 60px 0 20px;
  border-top: 1px solid var(--glass-border);
}

.footer-menu {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-menu { grid-template-columns: repeat(4, 1fr); }
}

.footer-menu li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-menu li a:hover { color: var(--accent); }

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