/* ==========================================================================
   DEGRANITLOOP-CENTER.COM — STYLESHEET
   Bespoke Visual Theme: Monochrome Minimalist Carbon
   Colors: Carbon Obsidian (#050607), Slate Surface (#1e1f26), Platinum (#f3f7fa), Electric Cyan (#31c8f6)
   Typography: Archivo Black & Work Sans (Google Fonts)
   ========================================================================== */

:root {
  --bg: #050607;
  --surface: #1e1f26;
  --surface-border: rgba(243, 247, 250, 0.24);
  --primary: #f3f7fa;
  --primary-hover: #f1f6fa;
  --accent: #31c8f6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(243, 247, 250, 0.12);
  --radius: 8px;
  --header-bg: rgba(5, 6, 7, 0.94);
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Mapped legacy tokens */
  --dglc-bg: var(--bg);
  --dglc-card-bg: var(--surface);
  --dglc-card-surface: #272932;
  --dglc-neon-green: var(--accent);
  --dglc-neon-btn-bg: var(--primary);
  --dglc-neon-btn-border: var(--accent);
  --dglc-text-primary: var(--text-main);
  --dglc-text-secondary: var(--text-muted);
  --dglc-text-muted: #cbd5e1;
  --dglc-gold-grad: linear-gradient(180deg, #31c8f6 0%, #0ea5e9 100%);
  --dglc-gold-hover: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  --dglc-font-main: var(--font-body);
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, rgba(49, 200, 246, 0.14) 0%, rgba(30, 31, 38, 0.55) 45%, #050607 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: top center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.dglc_subpage_body {
  background-attachment: fixed;
  background-size: cover;
}

h1, h2, h3, h4, .dglc_rank_number, .dglc_rating_score, .dglc_play_btn {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   1. TOP 18+ COMPLIANCE BAR
   ========================================================================== */
.dglc_topbar {
  display: flex;
  padding: 10px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
  width: 100%;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  z-index: 100;
}

.dglc_topbar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.dglc_nav {
  width: 100%;
  position: relative;
  z-index: 50;
  padding-block: 16px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--surface-border);
}

.dglc_nav_container {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dglc_logo_link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.dglc_logo_link:hover {
  opacity: 0.9;
}

.dglc_logo_img {
  height: 42px;
  width: auto;
  display: block;
}

.dglc_nav_menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.dglc_nav_item {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.dglc_nav_item:hover,
.dglc_nav_item.active {
  color: var(--accent);
}

.dglc_nav_item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.dglc_nav_close_btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.dglc_hamburger_btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.dglc_mobile_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

/* ==========================================================================
   3. HERO HEADER
   ========================================================================== */
.dglc_header {
  max-width: 1000px;
  margin: 32px auto 24px auto;
  text-align: center;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dglc_header_pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  background: rgba(49, 200, 246, 0.12);
  border: 1px solid rgba(49, 200, 246, 0.45);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius);
}

.dglc_header h1 {
  color: var(--text-main);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.dglc_header p {
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================================================
   4. CATALOG LIST (GAMES SECTION)
   ========================================================================== */
.dglc_main_catalog {
  padding: 48px 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex: 1 0 auto;
}

.dglc_cards_container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
}

/* Single Game Card Row */
.dglc_card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  padding: 24px 32px;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--surface-border);
  outline: 1px solid rgba(49, 200, 246, 0.35);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  gap: 28px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
  height: auto;
}

.dglc_card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 22px rgba(49, 200, 246, 0.28);
}

/* Rank Badge */
.dglc_rank_badge {
  position: absolute;
  top: -12px;
  left: 24px;
  z-index: 3;
}

