
:root {
    --c53nmm-bg: #120E18;
    --c53nmm-section: #1A1423;
    --c53nmm-card: #261D33;
    --c53nmm-primary: #B388EB;
    --c53nmm-accent: #E0AAFF;
    --c53nmm-text: #FCF8FF;
    --c53nmm-text-dim: #BDAFD0;
    --c53nmm-glass: rgba(38, 29, 51, 0.88);
    --c53nmm-glass-border: rgba(224, 170, 255, 0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Karla', sans-serif;
    background: var(--c53nmm-bg);
    color: var(--c53nmm-text);
    line-height: 1.6;
    overflow-x: hidden;
}
.c53nmm-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
a { color: inherit; text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.c53nmm-header-l-r-r {
    background: rgba(26, 20, 35, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c53nmm-glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.c53nmm-logo, .c53nmm-logo-f { font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--c53nmm-primary); }
.c53nmm-logo { font-size: 1.5rem; }
.c53nmm-logo-f { font-size: 1.8rem; }
.c53nmm-desktop-nav ul { display: flex; gap: 30px; }
.c53nmm-desktop-nav a:hover, .c53nmm-footer-split a:hover { color: var(--c53nmm-accent); }
.c53nmm-age-flag { display: flex; border: 1px solid var(--c53nmm-primary); padding: 4px 10px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; color: var(--c53nmm-text); }
.c53nmm-hamburger { background: none; border: none; color: var(--c53nmm-text); font-size: 1.8rem; cursor: pointer; display: none; }

.c53nmm-mobile-menu {
    position: fixed; inset: 0; background: var(--c53nmm-bg);
    z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center;
}
.c53nmm-mobile-menu ul { text-align: center; }
.c53nmm-mobile-menu li { margin: 20px 0; font-size: 1.5rem; }
.c53nmm-close-menu { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--c53nmm-text); font-size: 2rem; cursor: pointer; }

.c53nmm-hero {
    padding: 100px 0;
    background:
      radial-gradient(circle at top right, rgba(179, 136, 235, 0.18), transparent 30%),
      linear-gradient(135deg, #120E18 0%, #1A1423 55%, #261D33 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.c53nmm-hero-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.c53nmm-hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; color: var(--c53nmm-primary); }
.c53nmm-hero p { font-size: 1.2rem; color: var(--c53nmm-text-dim); margin-bottom: 35px; }
.c53nmm-btn-primary {
    background: var(--c53nmm-primary); color: #120E18; padding: 15px 40px; border-radius: 50px;
    font-weight: 700; display: inline-block; box-shadow: 0 10px 20px rgba(179, 136, 235, 0.25); border: none; cursor: pointer;
}
.c53nmm-btn-primary:hover { transform: translateY(-3px); background: var(--c53nmm-accent); }

.c53nmm-hero-visual {
    background: var(--c53nmm-glass);
    border: 1px solid var(--c53nmm-glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.c53nmm-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.c53nmm-badge-item { font-size: 0.9rem; font-weight: 700; background: rgba(179, 136, 235, 0.09); padding: 5px 15px; border-radius: 5px; border: 1px solid rgba(224,170,255,0.35); }

.c53nmm-section { padding: 80px 0; }
.c53nmm-section.c53nmm-alt { background: var(--c53nmm-section); }
.c53nmm-section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; color: var(--c53nmm-primary); }
.c53nmm-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.c53nmm-card {
    background: var(--c53nmm-glass); border: 1px solid var(--c53nmm-glass-border);
    padding: 30px; border-radius: 16px; transition: 0.3s ease;
}
.c53nmm-card:hover { border-color: var(--c53nmm-primary); transform: translateY(-5px); }
.c53nmm-card p + p { margin-top: 10px; }

.c53nmm-game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.c53nmm-game-card {
    background: var(--c53nmm-card); border-radius: 12px; overflow: hidden;
    border: 1px solid var(--c53nmm-glass-border); transition: transform 0.3s ease, border-color 0.3s ease;
}
.c53nmm-game-card:hover { transform: translateY(-6px); border-color: var(--c53nmm-primary); }
.c53nmm-game-img { width: 100%; height: 420px; object-fit: cover; }
.c53nmm-game-info { padding: 25px; text-align: center; }
.c53nmm-game-info h3 { margin-bottom: 15px; font-size: 1.5rem; }
.c53nmm-game-info p { color: var(--c53nmm-text-dim); }

.c53nmm-modal-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.88); backdrop-filter: blur(15px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.c53nmm-modal-content {
    background: var(--c53nmm-card); padding: 50px; border-radius: 24px;
    max-width: 500px; text-align: center; border: 2px solid var(--c53nmm-primary);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.c53nmm-age-badge {
    width: 80px; height: 80px; border-radius: 50%; border: 4px solid var(--c53nmm-primary);
    display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700;
    margin: 0 auto 20px; color: var(--c53nmm-primary);
}
.c53nmm-game-modal {
    position: fixed; inset: 0; background: rgba(8, 6, 12, 0.94); backdrop-filter: blur(10px); z-index: 9998;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.c53nmm-game-modal.active { display: flex; }
.c53nmm-game-shell {
    width: min(1200px, 100%); height: min(85vh, 760px); background: var(--c53nmm-card); border: 1px solid var(--c53nmm-glass-border);
    border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.45); position: relative;
}
.c53nmm-game-shell iframe { width: 100%; height: 100%; border: 0; background: #120E18; }
.c53nmm-close-game {
    position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--c53nmm-glass-border);
    background: rgba(18,14,24,0.84); color: var(--c53nmm-text); cursor: pointer; z-index: 2; font-size: 1.1rem;
}
.c53nmm-iframe-note { position: absolute; left: 20px; top: 18px; z-index: 2; background: rgba(18,14,24,0.8); color: var(--c53nmm-text-dim); padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; border:1px solid var(--c53nmm-glass-border); }

.c53nmm-footer-split {
    background: #1A1423; padding: 60px 0 30px;
    border-top: 1px solid var(--c53nmm-glass-border);
    margin-top: 50px;
}

.c53nmm-legal p, .c53nmm-legal li, .c53nmm-legal h2, .c53nmm-legal h3 { margin-bottom: 16px; }
.c53nmm-legal h1 { margin-bottom: 20px; color: var(--c53nmm-primary); }
.c53nmm-legal h2 { color: var(--c53nmm-primary); margin-top: 34px; }

@media (max-width: 900px) {
    .c53nmm-hero h1 { font-size: 2.8rem; }
    .c53nmm-hero p { font-size: 1.08rem; }
}
@media (max-width: 768px) {
    .c53nmm-desktop-nav { display: none; }
    .c53nmm-hamburger { display: block; }
    .c53nmm-hero-split { grid-template-columns: 1fr; text-align: center; }
    .c53nmm-hero h1 { font-size: 2.35rem; }
    .c53nmm-badges { justify-content: center; }
    .c53nmm-footer-split .c53nmm-container:first-child { flex-direction: column; gap: 20px; }
    .c53nmm-footer-split ul { flex-wrap: wrap; justify-content: center; }
    .c53nmm-modal-content { padding: 36px 24px; }
    .c53nmm-game-shell { height: 72vh; }
}
@media (max-width: 560px) {
    .c53nmm-section { padding: 60px 0; }
    .c53nmm-section-title { font-size: 2rem; }
    .c53nmm-game-grid, .c53nmm-grid-3 { grid-template-columns: 1fr; }
    .c53nmm-hero { padding: 72px 0; }
    .c53nmm-hero h1 { font-size: 2rem; }
    .c53nmm-age-flag {
      display: none;
    }
}

.c-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }


.c53nmm-games-hero { min-height: auto; }
.game-shell-clean { background: #0d0a12; }
.game-shell-clean iframe { display:block; }
.c53nmm-game-shell { width:min(1280px, 100%); height:min(92vh, 860px); }
@media (max-width: 768px) {
  .c53nmm-game-shell { width:100%; height:88vh; border-radius:16px; }
  .c53nmm-close-game { top:10px; right:10px; width:38px; height:38px; }
}


/* Mobile-safe iframe game modal */
.c53nmm-game-modal{
  position:fixed; inset:0; background:rgba(5,3,10,.84);
  display:none; align-items:center; justify-content:center;
  padding:clamp(8px,2vw,20px); z-index:9999;
}
.c53nmm-game-modal.active{display:flex;}
.c53nmm-game-shell{
  position:relative; width:min(1280px,100%); height:min(92vh,860px);
  background:#0d0a12; border-radius:24px; overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.c53nmm-game-shell iframe{
  width:100%; height:100%; border:0; display:block; background:#0d0a12;
}
.c53nmm-close-game{
  position:absolute; top:12px; right:12px; z-index:3;
  width:42px; height:42px; border:none; border-radius:999px;
  background:rgba(18,14,24,.82); color:#FCF8FF; cursor:pointer;
  font-size:24px; line-height:1;
}
body.c53nmm-modal-open{overflow:hidden;}

@media (max-width: 1024px){
  .c53nmm-game-shell{
    width:100%;
    height:min(88dvh, 900px);
    border-radius:20px;
  }
}
@media (max-width: 768px){
  .c53nmm-game-modal{padding:0;}
  .c53nmm-game-shell{
    width:100vw; height:100dvh; max-height:100dvh;
    border-radius:0;
  }
  .c53nmm-close-game{
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    width:40px; height:40px;
  }
}

/* Safer responsive game cards/buttons */
.c53nmm-game-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
@media (max-width: 992px){
  .c53nmm-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px){
  .c53nmm-game-grid{grid-template-columns:1fr; gap:16px;}
  .c53nmm-game-card{overflow:hidden;}
  .c53nmm-game-img{width:100%; height:auto; display:block;}
}


/* Modal game open */
.c53nmm-game-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(5, 3, 10, 0.84);
  z-index:9999;
}
.c53nmm-game-modal.active{display:flex;}
.c53nmm-game-shell{
  position:relative;
  width:min(1280px, 100%);
  height:min(92dvh, 860px);
  background:#0d0a12;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.c53nmm-game-shell iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}
.c53nmm-close-game{
  position:absolute;
  top:12px;
  right:12px;
  z-index:4;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:rgba(18,14,24,.86);
  color:#FCF8FF;
  font-size:24px;
  cursor:pointer;
}
body.c53nmm-modal-open{overflow:hidden;}

@media (max-width: 768px){
  .c53nmm-game-modal{padding:0;}
  .c53nmm-game-shell{
    width:100vw;
    height:100dvh;
    border-radius:0;
  }
  .c53nmm-close-game{
    top:max(10px, env(safe-area-inset-top));
    right:max(10px, env(safe-area-inset-right));
  }
}


/* product text layout */
.c53nmm-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:32px;align-items:center;}
.c53nmm-hero-copy .c53nmm-cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px;}
.c53nmm-hero-visual{display:flex;justify-content:center;align-items:center;}
.c53nmm-hero-img{max-width:100%;height:auto;display:block;}
.c53nmm-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.c53nmm-feature-card,.c53nmm-contact-card{background:#261D33;border:1px solid rgba(224,170,255,.14);border-radius:22px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.18);}
.c53nmm-contact-card p{margin:0 0 12px;}
.c53nmm-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.c53nmm-game-card{display:flex;flex-direction:column;height:100%;}
.c53nmm-game-info{display:flex;flex-direction:column;gap:12px;flex:1;}
.c53nmm-game-info .c53nmm-btn-primary{margin-top:auto;}
.c53nmm-game-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(5,3,10,.84);z-index:9999;}
.c53nmm-game-modal.active{display:flex;}
.c53nmm-game-shell{position:relative;width:min(1280px,100%);height:min(92dvh,860px);background:#0d0a12;border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.45);}
.c53nmm-game-shell iframe{width:100%;height:100%;display:block;border:0;background:#0d0a12;}
.c53nmm-close-game{position:absolute;top:12px;right:12px;z-index:4;width:42px;height:42px;border:0;border-radius:999px;background:rgba(18,14,24,.86);color:#FCF8FF;font-size:24px;cursor:pointer;}
body.c53nmm-modal-open{overflow:hidden;}

@media (max-width: 992px){
  .c53nmm-hero-grid,.c53nmm-feature-grid,.c53nmm-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 768px){
  .c53nmm-hero-grid,.c53nmm-feature-grid,.c53nmm-game-grid{grid-template-columns:1fr;}
  .c53nmm-game-modal{padding:0;}
  .c53nmm-game-shell{width:100vw;height:100dvh;border-radius:0;}
  .c53nmm-close-game{top:max(10px, env(safe-area-inset-top));right:max(10px, env(safe-area-inset-right));}
}

.c53nmm-mobile-menu {
  display: none;
}

.c53nmm-mobile-menu.active {
  display: flex;
}

.nv-cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: none;
}

.nv-cookie.show{
  display: block;
}

.nv-cookie__inner{
  max-width: 1180px;
  margin: 0 auto;
  background: #261D33;
  color: #FCF8FF;
  border: 1px solid rgba(224,170,255,.18);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nv-cookie__text{
  flex: 1 1 auto;
}

.nv-cookie__text strong{
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #FCF8FF;
}

.nv-cookie__text p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #BDAFD0;
}

.nv-cookie__text a{
  color: #E0AAFF;
  text-decoration: underline;
}

.nv-cookie__actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nv-cookie__btn{
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.nv-cookie__btn:hover{
  transform: translateY(-1px);
}

.nv-cookie__btn--primary{
  background: #B388EB;
  color: #120E18;
}

.nv-cookie__btn--primary:hover{
  background: #E0AAFF;
}

.nv-cookie__btn--secondary{
  background: transparent;
  color: #FCF8FF;
  border: 1px solid rgba(252,248,255,.18);
}

.nv-cookie__btn--secondary:hover{
  background: rgba(252,248,255,.06);
}

@media (max-width: 768px){
  .nv-cookie{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .nv-cookie__inner{
    padding: 16px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nv-cookie__actions{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .nv-cookie__btn{
    width: 100%;
    min-height: 46px;
  }
}