@media (max-width: 700px) {
  .header-x-link {
    display: none !important;
  }
}
/* Responsive header action buttons */
@media (max-width: 700px) {
  header > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
    min-height: unset !important;
    gap: 0.7em !important;
  }
  header > div[style*="display: flex"] > img {
    margin-bottom: 0.7em !important;
  }
  header > div[style*="display: flex"] > div {
    position: static !important;
    transform: none !important;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.7em !important;
  }
  header > div[style*="display: flex"] a {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    font-size: 1.08rem;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
}
/* FAQ block styling */
.faq-block {
    background: rgba(20, 60, 30, 0.92);
    border-radius: 1em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    margin: 1.5em 0;
    padding: 1.2em 1.5em;
    color: #eafbe1;
    border: 1.5px solid #444;
    background: #232834;
}
.faq-block h2 {
    margin-top: 0;
    color: #b6e2b6;
    font-size: 1.18em;
}
.faq-block p, .faq-block ul {
    margin-bottom: 0;
    color: #eafbe1;
}
/* PokerPad Elegant Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');


:root {
  --bg-main: #181c23;
  --bg-card: #232834;
  --accent: #2ecc71;
  --accent2: #e74c3c;
  --text-main: #f5f6fa;
  --text-muted: #b2becd;

  --header-bg: #1a1f29;
  --footer-bg: #15181f;
  --border-radius: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --link: #ffd700;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: radial-gradient(ellipse at 50% 40%, #184d23 0%, #10381a 80%, #07190c 100%);
  color: var(--text-main);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

header {
  background: var(--header-bg);
  box-shadow: var(--shadow);
  padding: 1.5rem 0 1rem 0;
  text-align: center;
}
header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--accent);
}
nav {
  margin: 0 auto;
}
nav a {
  color: var(--link);
  text-decoration: none;
  margin: 0 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--accent2);
}

main {
  max-width: 820px;
  margin: 2.5rem auto 2rem auto;
  padding: 0 1.5rem;
}
section {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2.2rem;
  padding: 2.2rem 2rem 1.5rem 2rem;
  position: relative;
}
section.hero {
  background: linear-gradient(120deg, #232834 80%, #2ecc71 120%);
  box-shadow: 0 8px 32px rgba(46,204,113,0.08);
  text-align: center;
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}
section.hero h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
section h2 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}
.placeholder {
  background: #232834;
  border: 2px dashed #444b5a;
  color: var(--text-muted);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1.2rem 0 0.5rem 0;
  text-align: center;
  font-style: italic;
}
blockquote {
  background: #20242e;
  border-left: 5px solid var(--accent2);
  margin: 1.2rem 0;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-style: italic;
}
footer {
  background: var(--footer-bg);
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 0 1.2rem 0;
  font-size: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #232834;
}
footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin: 0 0.5rem;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--accent2);
}

/* Buttons (for future use) */
.button, button, input[type="submit"] {
  background: var(--accent);
  color: #181c23;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.5em;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(46,204,113,0.08);
  transition: background 0.2s, color 0.2s;
}
.button:hover, button:hover, input[type="submit"]:hover {
  background: var(--accent2);
  color: #fff;
}

/* Elegant Poker Elements */
.card-container {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.playing-card {
  width: 60px;
  height: 84px;
  background: linear-gradient(135deg, #232834 0%, #181c23 100%);
  border: 1px solid #ffd700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffd700;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  perspective: 600px;
  cursor: pointer;
}

.card-flip {
  transition: none;
}
.card-flip .card-front,
.card-flip .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  border-radius: 6px;
}
.card-flip .card-front {
  z-index: 2;
  background: inherit;
  color: inherit;
}
.card-flip .card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #232834 0%, #181c23 100%);
  color: #ffd700;
  font-size: 2rem;
}
.card-flip.flipped .card-front {
  transform: rotateY(180deg);
}
.card-flip.flipped .card-back {
  transform: rotateY(0deg);
  z-index: 3;
}

.playing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.red-card {
  color: #dc3545;
}

.black-card {
  color: #212529;
}

.table-section {
  background: linear-gradient(135deg, #1a1f29 0%, #232834 100%);
  border: 1px solid var(--accent);
}

.table-section h2,
.table-section p {
  color: var(--text-main);
}

.poker-chip {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.4rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
  transition: transform 0.3s ease;
}

.poker-chip:hover {
  transform: translateY(-2px);
}

.chip-red {
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #e63946);
}

.chip-blue {
  background: radial-gradient(circle at 30% 30%, #4dabf7, #339af0);
}

.chip-green {
  background: radial-gradient(circle at 30% 30%, #51cf66, #40c057);
}

.chip-black {
  background: radial-gradient(circle at 30% 30%, #495057, #343a40);
}

.feature-highlight {
  background: linear-gradient(135deg, #181c23 0%, #232834 100%);
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  margin: 1.5em 0;
  padding: 1.5em 2em;
  color: #fff;
  border: none;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.security-item {
  background: rgba(46, 204, 113, 0.05);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.icon-row {
  font-size: 1.8rem;
  margin: 1rem 0;
  text-align: center;
}

/* Mobile header X button cleanup */
@media (max-width: 700px) {
  .header-x-link {
    position: static !important;
    margin: 0 0 0.7em 0 !important;
    width: 100%;
    max-width: 340px;
    display: flex !important;
    justify-content: center !important;
  }
  header > div[style*="display: flex"] > img {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
  }
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 0 0.5rem;
  }
  section {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  section.hero {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .playing-card {
    width: 45px;
    height: 63px;
    font-size: 1.1rem;
  }
  .poker-chip {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
}
