/*
Theme Name: 1x Slots Co
Theme URI: https://1xslotsco.it.com/
Author: 1x Slots Co
Author URI: https://1xslotsco.it.com/
Description: A clean entertainment games theme for 1xslotsco.it.com.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: onexslotsco
*/

:root {
  --ink: #102033;
  --muted: #5f7288;
  --line: rgba(15, 70, 120, 0.14);
  --panel: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --blue: #1f8fff;
  --blue-deep: #0965c9;
  --aqua: #31d6ef;
  --navy: #071b34;
  --shadow: 0 22px 70px rgba(11, 73, 128, 0.18);
  --radius: 8px;
  --wrap: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(49, 214, 239, 0.16), transparent 34rem),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 42%, #eef8ff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(245, 251, 255, 0.84);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: var(--wrap);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(31, 143, 255, 0.3);
}

.brand-name {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #30506f;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(31, 143, 255, 0.28);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(31, 143, 255, 0.34);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: var(--navy);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(1.08);
  transform: scale(1.035);
  opacity: 0.78;
}

.hero-media::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 20, 42, 0.92), rgba(5, 42, 85, 0.54) 52%, rgba(5, 20, 42, 0.66)),
    linear-gradient(0deg, rgba(244, 251, 255, 1) 0, rgba(244, 251, 255, 0) 110px);
}

.hero-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 104px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #d8f8ff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 16px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 30px;
  color: #dceeff;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ghost-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  font-weight: 800;
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b274a;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.game-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 21, 43, 0.05) 15%, rgba(4, 21, 43, 0.8) 100%);
}

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

.game-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.game-content h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.36rem;
  line-height: 1.1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.game-content .button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.info-band {
  width: var(--wrap);
  margin: 0 auto 82px;
  padding: 34px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 50px rgba(11, 73, 128, 0.08);
}

.info-band strong {
  font-size: 1.18rem;
}

.info-band p {
  margin: 0;
  color: var(--muted);
}

.page-main {
  width: var(--wrap);
  margin: 0 auto;
  padding: 54px 0 80px;
}

.page-title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.game-frame-shell {
  overflow: hidden;
  border-radius: var(--radius);
  background: #071b34;
  border: 1px solid rgba(31, 143, 255, 0.2);
  box-shadow: var(--shadow);
}

.game-frame-top {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #ffffff;
  background: linear-gradient(90deg, #071b34, #0b4c8c);
}

.game-frame-top h1 {
  margin: 0;
  font-size: 1.25rem;
}

.game-frame {
  width: 100%;
  height: min(760px, calc(100vh - 190px));
  min-height: 520px;
  border: 0;
  display: block;
  background: #071b34;
}

.legal-content {
  max-width: 820px;
  color: var(--muted);
}

.legal-content h1,
.legal-content h2 {
  color: var(--ink);
  line-height: 1.15;
}

.site-footer {
  color: #d8ecff;
  background: #071b34;
}

.footer-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.footer-inner h2,
.footer-inner p {
  margin-top: 0;
}

.footer-inner p {
  color: #abc9e7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
}

.footer-links a {
  color: #ffffff;
  font-weight: 700;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  color: #9ab8d5;
  font-size: 0.9rem;
}

.copyright span {
  display: block;
  width: var(--wrap);
  margin: 0 auto;
}

@media (max-width: 860px) {
  .nav-wrap {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding: 92px 0 92px;
  }

  .section-heading,
  .info-band,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-card,
  .game-card img {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: min(100vw - 28px, 1160px);
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .game-content {
    align-items: stretch;
    flex-direction: column;
  }

  .game-content .button {
    width: 100%;
  }

  .info-band {
    padding: 24px;
  }

  .game-frame {
    min-height: 560px;
    height: calc(100vh - 150px);
  }
}
