/*
Theme Name: SlotsVibe
Theme URI: https://slotsvibe.it.com/
Author: SlotsVibe
Description: A bright, modern theme for SlotsVibe social games.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: slotsvibe
*/

:root {
  --sv-ink: #172033;
  --sv-muted: #62708a;
  --sv-line: #dfe7f0;
  --sv-soft: #f4f8fc;
  --sv-paper: #ffffff;
  --sv-blue: #1178ff;
  --sv-cyan: #22c4e8;
  --sv-gold: #f3b53a;
  --sv-radius: 8px;
  --sv-shadow: 0 18px 55px rgba(29, 51, 86, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sv-ink);
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 45%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.sv-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.sv-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(190, 204, 222, 0.72);
  backdrop-filter: blur(18px);
}

.sv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.sv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sv-ink);
  font-weight: 800;
  text-decoration: none;
}

.sv-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.sv-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--sv-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.sv-menu a {
  text-decoration: none;
}

.sv-menu a:hover,
.sv-menu a:focus-visible {
  color: var(--sv-blue);
}

.sv-hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef6ff;
}

.sv-hero::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
  filter: blur(9px) saturate(0.96);
  transform: scale(1.04);
  opacity: 0.58;
}

.sv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0%, rgba(247, 251, 255, 0.88) 45%, rgba(247, 251, 255, 0.44) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.86));
}

.sv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 44px;
  padding: 76px 0 86px;
}

.sv-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(17, 120, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #255176;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sv-hero h1 {
  margin: 18px 0 18px;
  max-width: 700px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.sv-hero p {
  max-width: 600px;
  margin: 0;
  color: #41506a;
  font-size: 1.1rem;
}

.sv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.sv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sv-blue), var(--sv-cyan));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 13px 24px rgba(17, 120, 255, 0.24);
}

.sv-button:hover,
.sv-button:focus-visible {
  transform: translateY(-1px);
}

.sv-button-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--sv-ink);
  border: 1px solid rgba(17, 120, 255, 0.22);
  box-shadow: none;
}

.sv-hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--sv-shadow);
}

.sv-hero-panel img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  filter: blur(3px) saturate(0.92);
  transform: scale(1.03);
}

.sv-hero-panel span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  min-height: 44px;
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--sv-ink);
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(21, 38, 61, 0.14);
}

.sv-section {
  padding: 74px 0;
}

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

.sv-section h2,
.sv-game-copy h1,
.sv-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.sv-section-head p,
.sv-game-copy p,
.sv-page p {
  max-width: 620px;
  margin: 0;
  color: var(--sv-muted);
}

.sv-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sv-card {
  position: relative;
  overflow: hidden;
  min-height: 342px;
  border-radius: 8px;
  background: #dcecff;
  box-shadow: var(--sv-shadow);
}

.sv-card img {
  width: 100%;
  height: 100%;
  min-height: 342px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.sv-card:hover img {
  transform: scale(1.025);
}

.sv-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 96px 22px 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0), rgba(10, 16, 32, 0.78));
}

.sv-card h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.sv-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.sv-card .sv-button {
  flex: 0 0 auto;
  background: #ffffff;
  color: #10213d;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.sv-note-band {
  padding: 44px 0;
  background: #f7fbff;
  border-top: 1px solid var(--sv-line);
  border-bottom: 1px solid var(--sv-line);
}

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

.sv-note {
  padding: 0;
}

.sv-note strong {
  display: block;
  margin-bottom: 6px;
  color: #21324f;
}

.sv-note p {
  margin: 0;
  color: var(--sv-muted);
}

.sv-footer {
  padding: 54px 0 38px;
  color: #d9e3f1;
  background: #121d31;
}

.sv-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 34px;
}

.sv-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.35rem;
}

.sv-footer p {
  margin: 0 0 12px;
  color: #b9c7db;
}

.sv-footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

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

.sv-footer-small {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #98a8bf;
  font-size: 0.9rem;
}

.sv-game-main {
  min-height: calc(100vh - 72px);
  padding: 34px 0 58px;
}

.sv-game-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.sv-frame-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #101b2e;
  box-shadow: var(--sv-shadow);
}

.sv-frame {
  display: block;
  width: 100%;
  height: min(74vh, 760px);
  min-height: 560px;
  border: 0;
  background: #101b2e;
}

.sv-page {
  max-width: 860px;
  padding: 64px 0;
}

.sv-page h1 {
  margin-bottom: 18px;
}

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

  .sv-menu {
    gap: 12px;
    font-size: 0.86rem;
  }

  .sv-hero {
    min-height: auto;
  }

  .sv-hero-grid,
  .sv-footer-grid,
  .sv-game-copy {
    grid-template-columns: 1fr;
  }

  .sv-hero-grid {
    padding: 56px 0 64px;
  }

  .sv-hero-panel,
  .sv-hero-panel img {
    min-height: 300px;
  }

  .sv-game-grid,
  .sv-note-grid {
    grid-template-columns: 1fr;
  }

  .sv-card,
  .sv-card img {
    min-height: 286px;
  }

  .sv-card-overlay {
    align-items: stretch;
    flex-direction: column;
  }

  .sv-card .sv-button {
    width: fit-content;
  }

  .sv-frame {
    height: 72vh;
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .sv-shell {
    width: min(100% - 24px, 1160px);
  }

  .sv-brand span {
    font-size: 0.98rem;
  }

  .sv-menu {
    display: none;
  }

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

  .sv-button {
    width: 100%;
  }

  .sv-section {
    padding: 52px 0;
  }

  .sv-card,
  .sv-card img {
    min-height: 248px;
  }

  .sv-frame {
    min-height: 430px;
  }
}