.dglc_rank_circle {
  background: var(--accent);
  box-shadow: 0 0 10px 0 rgba(49, 200, 246, 0.65);
  border: 2px solid var(--bg);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.dglc_rank_number {
  color: #050607 !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

/* Thumbnail Block */
.dglc_card_thumb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dglc_card_thumb img {
  height: 110px;
  width: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--surface-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Info Block (Middle) */
.dglc_card_info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.dglc_rating_row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dglc_rating_score {
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

/* SVG Star Rating System */
.dglc_star_meter {
  width: 110px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23334155'%3E%3Cpath d='M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.4 8.168L12 18.896l-7.334 3.857 1.4-8.168L.132 9.21l8.2-1.192L12 .587z'/%3E%3C/svg%3E");
  background-size: 22px 20px;
  background-repeat: repeat-x;
  position: relative;
  display: inline-block;
}

.dglc_star_meter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2331c8f6'%3E%3Cpath d='M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.4 8.168L12 18.896l-7.334 3.857 1.4-8.168L.132 9.21l8.2-1.192L12 .587z'/%3E%3C/svg%3E");
  background-size: 22px 20px;
  background-repeat: repeat-x;
}

.dglc_star_meter[data-rating="10"]::before { width: 110px; }
.dglc_star_meter[data-rating="9.9"]::before { width: 108.9px; }
.dglc_star_meter[data-rating="9.8"]::before { width: 107.8px; }
.dglc_star_meter[data-rating="9.7"]::before { width: 106.7px; }
.dglc_star_meter[data-rating="9.6"]::before { width: 105.6px; }
.dglc_star_meter[data-rating="9.5"]::before { width: 104.5px; }
.dglc_star_meter[data-rating="9.4"]::before { width: 103.4px; }
.dglc_star_meter[data-rating="9.3"]::before { width: 102.3px; }
.dglc_star_meter[data-rating="9.2"]::before { width: 101.2px; }
.dglc_star_meter[data-rating="9.1"]::before { width: 100.1px; }
.dglc_star_meter[data-rating="9.0"]::before { width: 99px; }

.dglc_game_desc {
  color: var(--dglc-text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  text-align: left;
}

.dglc_game_desc strong {
  color: var(--text-main);
  font-weight: 700;
}

.dglc_game_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.dglc_tag {
  background: rgba(243, 247, 250, 0.08);
  border: 1px solid var(--surface-border);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius);
}

/* Action Button (Right) */
.dglc_card_action {
  flex-shrink: 0;
  width: auto;
}

.dglc_play_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 52px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35),
              0 0 12px rgba(49, 200, 246, 0.35);
  color: #050607 !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dglc_play_btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45),
              0 0 18px rgba(49, 200, 246, 0.65);
}

/* ==========================================================================
   5. AGE RESTRICTION MODAL (18+)
   ========================================================================== */
.dglc_age_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 7, 0.96);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.dglc_age_box {
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.dglc_age_content {
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dglc_age_content h2 {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  margin-bottom: 12px;
}

.dglc_age_content p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.dglc_age_buttons {
  display: flex;
  align-items: center;
  width: 100%;
}

.dglc_age_btn {
  width: 50%;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.15s ease;
}

.dglc_age_btn_leave {
  background: #121318;
  color: var(--text-main);
  border-top: 1px solid var(--surface-border);
}

.dglc_age_btn_leave:hover {
  background: #272935;
}

.dglc_age_btn_enter {
  background: var(--accent);
  color: #050607;
}

.dglc_age_btn_enter:hover {
  background: var(--primary);
}

.dglc_age_rejected {
  width: 100%;
  max-width: 480px;
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 44px 24px;
  gap: 24px;
  text-align: center;
}

.dglc_age_rejected p {
  color: #ff6161;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.dglc_footer {
  width: 100%;
  padding: 32px 24px 48px 24px;
  margin-top: 48px;
}

.dglc_footer_editorial {
  color: var(--text-main);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--card-shadow);
  border-radius: calc(var(--radius) * 2);
  padding: 40px 32px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  max-width: 1000px;
  margin: 0 auto 36px auto;
}

.dglc_footer_editorial h3 {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.dglc_footer_editorial h3:first-of-type {
  margin-top: 16px;
}

.dglc_footer_editorial p {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.dglc_footer_editorial p:last-child {
  margin-bottom: 0;
}

.dglc_footer_divider {
  background: var(--surface-border);
  height: 1px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 24px auto;
}

.dglc_footer_bottom {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.dglc_copyright {
  color: var(--text-muted);
  font-size: 14px;
}

.dglc_footer_links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dglc_footer_link {
  color: var(--text-main);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.dglc_footer_link:hover {
  color: var(--accent);
}

/* ==========================================================================
   7. COOKIE CONSENT BANNER
   ========================================================================== */
.dglc_cookie_banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
  width: 380px;
  max-width: 90vw;
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  z-index: 9999;
  border-top: 4px solid var(--accent);
}

.dglc_cookie_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.dglc_cookie_header h4 {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
}

.dglc_cookie_header p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 19px;
}

.dglc_cookie_actions {
  display: flex;
  gap: 10px;
}

.dglc_cookie_btn {
  width: 50%;
  height: 40px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: all 0.2s ease;
}

.dglc_cookie_btn_accept {
  border: none;
  background: var(--accent);
  color: #050607;
}

.dglc_cookie_btn_accept:hover {
  background: var(--primary);
}

.dglc_cookie_btn_settings {
  border: 1px solid var(--surface-border);
  background: transparent;
  color: var(--text-main);
}

.dglc_cookie_btn_settings:hover {
  background: rgba(243, 247, 250, 0.08);
}

/* ==========================================================================
   8. SUBPAGE WRAPPER (OUR APPROACH, LEGAL, CONTACT)
   ========================================================================== */
.dglc_subpage_wrapper {
  padding: 48px 20px 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  flex: 1 0 auto;
}

.dglc_subpage_card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: calc(var(--radius) * 2);
  padding: 44px 36px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(8px);
}

.dglc_subpage_card h1 {
  color: var(--text-main);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  text-align: center;
}

.dglc_subpage_lead {
  font-size: 17px;
  line-height: 28px;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px auto;
}

.dglc_subpage_section {
  margin-bottom: 36px;
}

.dglc_subpage_section:last-child {
  margin-bottom: 0;
}

.dglc_subpage_section h2 {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 8px;
}

.dglc_subpage_section h3 {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
}

.dglc_subpage_section p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 25px;
  margin-bottom: 14px;
}

.dglc_subpage_section p:last-child {
  margin-bottom: 0;
}

.dglc_subpage_section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.dglc_subpage_section li {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 6px;
}

/* ==========================================================================
   9. CONTACT FORM
   ========================================================================== */
.dglc_contact_container {
  max-width: 640px;
  margin: 0 auto;
}

.dglc_contact_intro {
  text-align: center;
  margin-bottom: 32px;
}

.dglc_contact_intro h2 {
  color: var(--text-main);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.dglc_contact_intro p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}

.dglc_contact_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dglc_form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dglc_form_group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dglc_form_group label {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.dglc_form_group input,
.dglc_form_group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(243, 247, 250, 0.06);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dglc_form_group input:focus,
.dglc_form_group textarea:focus {
  border-color: var(--accent);
  background: rgba(243, 247, 250, 0.1);
}

.dglc_form_group textarea {
  min-height: 120px;
  resize: vertical;
}

.dglc_checkbox_group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 18px;
}

.dglc_checkbox_group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
}

