
/* ================= CLEAN HERO SYSTEM ================= */

.hero-card-section {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start !important;
}

.hero-card {
  width: 100%;
  max-width: 1300px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(148,163,184,0.25);
  background: linear-gradient(145deg,#020617,#0a0f24);
  margin: 0 auto;
  height: auto !important;
  flex: 0 0 auto;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
}

.hero-content {
  position:absolute;
  inset:0;
  padding:2rem;
  z-index:2;
  color:white;
  display:flex;
  flex-direction:column;
  gap:1rem;
  justify-content:flex-end;
}


* { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:linear-gradient(135deg, rgba(0,0,0,0.8), rgba(15,23,42,0.9)),
      url("images/hub-bg.webp") center center / cover no-repeat fixed;
        
      color: #e5e7eb;
      
      display: block;
    }

    .hidden { display: none !important; }

    /* --------- LAYOUT WRAPPER: SIDE ADS + MAIN CONTENT --------- */
    .page-wrap {
	  width: 100%;
	  padding: 12px;
	  display: block;   /* remove flex */
	      width: 100%;
    max-width: 1300px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(145deg, #020617, #0a0f24);
    box-shadow: none;
    position: relative;
    margin: 0 auto;
    background-attachment: scroll;
	}





    /* --------- MAIN CONTENT (HUB) --------- */
  .main-content {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;   /* THIS centers it */
  background: rgba(0,0,0,0.6);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
}

}

 
  
    .hero-content nav{ margin-top: 10px; display:flex; gap:15px; flex-wrap:wrap; }
    .hero-content h1{ margin: 0 0 0.4rem; font-size: 1.7rem; letter-spacing: 0.03em; }
    .hero-content p{ margin: 0; opacity: 0.85; font-size: 0.9rem; max-width: 980px; }
    header h1 {
      margin: 0 0 0.4rem;
      font-size: 1.7rem;
      letter-spacing: 0.03em;
    }

    header p {
      margin: 0;
      opacity: 0.8;
      font-size: 0.9rem;
    }



    .badge-row .pill {
      border-radius: 999px;
      border: 1px solid #374151;
      padding: 0.15rem 0.6rem;
      background: rgba(15,23,42,0.85);
    }

    /* --------- FILTERS BAR --------- */
    .filters-bar {
      max-width: 1300px;
      margin: 0.7rem auto 0.2rem;
      padding: 0.6rem 0.4rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      justify-content: space-between;
    }

    .filters-left,
    .filters-right {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
    }

    .search-input {
      background: #020617;
      border-radius: 999px;
      border: 1px solid #374151;
      padding: 0.45rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.9rem;
      min-width: 210px;
      outline: none;
    }

    .search-input::placeholder { color: #6b7280; }

    .type-select {
      background: #020617;
      border-radius: 999px;
      border: 1px solid #374151;
      padding: 0.4rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.85rem;
    }

    .btn-secondary {
      background: #020617;
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.4rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.85rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }

    .btn-secondary:hover {
      background: #111827;
      border-color: #6366f1;
      transform: translateY(-1px);
    }

    .content-scroll {
		  
		   width:100%;
	  max-width:1300px;
	  height: auto;
	  border-radius:16px;
	  overflow:hidden;
	  border:1px solid rgba(148,163,184,0.25);
	  background:linear-gradient(145deg,#020617,#0a0f24);
	  box-shadow:none;
	  position:relative;
	  margin: 0 auto;  
      background-attachment: scroll; /* fixed backgrounds can lag on mobile */
  }

      
      border-top: 1px solid rgba(255,255,255,0.08);
    }
	.ng-grid {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 20px;
	  justify-content: center;
	}

	.ng-card {
	  width: 280px;
	  background: #0f172a;
	  padding: 15px;
	  border-radius: 12px;
	  border: 1px solid #374151;
	  text-decoration: none;
	  color: #e5e7eb;
	}

	.ng-card h3 {
	  margin-top: 10px;
	  font-size: 1rem;
	  color: #93c5fd;
	}

	.ng-thumb {
	  width: 100%;
	  border-radius: 10px;
	}



    /* --------- CATEGORY TITLES (ANIMATED BANNERS) --------- */
    .category-title {
      max-width: 1300px;
      margin: 1.1rem auto 0.4rem;
      font-size: 1.2rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      background: linear-gradient(120deg, rgba(79,70,229,0.2), rgba(236,72,153,0.12), rgba(56,189,248,0.16));
      background-size: 200% 200%;
      animation: bannerGlow 10s linear infinite;
      border: 1px solid rgba(99,102,241,0.45);
      box-shadow: 0 10px 25px rgba(15,23,42,0.8);
    }
	/* === GAME GRID LAYOUT === */
	/* LAYOUT GRID – for both .grid and .game-grid */
	.grid,
	.game-grid {
		display: grid !important;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 22px;
		align-items: start;
	}

	/* Card appearance */
	.game-card {
		border: 1px solid rgba(147, 197, 253, 0.15);
		border-radius: 12px;
		padding: 10px;
		display: block;
		transition: all 0.25s ease;
		background: rgba(0,0,0,0.25);
		position: relative;
	}

	/* Hover glow */
	.game-card:hover {
		border-color: #60a5fa;
		box-shadow: 0 0 18px rgba(96,165,250,0.45);
		transform: translateY(-3px);
	}

	/* Thumbnail images */
	.game-thumb {
		width: 100%;
		height: auto;
		border-radius: 10px;
		margin-bottom: 10px;
	}



    .category-title span.label { opacity: 0.95; }
    .category-title span.sub { font-size: 0.8rem; color: #9ca3af; opacity: 0.9; }

    @keyframes bannerGlow {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .grid {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
      gap: 1.2rem;
    }

    .card {
      position: relative;
      background: #020617;
      border-radius: 1rem;
      padding: 1.5rem 1.8rem;
      border: 1px solid #111827;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
      display: flex;
      flex-direction: column;
      gap: .6rem;
      min-height: 200px;
      font-size:0.8rem;
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: #6366f1;
      background: radial-gradient(circle at top left, rgba(90,70,255,0.25), #020617 40%);
      box-shadow: 0 16px 32px rgba(15,23,42,0.9);
    }

    .card-header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .card a {
      font-size: 1.2rem;
      font-weight: 700;
      color: #e5e7eb;
      text-decoration: none;
    }

    .card-desc {
      font-size: 0.9rem;
      line-height: 1.3rem;
      color: #cbd5f5;
    }

    .tag-row { margin-top: 0.2rem; }

    .tag {
      font-size: 0.7rem;
      display: inline-block;
      border: 1px solid #4b5563;
      padding: 0.15rem .45rem;
      border-radius: 999px;
      opacity: 0.93;
      margin-right: 0.25rem;
      margin-top: 0.1rem;
      background: rgba(15,23,42,0.9);
    }

    .badge-new {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 0.18rem 0.5rem;
      border-radius: 999px;
      background: linear-gradient(135deg, #22c55e, #a3e635);
      color: #022c22;
      border: 1px solid rgba(34,197,94,0.9);
      box-shadow: 0 0 10px rgba(34,197,94,0.4);
      white-space: nowrap;
    }

    .most-played {
      border-color: #facc15 !important;
      box-shadow: 0 0 0 1px rgba(250,204,21,0.4), 0 20px 40px rgba(15,23,42,0.95);
    }

.badge-most-played {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #facc15;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(250,204,21,0.7);
}

    footer {
      text-align: center;
      padding: 0.8rem 1rem 1rem;
      font-size: .78rem;
      color: #9ca3af;
      border-top: 1px solid #111827;
        background:
		linear-gradient(135deg, rgba(0,0,0,0.82), rgba(15,23,42,0.92)),
		
    }

    footer span { opacity: 0.9; }

    /* ================== COOKIE BANNER ================== */
    .cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background: rgba(15,23,42,0.98);
      border-top: 1px solid #374151;
      box-shadow: 0 -12px 30px rgba(0,0,0,0.75);
      padding: 0.9rem 1rem;
      display: flex;
      justify-content: center;
    }

    .cookie-inner {
      max-width: 960px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: #e5e7eb;
    }

    .cookie-text {
      flex: 1 1 260px;
      line-height: 1.3rem;
    }

    .cookie-text a {
      color: #93c5fd;
      text-decoration: underline;
    }

    .cookie-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: flex-end;
    }

    .btn-cookie-primary {
      background: linear-gradient(135deg, #4f46e5, #6366f1);
      border-radius: 999px;
      border: none;
      padding: 0.45rem 1.1rem;
      color: #e5e7eb;
      font-size: 0.8rem;
      cursor: pointer;
      font-weight: 600;
      box-shadow: 0 10px 20px rgba(79,70,229,0.6);
    }

    .btn-cookie-secondary {
      background: transparent;
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.45rem 1rem;
      color: #e5e7eb;
      font-size: 0.8rem;
      cursor: pointer;
    }

    /* ================== PRIVACY MODAL ================== */
    .privacy-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,0.85);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
    }

    .privacy-modal {
      background: #020617;
      border-radius: 1rem;
      border: 1px solid #374151;
      max-width: 540px;
      width: 100%;
      padding: 1.5rem 1.6rem 1.2rem;
      box-shadow: 0 24px 60px rgba(0,0,0,0.85);
    }

    .privacy-modal h2 {
      margin: 0 0 0.5rem;
      font-size: 1.1rem;
    }

    .privacy-modal p {
      font-size: 0.86rem;
      line-height: 1.4rem;
      color: #e5e7eb;
      margin: 0.3rem 0;
    }

    .privacy-modal ul {
      margin: 0.4rem 0 0.6rem;
      padding-left: 1.1rem;
      font-size: 0.82rem;
      color: #d1d5db;
    }

    .privacy-modal a {
      color: #93c5fd;
      text-decoration: underline;
    }

    .modal-actions {
      margin-top: 0.8rem;
      display: flex;
      justify-content: flex-end;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .btn-outline {
      background: transparent;
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.4rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.8rem;
      cursor: pointer;
    }



    /* ================== PRIVACY SETTINGS FLOATING BUTTON ================== */
    .privacy-settings-btn {
      position: fixed;
      bottom: 1.2rem;
      left: 1rem;
      z-index: 9998;
      background: rgba(15,23,42,0.95);
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.35rem 0.85rem;
      font-size: 0.78rem;
      color: #e5e7eb;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }

    .privacy-settings-btn span { font-size: 0.85rem; }






  
.fa-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(148,163,184,0.25);
}


/* === Enhanced Neon Article Cards (Medium Glow) === */
.fa-card {
  position: relative;
  width: 260px;
  height: 320px; /* 🔥 FIXED height — prevents CLS */
  
  background: linear-gradient(145deg, #020617, #0a0f24);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 14px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}

.fa-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: #818cf8;
  box-shadow: 0 20px 45px rgba(56,189,248,0.35), 0 0 25px rgba(99,102,241,0.45);
}
.fa-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(148,163,184,0.25);
  transition: opacity .2s ease;
}
.fa-card:hover .fa-thumb {
  opacity: 0.92;
}
.fa-card h3 {
  margin: 0 0 8px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: #e0e7ff;
}
.fa-card p {
  margin: 0 0 12px;
  color: #cbd5f5;
  font-size: .88rem;
  line-height: 1.28rem;
  opacity: 0.92;
}
.fa-more-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: .8rem;
  border-radius: 999px;
  background: rgba(79,70,229,0.25);
  border: 1px solid rgba(99,102,241,0.55);
  color: #e5e7eb;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
  margin-top: -15px;
}
.fa-card:hover .fa-more-btn {
  background: rgba(99,102,241,0.35);
  border-color: #a5b4fc;
  transform: translateY(-1px);
}
/* ===== UNIFORM ARTICLE CARD SIZE ===== */
.fa-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Smaller, fixed-size article cards */
.fa-card {
  position: relative;
  width: 260px;
  height: 320px; /* 🔥 FIXED height — prevents CLS */
  
  background: linear-gradient(145deg, #020617, #0a0f24);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 14px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}


.fa-card h3 {
  text-align: center;
  font-size: 0.9rem !important;
  min-height: 48px;            /* Keep titles aligned */
}

.fa-card p {
  text-align: center;
  font-size: 0.85rem !important;
  min-height: 54px;            /* Align descriptions */
}

/* Thumbnails resized */
.fa-thumb {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px !important;
}

/* ---------- FEEDBACK COMMENT THREAD FIX ---------- */
.feedback-comment {
    text-align: left !important;
    margin-left: 22px;
    padding: 2px 8px;
    border-left: 2px solid #4ea1ff33;
    background: rgba(255,255,255,0.015);
    border-radius: 6px;
	margin-top: 32px;
	 opacity: 0.8;
	 font-size: 12px;
}



.feedback-user {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.feedback-date {
    font-size: 11px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.feedback-text {
    white-space: pre-wrap;
    line-height: 1.5;
}

.feedback-reply-btn {
    float: right;
    margin-top: 32px;
    padding: 2px 8px;
    background: none;
    border: none;
    color: #4ea1ff;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
}
.feedback-reply-btn:hover {
    opacity: 1;
}

.feedback-reply-thread {
    margin-left: 24px;
    border-left: 2px solid #4ea1ff11;
    padding-left: 16px;
    margin-top: 10px;
}

/* ====== NEON COMMENT DESIGN ====== */

.feedback-comment,
.feedback-reply-thread {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 255, 255, 0.28);
    box-shadow: 0 0 10px rgba(0,255,255,0.15);
    backdrop-filter: none;
	

    opacity: 0.9;
}

/* Stronger glow on hover */
.feedback-comment:hover,
.feedback-reply-thread:hover {
    box-shadow: 0 0 14px rgba(0,255,255,0.45);
    border-color: rgba(0,255,255,0.55);
}

/* USER + DATE on same row */
.feedback-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.feedback-user {
    font-weight: 600;
    color: #4eeaff;
    font-size: 14px;
}

.feedback-date {
    font-size: 12px;
    opacity: 0.75;
    color: #cfffef;
}

/* Comment text */
.feedback-text {
    white-space: pre-wrap;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #e5e5e5;
}

/* Reply button left-aligned */

/* FORCE reply comments to be left aligned */
/* Replies should be clearly indented deeper than parent comment */
.feedback-reply-thread {
    text-align: left !important;
    margin-left: 38px; /* was 22px – now replies move further right */
    padding: 8px 12px;
    border-left: 2px solid #4ea1ff33;
    background: rgba(255,255,255,0.02); /* lighter than parent comment */
    border-radius: 6px;

    /* Thinner look */
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.9;
}

/* Username inside replies */
.feedback-reply-thread .feedback-user {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #7ec8ff;
}

/* Timestamp inside replies */
.feedback-reply-thread .feedback-date {
    font-size: 10px;
    opacity: 0.6;
    margin-bottom: 4px;
}

/* Reply text */
.feedback-reply-thread .feedback-text {
    font-size: 13px;
}

/* Reply button inside replies */
.feedback-reply-thread .feedback-reply-btn {
    font-size: 11px;
    margin-top: 24px;
}

.reply-level {
    margin-left: 34px; /* every recursion shifts further right */
}
 


.hero-img {
  width: 100%;
  height: auto;       /* imaginea își păstrează proporțiile */
  object-fit: contain; /* NU se taie niciodată */
}


.badge-row{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}
.badge{
  padding:4px 10px;
  border:1px solid rgba(148,163,184,0.25);
  border-radius:8px;
  background:rgba(0,0,0,0.35);
  font-size:0.85rem;
}
.hero-nav {
  color:#93c5fd;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ====== SEO / VALUE SECTIONS ====== */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:12px;
  top:12px;
  width:auto;
  height:auto;
  padding:10px 14px;
  border-radius:10px;
  background:rgba(2,6,23,0.92);
  border:1px solid rgba(56,189,248,0.55);
  color:#e5e7eb;
  z-index:100000;
  box-shadow:0 0 18px rgba(56,189,248,0.35);
}

.value-wrap{
  max-width:1300px;
  margin: 0.8rem auto 1.1rem;
  padding: 0.9rem 1rem 1.0rem;
  border-radius: 16px;
  border: 1px solid rgba(99,102,241,0.35);
  background: linear-gradient(145deg, rgba(2,6,23,0.70), rgba(15,23,42,0.62));
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}
.value-head{
  display:flex;
  flex-wrap:wrap;
  gap:0.6rem 1rem;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:0.7rem;
}
.value-head h2{
  margin:0;
  font-size:1.15rem;
  letter-spacing:0.02em;
}
.value-head p{
  margin:0;
  opacity:0.88;
  font-size:0.9rem;
  line-height:1.35rem;
  max-width: 820px;
}
.value-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.value-card{
  border-radius: 14px;
  border: 1px solid rgba(56,189,248,0.18);
  background: rgba(2,6,23,0.55);
  padding: 0.85rem 0.95rem;
  overflow:hidden;
  position:relative;
}
.value-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(circle at 30% 20%, rgba(56,189,248,0.16), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(236,72,153,0.10), transparent 60%);
  pointer-events:none;
}
.value-card h3{ position:relative; margin:0 0 0.35rem; font-size:0.98rem; }
.value-card p{ position:relative; margin:0; opacity:0.88; font-size:0.86rem; line-height:1.35rem; color:#dbeafe; }
.value-links{ position:relative; margin-top:0.55rem; display:flex; flex-wrap:wrap; gap:0.45rem; }
.value-links a{
  display:inline-flex;
  align-items:center;
  gap:0.35rem;
  padding:0.25rem 0.6rem;
  border-radius:999px;
  border:1px solid rgba(147,197,253,0.35);
  background:rgba(2,6,23,0.55);
  color:#93c5fd;
  text-decoration:none;
  font-size:0.78rem;
}
.value-links a:hover{
  border-color: rgba(56,189,248,0.65);
  box-shadow: 0 0 16px rgba(56,189,248,0.18);
}

/* FAQ block */
.faq-wrap{
  max-width:1300px;
  margin: 0.0rem auto 1.1rem;
  padding: 0.9rem 1rem 1.0rem;
  border-radius: 16px;
  border: 1px solid rgba(236,72,153,0.22);
  background: rgba(2,6,23,0.55);
}
.faq-wrap h2{ margin:0 0 0.6rem; font-size:1.1rem; }
.faq{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.7rem 1rem;
}

.faq-item{
  border:1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  background: rgba(15,23,42,0.55);
  padding: 0.75rem 0.85rem;
}
.faq-item h3{ margin:0 0 0.35rem; font-size:0.95rem; color:#e5e7eb; }
.faq-item p{ margin:0; font-size:0.86rem; line-height:1.35rem; color:#cbd5f5; opacity:0.92; }


.mobile-nav-toggle {
  display:none;
  cursor:pointer;
  font-size:22px;
  color:#93c5fd;
  padding:10px;
}



.game-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;   /* Poki-style thumbnail ratio */
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: #0f172a; /* fallback neon background */
}
.game-grid {
    display: grid !important;
    
    gap: 20px;
    max-width: 1300px;
    margin: 20px auto;
    padding-bottom: 20px;
}
.game-card {
    transition: transform 0.15s ease, box-shadow 0.3s ease;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 14px;
    padding: 10px;
	position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(96,165,250,0.35);
    border-color: #60a5fa;
}
.game-card:hover .game-thumb {
    transform: scale(1.04);
    filter: brightness(1.15);
}
.value-head {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    flex-wrap:wrap;
}
.value-intro{
  flex: 1 1 600px;
  max-width: 65%;
}

.value-side{
  flex: 0 0 320px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:1rem;
}



    /* --------- MAIN CONTENT (HUB) --------- */
    .main-content {     width: 100%;
    max-width: 1300px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(145deg, #020617, #0a0f24);
    box-shadow: none;
    position: relative;
    margin: 0 auto;
    background-attachment: scroll;
	    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    overflow: hidden;
	
	}

   
    header h1 {
      margin: 0 0 0.4rem;
      font-size: 1.7rem;
      letter-spacing: 0.03em;
    }

    header p {
      margin: 0;
      opacity: 0.8;
      font-size: 0.9rem;
    }

    .badge-row {
      margin-top: 0.6rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      font-size: 0.7rem;
      color: #9ca3af;
    }

    .badge-row .pill {
      border-radius: 999px;
      border: 1px solid #374151;
      padding: 0.15rem 0.6rem;
      background: rgba(15,23,42,0.85);
    }

    /* --------- FILTERS BAR --------- */
    .filters-bar {
      max-width: 1300px;
      margin: 0.7rem auto 0.2rem;
      padding: 0.6rem 0.4rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      justify-content: space-between;
    }

    .filters-left,
    .filters-right {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
    }

    .search-input {
      background: #020617;
      border-radius: 999px;
      border: 1px solid #374151;
      padding: 0.45rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.9rem;
      min-width: 210px;
      outline: none;
    }

    .search-input::placeholder { color: #6b7280; }

    .type-select {
      background: #020617;
      border-radius: 999px;
      border: 1px solid #374151;
      padding: 0.4rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.85rem;
    }

    .btn-secondary {
      background: #020617;
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.4rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.85rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }

    .btn-secondary:hover {
      background: #111827;
      border-color: #6366f1;
      transform: translateY(-1px);
    }
  
      
      
      border-top: 1px solid rgba(255,255,255,0.08);
    }
	.ng-grid {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 20px;
	  justify-content: center;
	}

	.ng-card {
	  width: 280px;
	  background: #0f172a;
	  padding: 15px;
	  border-radius: 12px;
	  border: 1px solid #374151;
	  text-decoration: none;
	  color: #e5e7eb;
	}

	.ng-card h3 {
	  margin-top: 10px;
	  font-size: 1rem;
	  color: #93c5fd;
	}

	.ng-thumb {
	  width: 100%;
	  border-radius: 10px;
	}



    /* --------- CATEGORY TITLES (ANIMATED BANNERS) --------- */
    .category-title {
      max-width: 1300px;
      margin: 1.1rem auto 0.4rem;
      font-size: 1.2rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      background: linear-gradient(120deg, rgba(79,70,229,0.2), rgba(236,72,153,0.12), rgba(56,189,248,0.16));
      background-size: 200% 200%;
      animation: bannerGlow 10s linear infinite;
      border: 1px solid rgba(99,102,241,0.45);
      box-shadow: 0 10px 25px rgba(15,23,42,0.8);
	      width: 100%;
    max-width: 1300px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(145deg, #020617, #0a0f24);
    box-shadow: none;
    position: relative;
    margin: 0 auto;
    background-attachment: scroll;
    }
	/* === GAME GRID LAYOUT === */
	/* LAYOUT GRID – for both .grid and .game-grid */
	.grid,
	.game-grid {
		display: grid !important;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 22px;
		align-items: start;
	}

	/* Card appearance */
	.game-card {
		border: 1px solid rgba(147, 197, 253, 0.15);
		border-radius: 12px;
		padding: 10px;
		display: block;
		transition: all 0.25s ease;
		background: rgba(0,0,0,0.25);
		position: relative;
	}

	/* Hover glow */
	.game-card:hover {
		border-color: #60a5fa;
		box-shadow: 0 0 18px rgba(96,165,250,0.45);
		transform: translateY(-3px);
	}

	/* Thumbnail images */
	.game-thumb {
		width: 100%;
		height: auto;
		border-radius: 10px;
		margin-bottom: 10px;
	}



    .category-title span.label { opacity: 0.95; }
    .category-title span.sub { font-size: 0.8rem; color: #9ca3af; opacity: 0.9; }

    @keyframes bannerGlow {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .grid {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
      gap: 1.2rem;
    }

    .card {
      position: relative;
      background: #020617;
      border-radius: 1rem;
      padding: 1.5rem 1.8rem;
      border: 1px solid #111827;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
      display: flex;
      flex-direction: column;
      gap: .6rem;
      min-height: 200px;
      font-size:0.8rem;
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: #6366f1;
      background: radial-gradient(circle at top left, rgba(90,70,255,0.25), #020617 40%);
      box-shadow: 0 16px 32px rgba(15,23,42,0.9);
    }

    .card-header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .card a {
      font-size: 1.2rem;
      font-weight: 700;
      color: #e5e7eb;
      text-decoration: none;
    }

    .card-desc {
      font-size: 0.9rem;
      line-height: 1.3rem;
      color: #cbd5f5;
    }

    .tag-row { margin-top: 0.2rem; }

    .tag {
      font-size: 0.7rem;
      display: inline-block;
      border: 1px solid #4b5563;
      padding: 0.15rem .45rem;
      border-radius: 999px;
      opacity: 0.93;
      margin-right: 0.25rem;
      margin-top: 0.1rem;
      background: rgba(15,23,42,0.9);
    }

    .badge-new {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 0.18rem 0.5rem;
      border-radius: 999px;
      background: linear-gradient(135deg, #22c55e, #a3e635);
      color: #022c22;
      border: 1px solid rgba(34,197,94,0.9);
      box-shadow: 0 0 10px rgba(34,197,94,0.4);
      white-space: nowrap;
    }

    .most-played {
      border-color: #facc15 !important;
      box-shadow: 0 0 0 1px rgba(250,204,21,0.4), 0 20px 40px rgba(15,23,42,0.95);
    }

.badge-most-played {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #facc15;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(250,204,21,0.7);
}

    footer {
      text-align: center;
      padding: 0.8rem 1rem 1rem;
      font-size: .78rem;
      color: #9ca3af;
      border-top: 1px solid #111827;
        background:
		linear-gradient(135deg, rgba(0,0,0,0.82), rgba(15,23,42,0.92)),
		
    }

    footer span { opacity: 0.9; }

    /* ================== COOKIE BANNER ================== */
    .cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background: rgba(15,23,42,0.98);
      border-top: 1px solid #374151;
      box-shadow: 0 -12px 30px rgba(0,0,0,0.75);
      padding: 0.9rem 1rem;
      display: flex;
      justify-content: center;
    }

    .cookie-inner {
      max-width: 960px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: #e5e7eb;
    }

    .cookie-text {
      flex: 1 1 260px;
      line-height: 1.3rem;
    }

    .cookie-text a {
      color: #93c5fd;
      text-decoration: underline;
    }

    .cookie-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: flex-end;
    }

    .btn-cookie-primary {
      background: linear-gradient(135deg, #4f46e5, #6366f1);
      border-radius: 999px;
      border: none;
      padding: 0.45rem 1.1rem;
      color: #e5e7eb;
      font-size: 0.8rem;
      cursor: pointer;
      font-weight: 600;
      box-shadow: 0 10px 20px rgba(79,70,229,0.6);
    }

    .btn-cookie-secondary {
      background: transparent;
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.45rem 1rem;
      color: #e5e7eb;
      font-size: 0.8rem;
      cursor: pointer;
    }

    /* ================== PRIVACY MODAL ================== */
    .privacy-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,0.85);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
    }

    .privacy-modal {
      background: #020617;
      border-radius: 1rem;
      border: 1px solid #374151;
      max-width: 540px;
      width: 100%;
      padding: 1.5rem 1.6rem 1.2rem;
      box-shadow: 0 24px 60px rgba(0,0,0,0.85);
    }

    .privacy-modal h2 {
      margin: 0 0 0.5rem;
      font-size: 1.1rem;
    }

    .privacy-modal p {
      font-size: 0.86rem;
      line-height: 1.4rem;
      color: #e5e7eb;
      margin: 0.3rem 0;
    }

    .privacy-modal ul {
      margin: 0.4rem 0 0.6rem;
      padding-left: 1.1rem;
      font-size: 0.82rem;
      color: #d1d5db;
    }

    .privacy-modal a {
      color: #93c5fd;
      text-decoration: underline;
    }

    .modal-actions {
      margin-top: 0.8rem;
      display: flex;
      justify-content: flex-end;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .btn-outline {
      background: transparent;
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.4rem 0.9rem;
      color: #e5e7eb;
      font-size: 0.8rem;
      cursor: pointer;
    }


    /* ================== PRIVACY SETTINGS FLOATING BUTTON ================== */
    .privacy-settings-btn {
      position: fixed;
      bottom: 1.2rem;
      left: 1rem;
      z-index: 9998;
      background: rgba(15,23,42,0.95);
      border-radius: 999px;
      border: 1px solid #4b5563;
      padding: 0.35rem 0.85rem;
      font-size: 0.78rem;
      color: #e5e7eb;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }

    .privacy-settings-btn span { font-size: 0.85rem; }

  
.fa-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(148,163,184,0.25);
}


/* === Enhanced Neon Article Cards (Medium Glow) === */
.fa-card {
  position: relative;
  width: 260px;
  height: 320px; /* 🔥 FIXED height — prevents CLS */
  
  background: linear-gradient(145deg, #020617, #0a0f24);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 14px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}

.fa-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: #818cf8;
  box-shadow: 0 20px 45px rgba(56,189,248,0.35), 0 0 25px rgba(99,102,241,0.45);
}
.fa-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(148,163,184,0.25);
  transition: opacity .2s ease;
}
.fa-card:hover .fa-thumb {
  opacity: 0.92;
}
.fa-card h3 {
  margin: 0 0 8px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: #e0e7ff;
}
.fa-card p {
  margin: 0 0 12px;
  color: #cbd5f5;
  font-size: .88rem;
  line-height: 1.28rem;
  opacity: 0.92;
}
.fa-more-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: .8rem;
  border-radius: 999px;
  background: rgba(79,70,229,0.25);
  border: 1px solid rgba(99,102,241,0.55);
  color: #e5e7eb;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
  margin-top: -15px;
}
.fa-card:hover .fa-more-btn {
  background: rgba(99,102,241,0.35);
  border-color: #a5b4fc;
  transform: translateY(-1px);
}
/* ===== UNIFORM ARTICLE CARD SIZE ===== */
.fa-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Smaller, fixed-size article cards */
.fa-card {
  position: relative;
  width: 260px;
  height: 320px; /* 🔥 FIXED height — prevents CLS */
  
  background: linear-gradient(145deg, #020617, #0a0f24);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 14px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}


.fa-card h3 {
  text-align: center;
  font-size: 0.9rem !important;
  min-height: 48px;            /* Keep titles aligned */
}

.fa-card p {
  text-align: center;
  font-size: 0.85rem !important;
  min-height: 54px;            /* Align descriptions */
}

/* Thumbnails resized */
.fa-thumb {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px !important;
}

/* ---------- FEEDBACK COMMENT THREAD FIX ---------- */
.feedback-comment {
    text-align: left !important;
    margin-left: 22px;
    padding: 2px 8px;
    border-left: 2px solid #4ea1ff33;
    background: rgba(255,255,255,0.015);
    border-radius: 6px;
	margin-top: 32px;
	 opacity: 0.8;
	 font-size: 12px;
}



.feedback-user {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.feedback-date {
    font-size: 11px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.feedback-text {
    white-space: pre-wrap;
    line-height: 1.5;
}

.feedback-reply-btn {
    float: right;
    margin-top: 32px;
    padding: 2px 8px;
    background: none;
    border: none;
    color: #4ea1ff;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
}
.feedback-reply-btn:hover {
    opacity: 1;
}

.feedback-reply-thread {
    margin-left: 24px;
    border-left: 2px solid #4ea1ff11;
    padding-left: 16px;
    margin-top: 10px;
}

/* ====== NEON COMMENT DESIGN ====== */

.feedback-comment,
.feedback-reply-thread {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 255, 255, 0.28);
    box-shadow: 0 0 10px rgba(0,255,255,0.15);
    backdrop-filter: none;
	

    opacity: 0.9;
}

/* Stronger glow on hover */
.feedback-comment:hover,
.feedback-reply-thread:hover {
    box-shadow: 0 0 14px rgba(0,255,255,0.45);
    border-color: rgba(0,255,255,0.55);
}

/* USER + DATE on same row */
.feedback-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.feedback-user {
    font-weight: 600;
    color: #4eeaff;
    font-size: 14px;
}

.feedback-date {
    font-size: 12px;
    opacity: 0.75;
    color: #cfffef;
}

/* Comment text */
.feedback-text {
    white-space: pre-wrap;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #e5e5e5;
}

/* Reply button left-aligned */

/* FORCE reply comments to be left aligned */
/* Replies should be clearly indented deeper than parent comment */
.feedback-reply-thread {
    text-align: left !important;
    margin-left: 38px; /* was 22px – now replies move further right */
    padding: 8px 12px;
    border-left: 2px solid #4ea1ff33;
    background: rgba(255,255,255,0.02); /* lighter than parent comment */
    border-radius: 6px;

    /* Thinner look */
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.9;
}

/* Username inside replies */
.feedback-reply-thread .feedback-user {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #7ec8ff;
}

/* Timestamp inside replies */
.feedback-reply-thread .feedback-date {
    font-size: 10px;
    opacity: 0.6;
    margin-bottom: 4px;
}

/* Reply text */
.feedback-reply-thread .feedback-text {
    font-size: 13px;
}

/* Reply button inside replies */
.feedback-reply-thread .feedback-reply-btn {
    font-size: 11px;
    margin-top: 24px;
}

.reply-level {
    margin-left: 34px; /* every recursion shifts further right */
}
 


.badge-row{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}
.badge{
  padding:4px 10px;
  border:1px solid rgba(148,163,184,0.25);
  border-radius:8px;
  background:rgba(0,0,0,0.35);
  font-size:0.85rem;
}



.value-wrap{
  max-width:1300px;
  margin: 0.8rem auto 1.1rem;
  padding: 0.9rem 1rem 1.0rem;
  border-radius: 16px;
  border: 1px solid rgba(99,102,241,0.35);
  background: linear-gradient(145deg, rgba(2,6,23,0.70), rgba(15,23,42,0.62));
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}
.value-head{
  display:flex;
  flex-wrap:wrap;
  gap:0.6rem 1rem;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:0.7rem;
}
.value-head h2{
  margin:0;
  font-size:1.15rem;
  letter-spacing:0.02em;
}
.value-head p{
  margin:0;
  opacity:0.88;
  font-size:0.9rem;
  line-height:1.35rem;
  max-width: 820px;
}
.value-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.value-card{
  border-radius: 14px;
  border: 1px solid rgba(56,189,248,0.18);
  background: rgba(2,6,23,0.55);
  padding: 0.85rem 0.95rem;
  overflow:hidden;
  position:relative;
}
.value-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(circle at 30% 20%, rgba(56,189,248,0.16), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(236,72,153,0.10), transparent 60%);
  pointer-events:none;
}
.value-card h3{ position:relative; margin:0 0 0.35rem; font-size:0.98rem; }
.value-card p{ position:relative; margin:0; opacity:0.88; font-size:0.86rem; line-height:1.35rem; color:#dbeafe; }
.value-links{ position:relative; margin-top:0.55rem; display:flex; flex-wrap:wrap; gap:0.45rem; }
.value-links a{
  display:inline-flex;
  align-items:center;
  gap:0.35rem;
  padding:0.25rem 0.6rem;
  border-radius:999px;
  border:1px solid rgba(147,197,253,0.35);
  background:rgba(2,6,23,0.55);
  color:#93c5fd;
  text-decoration:none;
  font-size:0.78rem;
}
.value-links a:hover{
  border-color: rgba(56,189,248,0.65);
  box-shadow: 0 0 16px rgba(56,189,248,0.18);
}

/* FAQ block */
.faq-wrap{
  max-width:1300px;
  margin: 0.0rem auto 1.1rem;
  padding: 0.9rem 1rem 1.0rem;
  border-radius: 16px;
  border: 1px solid rgba(236,72,153,0.22);
  background: rgba(2,6,23,0.55);
}
.faq-wrap h2{ margin:0 0 0.6rem; font-size:1.1rem; }
.faq{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.7rem 1rem;
}

.faq-item{
  border:1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  background: rgba(15,23,42,0.55);
  padding: 0.75rem 0.85rem;
}
.faq-item h3{ margin:0 0 0.35rem; font-size:0.95rem; color:#e5e7eb; }
.faq-item p{ margin:0; font-size:0.86rem; line-height:1.35rem; color:#cbd5f5; opacity:0.92; }


.mobile-nav-toggle {
  display:none;
  cursor:pointer;
  font-size:22px;
  color:#93c5fd;
  padding:10px;
  padding:10px;
}


.game-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;   /* Poki-style thumbnail ratio */
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: #0f172a; /* fallback neon background */
}
.game-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 20px auto;
    padding-bottom: 20px;
}
.game-card {
    transition: transform 0.15s ease, box-shadow 0.3s ease;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 14px;
    padding: 10px;
	position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 20px rgba(96,165,250,0.35);
    border-color: #60a5fa;
}
.game-card:hover .game-thumb {
    transform: scale(1.04);
    filter: brightness(1.15);
}
.value-head {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    flex-wrap:wrap;
}
.value-intro{
  flex: 1 1 600px;
  max-width: 65%;
}

.value-side{
  flex: 0 0 320px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:1rem;
}


/* 3️⃣ Stabilize game thumbnails */
.game-thumb,
.ng-thumb {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}
#langSwitcher {
    position: absolute;
    top: 15px;
    right: 15px;

    padding: 6px 12px;
    border: 1px solid #38bdf8;
    border-radius: 8px;

    color: #38bdf8;
    font-weight: 600;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);

    cursor: pointer;
    z-index: 50; /* stays above the hero image */
    transition: 0.2s ease;
}

#langSwitcher:hover {
    background: rgba(56,189,248,0.25);
}
/* pc only */
@media (min-width: 768px) {
  .game-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 20px !important;
  }
}

/* 6️⃣ Stabilize article cards */
.fa-card {
  min-height: 320px;
}



/* 3️⃣ Force stable grid definition (single layout system) */
.game-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 20px !important;
   background:linear-gradient(145deg,#020617,#0a0f24);
       width: 100%;
    max-width: 1300px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(145deg, #020617, #0a0f24);
    box-shadow: none;
    position: relative;
    margin: 0 auto;
    background-attachment: scroll;
	    width: 100%;
    max-width: 1300px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(145deg, #020617, #0a0f24);
    box-shadow: none;
    position: relative;
    margin: 0 auto;
    background-attachment: scroll;
}

/* 4️⃣ Prevent game cards from changing height */
.game-card {
  min-height: 260px !important;
}

/* 5️⃣ Prevent featured article cards from collapsing on mobile */
.fa-card {
  min-height: 320px !important;
  height: 320px !important;
}

/* 6️⃣ Stabilize thumbnails globally */
.game-thumb,
.ng-thumb,
.fa-thumb {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
}

/* 7️⃣ Prevent footer jump by locking layout structure */



footer {
  flex-shrink: 0 !important;
}



ins.adsbygoogle {
  height: 100px !important;
  max-height: 100px !important;
}

ins.adsbygoogle > div {
  height: 100px !important;
  max-height: 100px !important;
}

ins.adsbygoogle iframe {
  height: 100px !important;
  max-height: 100px !important;
}



/* Phones: stack filters, make grid 1 column, adjust spacing */
@media (max-width: 640px) {
  /* Top strip takes less space */
  #langSwitcher {
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 13px;
  }

  /* Header becomes more compact */
  
  header h1 {
    font-size: 1.45rem;
  }
  header p {
    font-size: 0.9rem;
    line-height: 1.35rem;
  }
.privacy-settings-btn { bottom: 3.4rem; }
  /* Filters = full width stacked */
  .filters-bar {
    max-width: 100%;
    margin: 0.6rem 0.6rem 0.2rem;
    padding: 0;
    gap: 0.55rem;
  }

  .filters-left,
  .filters-right {
    width: 100%;
    justify-content: stretch;
  }
 .filters-right a {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .search-input,
  .type-select,
  .btn-secondary {
    width: 100%;
  }

  .btn-secondary {
    justify-content: center;
  }

  /* Scroll area padding becomes smaller */
  
  /* Category banner fits better */
  .category-title {
    margin: 0.95rem auto 0.45rem;
    padding: 0.45rem 0.75rem;
    font-size: 1.05rem;
    line-height: 1.2rem;
    border-radius: 14px; /* less “pill” on tiny screens */
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .category-title span.sub {
    font-size: 0.8rem;
  }

  .game-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr 1fr)) !important;
  gap: 20px !important;
}
  .grid {
 
    gap: 0.4rem;
    max-width: 100%;
	    grid-template-columns: repeat(3, 1fr);
  }


  .card-desc  {
    font-size: 0.6rem;
    line-height: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit text */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.05rem;    /* very tight spacing */
    opacity: 0.9;
  }
  /* Cards slightly smaller but still “big” */
  .card {
    padding: 0.55rem 0.6rem;
    gap: 0.25rem;
    min-height: 160px;
  }

  .card a {
    font-size: 1.2rem;
    line-height: 1rem;
    margin-bottom: 0.1rem;
  }



  /* Cookie banner buttons stack nicely */
  .cookie-actions {
    width: 100%;
    justify-content: stretch;
  }

  .btn-cookie-primary,
  .btn-cookie-secondary {
    width: 100%;
    text-align: center;
  }

  /* Privacy modal fits on small screens */
  .privacy-modal {
    width: calc(100% - 24px);
    margin: 12px;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  
  
  .tag-row {
    display: none; /* hide tags to save space */
  }

  .badge-new,
  .badge-most-played {
    font-size: 0.5rem;
    padding: 0.1rem 0.3rem;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media(max-width:768px){
body {  background:linear-gradient(135deg, rgba(0,0,0,0.8), rgba(15,23,42,0.9)),
      url("images/hub-bg.webp") center center / cover no-repeat fixed; }
  nav.desktop-nav { display:none; }
  .mobile-nav-toggle { display:block; }
  .mobile-menu {
    display:none;
    background:#0a0f1f;
    padding:15px;
    border-top:1px solid #1e293b;
  }
  .mobile-menu a {
    display:block;
    padding:10px 0;
    color:#93c5fd;
  }
  .hero-card {
    margin-left: 0 !important;
    border-radius: 12px;
  }
   

}