/*!
Theme Name: Ice 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: ice-casino
*/

:root {
  --primary: #15324A;
  --accent: #38BDF8;
  --bg-dark: #0A1929;
  --text-light: #F8FAFC;
  --text-dim: #94A3B8;
  --token-radius-base: 4px;
  --layout-density: 4rem;
  --shadow-type: 4px 4px 0px 0px rgba(56, 189, 248, 0.3);
  --glass-bg: rgba(21, 50, 74, 0.6);
  --glass-border: 1px solid rgba(56, 189, 248, 0.2);
  --holographic-gradient: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
}

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

main {
  display: flex;
  flex-direction: column;
  gap: var(--layout-density);
}

section {
  padding: var(--layout-density) 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: var(--holographic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* SIGNATURE ELEMENT: Iridescent Border Animation */
@keyframes holographic-pulse {
  0% { border-color: #38BDF8; }
  50% { border-color: #C084FC; }
  100% { border-color: #38BDF8; }
}

.holographic-border {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box, var(--holographic-gradient) border-box;
  animation: holographic-pulse 3s infinite linear;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: var(--token-radius-base);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--holographic-gradient);
  color: white;
  box-shadow: var(--shadow-type);
}

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

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  backdrop-filter: blur(4px);
}

/* CARDS */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: var(--token-radius-base);
  padding: 2rem;
}

.card-bordered {
  border: 1px solid var(--accent);
  background: transparent;
  padding: 2rem;
  box-shadow: var(--shadow-type);
}

.card-layered {
  position: relative;
  background: var(--primary);
  padding: 2rem;
  z-index: 1;
}

.card-layered::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  z-index: -1;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(10, 25, 41, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: var(--glass-border);
}

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

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    gap: 2rem;
  }
}

/* GRID SYSTEMS */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

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

/* SECTIONS */
.hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent);
}

.hero-section h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--token-radius-base);
  aspect-ratio: 3/4;
}

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

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

.game-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, var(--bg-dark));
}

.footer {
  background: var(--primary);
  padding: 4rem 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  :root {
    --layout-density: 2.5rem;
  }
  h2 {
    font-size: 1.75rem;
  }
}

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