/* Flowonex - Free-to-play social casino games landing page */
:root {
  --bg-dark: #0a0812;
  --bg-card: #12101a;
  --bg-elevated: #161320;
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --gold-dim: #9a8530;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00aa;
  --neon-glow: rgba(0, 245, 255, 0.4);
  --text: #e8e6ed;
  --text-muted: #a09bb0;
  --border: rgba(212, 175, 55, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: 'Outfit', -apple-system, sans-serif;
  --font-display: 'Playfair Display', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 18, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 3rem;
  max-height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo:hover {
  color: var(--gold-light);
}

.logo:hover .logo-img {
  opacity: 0.95;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gold);
}

.nav-active {
  color: var(--gold);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 245, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 0.75rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.hero-compliance {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
}

.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
}

.cta-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: none;
}

.cta-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: none;
}

.games-cta-wrap {
  text-align: center;
  margin: 2rem 0 0;
}

.games-cta-wrap .cta-btn {
  margin-top: 0;
}

/* Section titles */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.5rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

/* Games section */
.games {
  padding: 1rem 0;
  background: var(--bg-card);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.08);
}

/* Game room style */
.games-rooms {
  gap: 1.75rem;
}

.game-room {
  position: relative;
  padding: 1.5rem 1.75rem 2rem;
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 2px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.08), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.game-room::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 50%, rgba(212, 175, 55, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.game-room:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.12), 0 0 28px rgba(0, 245, 255, 0.1), 0 6px 24px rgba(0, 0, 0, 0.25);
}

.game-room-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  padding: 0.25rem 0.6rem;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.game-room .game-thumb {
  margin-bottom: 1.25rem;
}

.game-room .game-btn-play {
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.game-room .game-btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
}

.game-thumb {
  width: 100%;
  max-width: 160px;
  height: 100px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.game-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.game-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.game-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  flex-grow: 1;
}

.game-badges {
  font-size: 0.75rem;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}

.game-btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.game-btn:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
}

/* How It Works */
.how-it-works {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--neon-cyan), var(--gold));
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px var(--neon-glow);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsible Play */
.responsible {
  padding: 4rem 0;
  background: var(--bg-card);
}

.responsible-intro {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.responsible-list {
  max-width: 400px;
  margin: 0 auto;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.responsible-list li {
  margin-bottom: 0.5rem;
}

.responsible-cta {
  text-align: center;
  margin: 1rem 0 0;
}

.link-gold {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.link-gold:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* About */
.about {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.about .container p {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
}

/* Disclaimer */
.disclaimer {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
}

.disclaimer-inner {
  text-align: center;
}

.disclaimer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1rem;
}

.disclaimer-inner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.4rem 0;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-age {
  font-size: 0.8rem;
  color: var(--gold-dim);
  margin: 0;
}

/* Games page */
.games-page .games-section {
  padding: 3rem 0 4rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.5rem;
  text-align: center;
}

.games-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.5rem;
  text-align: center;
}

.games-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

.games-legal {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 2.5rem 0 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
}

/* Inner pages (About, Contact, etc.) */
.page-content {
  padding: 3rem 0 4rem;
  max-width: 680px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-content h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p,
.page-content ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a[href] {
  color: var(--gold);
}

.page-content a[href]:hover {
  color: var(--gold-light);
}

/* Contact form */
.contact-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-form .cta-btn {
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    gap: 1rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

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

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

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
