:root {
  --primary-ink: #1b1f2a;
  --accent-glow: #f76b1c;
  --soft-canvas: #faf7f2;
  --panel-bg: #ffffff;
  --border-soft: #e2ddd5;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--soft-canvas);
  color: var(--primary-ink);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: #0066cc;
}

.site-header-blog {
  background: var(--primary-ink);
  color: #ffffff;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.header-inner-blog {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-logo-blog img {
  border-radius: 10px;
}

.main-nav-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.main-nav-blog a {
  color: #ffffff;
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.main-nav-blog a:hover {
  border-bottom-color: var(--accent-glow);
}

.hero-section-games {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
  background: linear-gradient(145deg, #fdf1e7 0%, #ffffff 100%);
  border-radius: 20px;
  margin-top: 28px;
}

.welcome-greeting {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}

.intro-before-title {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: #555;
}

.hero-section-games h1 {
  font-size: 2.8rem;
  margin-bottom: 14px;
  color: var(--primary-ink);
}

.hero-description-text {
  font-size: 1.2rem;
  color: #444;
  max-width: 760px;
  margin: 0 auto 28px;
}

.cta-button-games {
  display: inline-block;
  background: var(--accent-glow);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button-games:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247, 107, 28, 0.35);
}

.games-preview-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 24px;
}

.games-preview-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.games-preview-section > p {
  max-width: 800px;
  margin-bottom: 24px;
}

.game-card-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.preview-card-game {
  background: var(--panel-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.preview-card-game:hover {
  transform: translateY(-4px);
}

.preview-card-game img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.preview-card-game h3 {
  padding: 16px 16px 4px;
  font-size: 1.3rem;
}

.preview-card-game p {
  padding: 0 16px 12px;
  color: #555;
}

.preview-card-game a {
  display: inline-block;
  margin: 0 16px 16px;
  font-weight: 600;
  color: var(--accent-glow);
}

.why-trust-block,
.how-we-choose {
  max-width: 1200px;
  margin: 28px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
}

.why-trust-block ul {
  margin: 16px 0 0 20px;
}

.site-footer-blog {
  background: var(--primary-ink);
  color: #ccd0d9;
  padding: 28px 24px;
  text-align: center;
  margin-top: 40px;
}

.footer-nav-blog {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav-blog a {
  color: #ccd0d9;
  text-decoration: underline;
}

.cookie-banner-style {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

.cookie-banner-style p {
  margin-right: 10px;
}

.cookie-banner-style button {
  background: var(--accent-glow);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner-style button:nth-child(3) {
  background: #555;
}

.cookie-banner-style button:nth-child(4) {
  background: #444;
}

.cookie-banner-style a {
  color: #ffb090;
  text-decoration: underline;
}

.about-main-content,
.faq-main-wrap,
.contact-main-wrap,
.blog-main-postlist,
.single-post-main {
  max-width: 1100px;
  margin: 36px auto;
  padding: 24px;
}

.about-main-content h1,
.faq-main-wrap h1,
.contact-main-wrap h1,
.blog-main-postlist h1,
.single-post-main h1 {
  margin-bottom: 18px;
}

.team-grid-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.team-card-about {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.team-card-about img {
  border-radius: 50%;
  margin: 0 auto 12px;
  object-fit: cover;
  width: 120px;
  height: 120px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.contact-item-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

.contact-form-wrap {
  margin-top: 30px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
}

.contact-form-wrap label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 4px;
  font-family: inherit;
}

.submit-btn-contact {
  margin-top: 18px;
  background: var(--accent-glow);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
}

.thankyou-popup {
  margin-top: 20px;
  background: #e6ffea;
  padding: 16px;
  border-radius: 10px;
  color: #1b6b2e;
}

.faq-item-block {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.faq-item-block h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.post-listing-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.post-listing-card img {
  width: 280px;
  object-fit: cover;
  border-radius: 10px;
}

.post-listing-card h2 {
  font-size: 1.5rem;
}

.single-post-main img {
  border-radius: 14px;
  margin: 20px 0;
}

.official-link-btn {
  display: inline-block;
  background: #1a7f37;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .hero-section-games h1 {
    font-size: 2rem;
  }
  .header-inner-blog {
    flex-direction: column;
  }
  .post-listing-card {
    flex-direction: column;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  color: #fff;
  font-size: 24px;
  font-weight: 750;
}