.dglc_submit_btn {
  background: var(--primary);
  border: 2px solid var(--accent);
  color: #050607;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dglc_submit_btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(49, 200, 246, 0.4);
}

.dglc_form_success {
  display: none;
  background: rgba(49, 200, 246, 0.15);
  border: 1px solid var(--accent);
  color: var(--text-main);
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 900px) {
  .dglc_header h1 {
    font-size: 32px;
  }
  
  .dglc_card {
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 24px 24px;
    border-radius: calc(var(--radius) * 2);
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
  }
  
  .dglc_card_thumb img {
    height: 110px;
    width: 110px;
  }
  
  .dglc_card_info {
    align-items: center;
    width: 100%;
  }
  
  .dglc_game_desc {
    text-align: center;
  }
  
  .dglc_game_tags {
    justify-content: center;
  }
  
  .dglc_play_btn {
    width: 240px;
  }
  
  .dglc_rank_badge {
    left: 50%;
    transform: translateX(-50%);
    top: -16px;
  }
  
  .dglc_footer_bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .dglc_nav_menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100%;
    background: var(--surface);
    border-right: 1px solid var(--surface-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 24px 24px 24px;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 1001;
  }
  
  .dglc_nav_menu.open {
    left: 0;
  }
  
  .dglc_nav_close_btn {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
  }
  
  .dglc_hamburger_btn {
    display: block;
  }
  
  .dglc_form_row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .dglc_main_catalog {
    padding-top: 10px;
  }
  
  .dglc_card {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    padding: 20px 16px !important;
    gap: 16px 12px !important;
    max-width: 100% !important;
    text-align: left !important;
    border-radius: calc(var(--radius) * 1.5) !important;
  }
  
  .dglc_rank_badge {
    left: 16px !important;
    transform: none !important;
    top: -12px !important;
  }
  
  .dglc_card_thumb {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }
  
  .dglc_card_thumb img {
    height: 60px !important;
    width: 60px !important;
    border-radius: var(--radius) !important;
  }
  
  .dglc_card_info {
    display: contents !important;
  }
  
  .dglc_rating_row {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
  }
  
  .dglc_rating_score {
    font-size: 18px !important;
  }
  
  .dglc_star_meter {
    width: 22px !important;
    overflow: hidden !important;
  }
  
  .dglc_game_desc {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  
  .dglc_game_tags {
    display: none !important;
  }
  
  .dglc_card_action {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
  }
  
  .dglc_play_btn {
    width: 120px !important;
    height: 38px !important;
    border-radius: var(--radius) !important;
    font-size: 12px !important;
  }
}
