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

:root {
  --primary: #221B33;
  --accent: #D9FF2F;
  --bg-dark: #0F0A1A;
  --text-main: #FFFFFF;
  --text-muted: #A098B5;
  --token-radius-base: 999px;
  --layout-density: balanced;
  --shadow-type: neon;
  --grid-type: asymmetric;
  --border-width: 2px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: 'Inter', sans-serif; margin: 0; line-height: 1.5; overflow-x: hidden; }

h2 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; font-weight: 900; margin-bottom: 1.5rem; color: var(--accent); line-height: 1; letter-spacing: -0.05em; }
p { margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; transition: 0.3s; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 40px; border-radius: var(--token-radius-base); font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: var(--border-width) solid transparent; font-size: 0.9rem; letter-spacing: 0.1em; }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: transparent; border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px var(--accent); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--primary); }

/* Signature Pulse */
.signature-pulse { position: relative; }
.signature-pulse::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: var(--token-radius-base); transform: translate(-50%, -50%); animation: pulse-ring 2s infinite; pointer-events: none; }
@keyframes pulse-ring { 0% { width: 100%; height: 100%; opacity: 0.8; } 100% { width: 130%; height: 160%; opacity: 0; } }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; background: rgba(34, 27, 51, 0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(217, 255, 47, 0.1); }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--accent); text-transform: uppercase; }
.header-nav ul { display: none; list-style: none; gap: 30px; margin: 0; padding: 0; }
@media (min-width: 1024px) { .header-nav ul { display: flex; } }
.header-nav li a { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.header-nav li a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; min-height: 80vh; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1.2fr 0.8fr; } }
.hero-content { z-index: 2; }
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image img { max-width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(217, 255, 47, 0.3)); }

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

/* Cards */
.card-brutal { background: var(--primary); border: var(--border-width) solid rgba(217, 255, 47, 0.1); padding: 30px; border-radius: 40px; transition: 0.3s; position: relative; overflow: hidden; }
.card-brutal:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card-pill { border-radius: var(--token-radius-base); background: #1A1426; border: 1px solid rgba(255,255,255,0.05); padding: 20px; text-align: center; }

/* Asymmetric Grids */
.grid-asymmetric { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .grid-asymmetric { grid-template-columns: 1.5fr 1fr 1fr; } .grid-asymmetric .span-2 { grid-column: span 2; } .grid-asymmetric .row-2 { grid-row: span 2; } }

/* Split Section */
.split-section { display: grid; grid-template-columns: 1fr; border: var(--border-width) solid var(--accent); }
@media (min-width: 768px) { .split-section { grid-template-columns: 1fr 1fr; } }
.split-content { padding: 60px; background: var(--primary); }
.split-media { background: var(--accent); display: flex; align-items: center; justify-content: center; padding: 40px; }

/* Layered Section */
.layered-section { position: relative; padding: 120px 0; }
.layer-bg { position: absolute; top: 0; left: 0; width: 100%; height: 70%; background: var(--primary); z-index: 1; border-radius: 0 0 100px 100px; }
.layer-content { position: relative; z-index: 2; margin-top: -50px; }

/* Footer */
.footer { background: #08050D; padding: 80px 0 40px; border-top: 5px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-menu ul { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { color: var(--text-muted); font-size: 0.9rem; }
.footer-menu a:hover { color: var(--accent); }

/* Responsive Gaming */
.rg-block { background: #D9FF2F; color: #221B33; padding: 40px; border-radius: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
@media (min-width: 768px) { .rg-block { flex-direction: row; text-align: left; } }

/* Content Block */
.content-area { max-width: 800px; margin: 0 auto; line-height: 1.8; color: var(--text-muted); }
.content-area h2 { color: var(--text-main); margin-top: 40px; }

/* Utils */
.text-accent { color: var(--accent); }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

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