@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

@font-face {
    font-family: 'Satoshi';
    src: url('./fonts/Satoshi-Regular.otf') format('otf'),
         url('./fonts/Satoshi-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

:root{
--mc-red:#c0202f;
--mc-red-dark:#a11a27;
--mc-ink:#1a1a1a;
--mc-gray:#5f6368;
--mc-border:#eee;
--mc-green:#000000;
--brand-red:#e0261c;
--brand-dark:#1a1a1a;
--cream:#faf8f5;
--line:#e9e4db;
--card:#ffffff;
--gold:#b8892f;
--green-play:#1f7a4d;
--purple-work:#6d3fae;
--orange-social:#c96a1c;
}

body{
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 14px;
}

.section{
    padding:10px 0;
}


/*=====================
Top Bar
=====================*/

 .mc-ticker{
    background:#0d0d0d;
    color:#fff;
    font-family:'Poppins',sans-serif;
    font-size:.72rem;
    letter-spacing:.3px;
    height:34px;
  }
  .mc-ticker .ticker-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:100%;
  }
  .mc-ticker .ticker-items{
    display:flex;
    align-items:center;
    gap:1.75rem;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .mc-ticker .ticker-items::-webkit-scrollbar{display:none;}
  .mc-ticker .ticker-item{
    display:flex;
    align-items:center;
    gap:.4rem;
    white-space:nowrap;
    font-weight:500;
    color:#e4e4e4;
  }
  .mc-ticker .ticker-item .label{
    color:#9a9a9a;
    font-weight:500;
  }
  .mc-ticker .ticker-item .value{
    color:#fff;
    font-weight:700;
  }
  .mc-ticker .ticker-item .up{
    color:var(--mc-green);
    font-weight:700;
  }
  .mc-ticker .ticker-tag{
    background:var(--mc-red);
    color:#fff;
    font-weight:700;
    padding:.35rem .9rem;
    height:100%;
    display:flex;
    align-items:center;
    letter-spacing:.5px;
    flex-shrink:0;
  }
  .mc-ticker .ticker-meta{
    display:flex;
    align-items:center;
    gap:.4rem;
    color:#e4e4e4;
    padding-left:1.5rem;
    flex-shrink:0;
    font-weight:500;
  }

.up{
    color:#14d814;
    font-weight:600;
}

/*=====================
Navbar
=====================*/


.navbar{
    padding:0;
    box-shadow:0 12px 15px rgba(0,0,0,0.08);
    border-bottom:1px solid var(--mc-border);
    transition: box-shadow .25s ease, height .25s ease;
}

  /* Shadow appears once the page is scrolled */
  .navbar.scrolled{
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  .mc-sticky{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030; /* keep it above page content */
}

.navbar-nav .nav-link{
    color:#222;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing:1px;
    font-size:15px;
    font-weight:600;
    margin:0 6px;
    position:relative;
}

.navbar-nav .nav-link:hover{
    color:#dc3545;
}

.navbar-nav .active{
    color:#dc3545 !important;
}

.navbar-nav .active::after{
    content:"";
    width:100%;
    height:3px;
    background:#dc3545;
    color:#dc3545;
    position:absolute;
    left:0;
    bottom:-18px;
}

.icon-btn{
    color:#222;
    font-size:24px;
    text-decoration:none;
}

.btn-danger{
    border-radius:8px;
    font-weight:600;
}

.btn-outline-dark{
    border-radius:8px;
    font-weight:600;
}

@media(max-width:991px){

.top-header{
    display:none;
}

.navbar-nav{
    margin:15px 0;
}

.navbar-nav .nav-link{
    margin:8px 0;
    
}

.d-flex{
    flex-wrap:wrap;
    justify-content:center;
}

}

.hero{
    position:relative;
    min-height:180px;
    background:#fff;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:url("../images/mahjong-bg.png") center center/cover no-repeat;
    opacity:.95;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#ffffff 18%,rgba(255,255,255,.75) 40%,rgba(255,255,255,.1) 70%);
}

.hero .container{
    position:relative;
    z-index:2;
}

.hero-content{
    padding:10px 0;
}

  .hero h1{
    font-weight:800;
    font-size:3.6rem !important;
    letter-spacing: 0;
  }


  .hero h1 .accent{color:var(--brand-red);}
  .hero p{margin:2px 0;color:var(--muted);font-weight:700;font-size:14.5px;max-width:340px;line-height:1.5;}

  .trust-trio{border-top:1px solid rgba(0,0,0,.08);padding-top:1.2rem;margin-top:1.5rem;}
  .trust-trio .trust-item{display:flex;align-items:flex-start;gap:.75rem;min-height:100%;}
  .trust-trio .trust-icon{color:var(--brand-red);font-size:1.3rem;flex-shrink:0;margin-top:.15rem;line-height:1;font-family:bootstrap-icons!important;}
  .trust-trio .trust-copy{flex:1;}
  .trust-trio .tt-title{font-weight:700;font-size:.65rem;}
  .trust-trio .tt-desc{font-size:.60rem;color:#2e2d2d;line-height:1.5;}

  .hero-art{
    width:420px;height:180px;border-radius:14px;overflow:hidden;flex-shrink:0;
    background:linear-gradient(120deg,#2c2c2c,#1a1a1a);
    display:flex;align-items:center;justify-content:center;position:relative;
  }
  .hero-art .tile-big{
    width:80px;height:112px;background:#fbeee0;border-radius:6px;
    display:flex;align-items:center;justify-content:center;font-size:40px;color:var(--mc-red);font-weight:900;
    box-shadow:0 6px 16px rgba(0,0,0,.4);margin-right:60px;
  }
  .hero-art .tile-row{position:absolute;right:14px;bottom:14px;display:flex;gap:5px;}
  .hero-art .tile-sm{
    width:38px;height:54px;background:#fbeee0;border-radius:4px;
    display:flex;align-items:center;justify-content:center;font-size:18px;color:#c0392b;font-weight:800;
    box-shadow:0 3px 8px rgba(0,0,0,.35);
  }
  
  /* HERO */
  /*.hero{display:flex;justify-content:space-between;align-items:flex-start;padding:40px 40px 30px;gap:30px;}
  .hero h1{font-size:36px;margin:0 0 10px;font-weight:800;}
  
  */



@media (max-width: 991px){
    .hero-art{display:none;}
    .hero h1{font-size:2rem;}
  }

.welcome{
    color:#b8741a;
    font-size:18px;
    font-weight:600;
    text-transform:uppercase;
    margin-bottom:10px;
}

.hero-title{
    font-size:60px;
    line-height:.9;
    font-weight:700;
    font-family:Georgia,serif;
}

.hero-title .green{
    color:#000000;
}

.hero-title .gold{
    color:#bf0816;
}

.hero-text{
    color:#555;
    font-size:20px;
    margin:25px 0;
}
  .eyebrow{margin:0;padding:0;color:var(--brand-red);font-weight:900;font-size:.8rem;letter-spacing:1px;}

.btn-join{
    background:#bf0816;
    color:#fff;
    padding:12px 30px;
    border-radius:10px;
    font-weight:600;
}

.btn-join:hover{
    background:#000000;
    color:#fff;
}

.btn-outline-custom{
    border:2px solid #000000;
    color:#000000;
    padding:12px 30px;
    border-radius:10px;
    font-weight:600;
}

.btn-outline-custom:hover{
    background:#000000;
    color:#fff;
}

.stats-card{
    width:230px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    overflow:hidden;
}

.stat{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
}

.stat+.stat{
    border-top:1px solid #ececec;
}

.stat i{
    color:#000000;
    font-size:30px;
    width:40px;
}

.stat h3{
    margin:0;
    font-size:30px;
    font-weight:700;
}

.stat p{
    margin:0;
    color:#666;
}

@media(max-width:991px){

.hero{
    min-height:auto;
}

.hero::after{
    background:rgba(255,255,255,.82);
}

.hero-title{
    font-family: 'Satoshi', sans-serif;
    font-size:30px;
}

.hero-content{
    text-align:center;
    padding:50px 0;
}

.stats-card{
    margin:30px auto;
}

}

.feature-card{
    background:#fff;
    border-radius:18px;
    padding:10px;
    height:100%;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
    transition:.3s;
    border:1px solid #f1f1f1;
}

.feature-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.icon-box{
    width:65px;
    height:65px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:20px;
}

.feature-card h3{
    font-size:18px;
    font-weight:600;
    margin-bottom:5px;
}

.feature-card p{
    color:#555;
    line-height:22px;
}

.sub-title{
    font-weight:700;
    margin-top:20px;
    margin-bottom:15px;
}

.feature-list{
    list-style:none;
    padding:0;
    margin:0;
}

.feature-list li{
    margin-bottom:12px;
    display:flex;
    align-items:center;
}

.feature-list i{
    width:28px;
}

.feature-link{
    margin-top:25px;
    display:inline-block;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
}

.green{color:#0c7a43;}
.orange{color:#e99618;}
.purple{color:#7a33d4;}
.blue{color:#1f6ce8;}
.red{color:#d72d2d;}

.green-bg{background:#e8f7ef;}
.orange-bg{background:#fff3df;}
.purple-bg{background:#f2e9ff;}
.blue-bg{background:#e8f0ff;}
.red-bg{background:#ffeaea;}
/********************************************************/

.events-wrap{
    max-width:760px;
    margin:60px auto;
    background:#fff;
    border-radius:1.25rem;
    padding:1.75rem 1.75rem 2.25rem;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
  }

  .events-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:1.5rem;
  }
  .events-title{
    display:flex;
    align-items:center;
    gap:.5rem;
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:1.1rem;
    color:var(--mc-ink);
  }
  .events-title i{
    color:var(--mc-green);
    font-size:1.15rem;
  }
  .events-view-all{
    font-family:'Poppins',sans-serif;
    font-weight:600;
    font-size:.85rem;
    color:var(--mc-green);
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:.35rem;
  }
  .events-view-all:hover{
    color:#0a4633;
  }

  /* ---- Event Card ---- */
  .event-card{
    display:flex;
    gap:1.1rem;
    background:#fff;
    border:1px solid var(--mc-border);
    border-radius:1rem;
    padding:1.1rem;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
  }
  .event-date-badge{
    flex-shrink:0;
    width:64px;
    border:1px solid var(--mc-border);
    border-radius:.75rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:.6rem .3rem;
    text-align:center;
  }
  .event-date-badge .month{
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:.7rem;
    letter-spacing:.5px;
    color:var(--mc-green);
    text-transform:uppercase;
  }
  .event-date-badge .day{
    font-family:'Poppins',sans-serif;
    font-weight:800;
    font-size:1.55rem;
    line-height:1.1;
    color:var(--mc-green);
  }

  .event-body h3{
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:1.05rem;
    color:var(--mc-ink);
    margin-bottom:.55rem;
    line-height:1.25;
  }
  .event-meta{
    display:flex;
    align-items:center;
    gap:.4rem;
    font-size:.82rem;
    color:var(--mc-gray);
    margin-bottom:.4rem;
  }
  .event-meta i{
    color:var(--mc-green);
    font-size:.8rem;
    width:14px;
  }

  .btn-register{
    margin-top:.6rem;
    background:var(--mc-ink);
    color:#fff;
    border:none;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    font-size:.78rem;
    padding:.5rem 1.1rem;
    border-radius:.5rem;
    transition:background .2s ease;
  }
  .btn-register:hover{
    background:#000;
    color:#fff;
  }

   .marketplace-wrap{
    max-width:760px;
    margin:60px auto 0;
    background:#fff;
    border-radius:2rem 2rem;
    padding:1.75rem 1.75rem 2.25rem;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
  }

  /* red strip under the card, like the reference screenshot */

  .mp-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:1.5rem;
  }
  .mp-title{
    display:flex;
    align-items:center;
    gap:.55rem;
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:1.1rem;
    color:var(--mc-ink);
  }
  .mp-title i{
    color:var(--mc-green);
    font-size:1.15rem;
  }
  .mp-browse-all{
    font-family:'Poppins',sans-serif;
    font-weight:600;
    font-size:.85rem;
    color:var(--mc-green);
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:.35rem;
  }
  .mp-browse-all:hover{
    color:#0a4633;
  }

  /* ---- Product Card ---- */


  /* ---------- CARDS ---------- */
  .results-meta{font-size:14px;color:var(--ink-soft);margin-bottom:16px;}
  .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
  .card{
    background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;
    display:flex;flex-direction:column;transition:transform .18s ease, box-shadow .18s ease;
  }
  .card:hover{transform:translateY(-4px);box-shadow:0 18px 34px -18px rgba(20,20,25,0.28);}
  .thumb{position:relative;height:150px;overflow:hidden;}
  .thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease;}
  .card:hover .thumb img{transform:scale(1.06);}
  .badge{
    position:absolute;top:12px;left:12px;padding:5px 12px;border-radius:20px;
    font-size:11px;font-weight:800;letter-spacing:0.4px;color:#fff;text-transform:uppercase;
  }
  .badge.tournament{background:var(--mc-red);}
  .badge.casual{background:var(--green-play);}
  .badge.workshop{background:var(--purple-work);}
  .badge.social{background:var(--orange-social);}
  .fav{
    position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;
    background:rgba(255,255,255,0.92);display:flex;align-items:center;justify-content:center;font-size:15px;
    color:#c9c9cc;cursor:pointer;
  }
  .fav.active{color:var(--mc-red);}
  .card-body{padding:14px 16px 16px;display:flex;gap:12px;flex:1;}
  .date-chip{
    flex-shrink:0;width:52px;text-align:center;border-right:1px solid var(--line);padding-right:12px;
  }
  .date-chip .day{font-size:22px;font-weight:800;line-height:1;color:var(--ink);}
  .date-chip .mon{font-size:11px;font-weight:700;color:var(--mc-red);letter-spacing:0.5px;margin-top:3px;}
  .date-chip .dow{font-size:10.5px;color:#a3a3a8;margin-top:1px;letter-spacing:0.5px;}
  .card-info{flex:1;display:flex;flex-direction:column;}
  .card-info h3{font-size:15.5px;line-height:1.3;font-weight:600;margin-bottom:8px;font-family:'Manrope',sans-serif;}
  .meta-line{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-soft);margin-bottom:5px;}
  .meta-line .ic{font-size:12px;flex-shrink:0;}
  .fill{font-weight:700;font-size:12.5px;margin-top:2px;margin-bottom:10px;}
  .fill.t{color:var(--mc-red);} .fill.c{color:var(--green-play);} .fill.w{color:var(--purple-work);} .fill.s{color:var(--orange-social);}
  .view-btn{
    display:block;text-align:center;padding:9px;border-radius:8px;font-weight:700;font-size:13.5px;
    border:1.5px solid var(--mc-red);color:var(--mc-red);margin-top:auto;transition:all .18s;
  }
  .view-btn:hover{background:var(--mc-red);color:#fff;}
  .view-btn.c{border-color:var(--green-play);color:var(--green-play);}
  .view-btn.c:hover{background:var(--green-play);color:#fff;}
  .view-btn.w{border-color:var(--purple-work);color:var(--purple-work);}
  .view-btn.w:hover{background:var(--purple-work);color:#fff;}
  .view-btn.s{border-color:var(--orange-social);color:var(--orange-social);}
  .view-btn.s:hover{background:var(--orange-social);color:#fff;}

  /* ---------- PAGINATION ---------- */
  .pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:34px;}
  .pagination button{
    width:38px;height:38px;border-radius:9px;border:1px solid var(--line);background:#fff;
    font-weight:700;font-size:13.5px;cursor:pointer;color:#3a3a3f;
  }
  .pagination button.active{background:var(--mc-red);border-color:var(--mc-red);color:#fff;}
  .pagination .dots{width:auto;border:none;background:none;}

  @media (max-width:1180px){ .grid{grid-template-columns:repeat(3,1fr);} }
  @media (max-width:980px){
    nav{display:none;}
    .hero-photo{display:none;}
    .layout{flex-direction:column;}
    .sidebar{width:100%;}
    .grid{grid-template-columns:repeat(2,1fr);}
  }
  @media (max-width:560px){
    header{padding:14px 18px;}
    .hero{padding:36px 20px;}
    .hero h1{font-size:30px;}
    .toolbar{padding:16px 18px;}
    .layout{padding:20px 18px 40px;}
    .grid{grid-template-columns:1fr;}
  }

  /****************************************** CARD ***************************************/

  .gridevtevt{
    display:grid;
    grid-template-columns:1.35fr 1.35fr 1.35fr 1fr;
    gap:16px;
    max-width:1400px;
    margin:0 auto;
  }
  .card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    padding:20px;
  }
  .card-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
  }
  .card-header h2{
    font-size:14px;
    letter-spacing:.3px;
    margin:0;
    color:var(--text-dark);
    font-weight:700;
  }
  .card-header a{
    font-size:13px;
    color:var(--purple);
    text-decoration:none;
    font-weight:600;
    white-space:nowrap;
  }
  .card-header a:hover{text-decoration:underline;}

  /* Featured Platforms */
  .platform{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid var(--border);
  }
  .platform:last-child{border-bottom:none;}
  .platform-icon{
    width:40px;height:40px;border-radius:8px;
    flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
    font-size:20px;
    overflow:hidden;
    background:#eee;
  }
  .platform-info{flex:1;min-width:0;}
  .platform-info strong{
    display:block;
    font-size:14px;
    margin-bottom:2px;
  }
  .platform-info p{
    margin:0;
    font-size:12px;
    color:var(--text-gray);
    line-height:1.4;
  }
  .visit-btn{
    display:flex;
    align-items:center;
    gap:6px;
    background:var(--purple-light);
    color:var(--purple);
    border:none;
    border-radius:6px;
    padding:8px 12px;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
    cursor:pointer;
    flex-shrink:0;
  }
  .visit-btn:hover{background:#e6e1fc;}

  /* Upcoming Events */
  /* Upcoming Events */
  .card-header.events-header h2{color:var(--mc-red);}
  .event{
    display:flex;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid var(--border);
  }
  .event:last-child{border-bottom:none;}
  .event-date{
    text-align:center;
    flex-shrink:0;
    width:56px;
    height:56px;
    border:2px solid var(--mc-red);
    border-radius:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:2px;
  }
  .event-date .mon{
    color:var(--mc-red);
    font-size:10px;
    font-weight:700;
    letter-spacing:.5px;
    line-height:1.1;
  }
  .event-date .day{
    color:var(--mc-red);
    font-size:14px;
    font-weight:700;
    line-height:1.1;
  }
  .event-info{flex:1;}
  .event-info strong{
    display:block;
    font-size:14px;
    margin-bottom:4px;
  }
  .event-info .loc{
    font-size:12px;
    color:var(--text-gray);
    display:flex;
    align-items:center;
    gap:4px;
    margin-bottom:6px;
  }
  .tag{
    display:inline-block;
    background:var(--green-bg);
    color:var(--green-text);
    font-size:11px;
    font-weight:600;
    padding:3px 8px;
    border-radius:5px;
  }
  .view-all-events{
    display:inline-block;
    margin-top:14px;
    font-size:13px;
    font-weight:700;
    color:var(--purple);
    text-decoration:none;
  }
  .view-all-events:hover{text-decoration:underline;}


  /* Community posts */
  .post{
    display:flex;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid var(--border);
  }
  .post:last-child{border-bottom:none;}
  .post-thumb{
    width:56px;height:56px;
    border-radius:8px;
    object-fit:cover;
    flex-shrink:0;
    background:#ddd;
  }
  .post-info strong{
    display:block;
    font-size:13.5px;
    line-height:1.3;
    margin-bottom:3px;
  }
  .post-info p{
    margin:0 0 4px 0;
    font-size:12px;
    color:var(--text-gray);
    line-height:1.4;
  }
  .post-info .time{
    font-size:11px;
    color:#a2a6b3;
  }

  /* Popular in community */
  .link-row{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 0;
    font-size:13.5px;
    font-weight:600;
    color:var(--text-dark);
    text-decoration:none;
    border-bottom:1px solid var(--border);
  }
  .link-row:last-of-type{border-bottom:none;}
  .link-row .ic{
    width:20px;height:20px;
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
  }
  .join-btn{
    width:100%;
    margin-top:14px;
    background:#fff;
    border:1.5px solid var(--purple);
    color:var(--purple);
    font-weight:700;
    font-size:13px;
    letter-spacing:.3px;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
  }
  .join-btn:hover{background:var(--purple-light);}

  @media (max-width:1100px){
    .gridevt{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:640px){
    .gridevt{grid-template-columns:1fr;}
  }
  
/*
  .product-card{
    border:1px solid var(--mc-border);
    border-radius:.9rem;
    overflow:hidden;
    background:#fff;
    height:100%;
  }
  .product-card .thumb{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
    background:#f2f2f2;
  }
  .product-card .product-name{
    text-align:center;
    padding:1rem .75rem 1.25rem;
    font-family:'Inter',sans-serif;
    font-weight:600;
    font-size:.92rem;
    color:var(--mc-ink);
  }
*/

  /* ---- Owl Carousel overrides ---- */
  .owl-carousel .owl-stage{
    display:flex;
  }
  .owl-carousel .owl-item{
    padding:.35rem .6rem .35rem .05rem;
    display:flex;
  }
  .owl-carousel .owl-item .event-card{
    width:100%;
  }

  .owl-theme .owl-dots{
    margin-top:1.5rem;
    text-align:center;
  }
  .owl-theme .owl-dots .owl-dot span{
    width:8px;
    height:8px;
    margin:0 4px;
    background:#dcdfe3;
    border-radius:50%;
  }
  .owl-theme .owl-dots .owl-dot.active span{
    background:var(--mc-ink);
  }
  .owl-theme .owl-nav{
    display:none; /* using dots only, like the reference */
  }

.newsletter{
    background:#0b0b15;
    color:#fff;
    border-radius:15px;
    padding:30px;
}

.newsletter h4{
    font-weight:700;
}

.social i{
    font-size:24px;
    margin:0 8px;
    cursor:pointer;
}

.newsletter input{
    height:50px;
}

.newsletter .btn{
    height:50px;
}

@media(max-width:991px){

.info-card{
    margin-bottom:20px;
}

.newsletter{
    text-align:center;
}

.newsletter .row>*{
    margin-bottom:20px;
}

}

.footer{
    background:#bf0816;
    color:#fff;
    padding:60px 0 0;
}

.footer-logo{
    display:flex;
    align-items:center;
    margin-bottom:15px;
}

.footer-logo img{
    width:150px;
    margin-right:15px;
}

.footer-logo h2{
    font-size:38px;
    font-weight:700;
    line-height:1;
    margin:0;
    font-family:Georgia,serif;
}

.footer-logo span{
    display:block;
    color:#d7a33a;
    font-size:20px;
    letter-spacing:2px;
}

.footer p{
    color:#ddd;
    line-height:28px;
}

.footer h5{
    font-size:18px;
    font-weight:700;
    margin-bottom:20px;
    text-transform:uppercase;
}

.footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer ul li{
    margin-bottom:10px;
}

.footer ul li a{
    color:#ddd;
    text-decoration:none;
    transition:.3s;
}

.footer ul li a:hover{
    color:#28c76f;
    padding-left:5px;
}

.social-icons{
    margin-top:20px;
}

.social-icons a{
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.3);
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    margin-right:10px;
    text-decoration:none;
    transition:.3s;
}

.social-icons a:hover{
    background:#1a8f5b;
    border-color:#1a8f5b;
}

.newsletter p{
    margin-bottom:20px;
}

.newsletter .form-control{
    background:transparent;
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    height:50px;
}

.newsletter .form-control::placeholder{
    color:#bbb;
}

.newsletter .btn{
    background:#14864d;
    color:#fff;
    font-weight:600;
    padding:0 25px;
}

.newsletter .btn:hover{
    background:#0f6d3d;
}

.footer-bottom{
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.15);
    padding:18px 0;
    color:#ddd;
}

.footer-bottom i{
    color:#ff4d4d;
}

@media(max-width:991px){

.footer{
    text-align:center;
}

.footer-logo{
    justify-content:center;
}

.social-icons{
    margin-bottom:30px;
}

}

/*************** Login**************/
.login-section{
            padding:70px 0;
        }

        .breadcrumb-custom{
            font-size:14px;
            color:#888;
            margin-bottom:40px;
        }

        .welcome{
            color:#b57713;
            font-weight:600;
            text-transform:uppercase;
            font-size:20px;
            margin-bottom:15px;
        }

        .left-content h2{
            font-size:40px;
            font-weight:700;
            margin-bottom:15px;
        }

        .left-content p{
            font-size:30px;
            line-height:45px;
            color:#222;
            margin-bottom:40px;
        }

        .mahjong-img{
            max-width:380px;
            width:100%;
        }

        .login-card{
            background:#fff;
            border-radius:18px;
            padding:35px;
            box-shadow:0 8px 30px rgba(0,0,0,.08);
        }

        .login-card h3{
            font-size:30px;
            text-align:center;
            margin-bottom:30px;
            font-weight:700;
        }

        .form-label{
            font-weight:600;
        }

        .form-control{
            height:52px;
            border-radius:8px;
        }

        .login-btn{
            background:#bf0d1d;
            color:#fff;
            height:52px;
            border-radius:8px;
            font-weight:600;
        }

        .login-btn:hover{
            background:#990916;
            color:#fff;
        }

        .social-btn{
            border:1px solid #ddd;
            border-radius:8px;
            height:50px;
            background:#fff;
            margin-bottom:15px;
            font-weight:500;
        }

        .social-btn:hover{
            background:#f8f8f8;
        }

        .divider{
            display:flex;
            align-items:center;
            margin:20px 0;
        }

        .divider::before,
        .divider::after{
            content:"";
            flex:1;
            border-bottom:1px solid #ddd;
        }

        .divider span{
            margin:0 15px;
            color:#999;
        }

        .forgot{
            font-size:14px;
            color:#c51b1b;
            text-decoration:none;
        }

        .register-link{
            color:#c51b1b;
            text-decoration:none;
            font-weight:600;
        }

        @media(max-width:991px){

            .left-content{
                text-align:center;
                margin-bottom:50px;
            }

            .left-content p{
                font-size:24px;
                line-height:35px;
            }

        }

        

/*************** Registration**************/

.register-section {
            padding: 70px 0;
        }

        .breadcrumb-custom {
            font-size: 14px;
            color: #777;
            margin-bottom: 40px;
        }

        .small-title {
            color: #b87a14;
            text-transform: uppercase;
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 15px;
        }

        .left-content h2 {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .left-content p {
            font-size: 20px;
            line-height: 34px;
            color: #222;
            margin-bottom: 40px;
        }

        .left-image {
            width: 100%;
            max-width: 420px;
        }

        .register-card {
            background: #fff;
            border-radius: 18px;
            padding: 35px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
        }

        .register-card h3 {
            text-align: center;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .form-control,
        .form-select {
            height: 50px;
            border-radius: 8px;
        }

        .btn-register {
            background: #c31421;
            color: #fff;
            height: 52px;
            border-radius: 8px;
            font-weight: 600;
        }

        .btn-register:hover {
            background: #9d0d18;
            color: #fff;
        }

        .login-link {
            color: #c31421;
            font-weight: 600;
            text-decoration: none;
        }

        .input-group-text {
            background: #fff;
        }

        @media(max-width:991px) {

            .left-content {
                text-align: center;
                margin-bottom: 50px;
            }

        }


/************************************ Events ********************************************************/
.events-wrap{
    max-width:760px;
    margin:60px auto;
    background:#fff;
    border-radius:1.25rem;
    padding:1.75rem 1.75rem 2.25rem;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
  }

  .events-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:1.5rem;
  }
  .events-title{
    display:flex;
    align-items:center;
    gap:.5rem;
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:1.1rem;
    color:var(--mc-ink);
  }
  .events-title i{
    color:var(--mc-green);
    font-size:1.15rem;
  }
  .events-view-all{
    font-family:'Poppins',sans-serif;
    font-weight:600;
    font-size:.85rem;
    color:var(--mc-green);
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:.35rem;
  }
  .events-view-all:hover{
    color:#0a4633;
  }

  /* ---- Event Card ---- */
  
 /* Marketplace */
  .market-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:2px 2px 6px 2px;
  }
  .market-thumb{
    width:52px;height:52px;
    border-radius:8px;
    object-fit:cover;
    flex-shrink:0;
    background:#eee;
  }
  .market-info{flex:1;min-width:0;}
  .market-info strong{
    display:block;
    font-size:13.5px;
    margin-bottom:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .market-info .price{
    font-size:13px;
    font-weight:700;
    color:var(--purple);
  }
  .market-info .cond{
    font-size:11px;
    color:var(--text-gray);
    margin-left:6px;
  }

  /* ---------- CARDS ---------- */
  .results-meta{font-size:14px;color:var(--ink-soft);margin-bottom:16px;}
  .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  .card{
    background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;
    display:flex;flex-direction:column;transition:transform .18s ease, box-shadow .18s ease;
  }
  .card:hover{transform:translateY(-4px);box-shadow:0 18px 34px -18px rgba(20,20,25,0.28);}
  .thumb{position:relative;height:150px;overflow:hidden;}
  .thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease;}
  .card:hover .thumb img{transform:scale(1.06);}
  .badge{
    position:absolute;top:12px;left:12px;padding:5px 12px;border-radius:20px;
    font-size:11px;font-weight:800;letter-spacing:0.4px;color:#fff;text-transform:uppercase;
  }
  .badge.tournament{background:var(--mc-red);}
  .badge.casual{background:var(--green-play);}
  .badge.workshop{background:var(--purple-work);}
  .badge.social{background:var(--orange-social);}
  .fav{
    position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;
    background:rgba(255,255,255,0.92);display:flex;align-items:center;justify-content:center;font-size:15px;
    color:#c9c9cc;cursor:pointer;
  }
  .fav.active{color:var(--mc-red);}
  .card-body{padding:14px 16px 16px;display:flex;gap:12px;flex:1;}
  .date-chip{
    flex-shrink:0;width:52px;text-align:center;border-right:1px solid var(--line);padding-right:12px;
  }
  .date-chip .day{font-size:22px;font-weight:800;line-height:1;color:var(--ink);}
  .date-chip .mon{font-size:11px;font-weight:700;color:var(--mc-red);letter-spacing:0.5px;margin-top:3px;}
  .date-chip .dow{font-size:10.5px;color:#a3a3a8;margin-top:1px;letter-spacing:0.5px;}
  .card-info{flex:1;display:flex;flex-direction:column;}
  .card-info h3{font-size:15.5px;line-height:1.3;font-weight:600;margin-bottom:8px;font-family:'Manrope',sans-serif;}
  .meta-line{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-soft);margin-bottom:5px;}
  .meta-line .ic{font-size:12px;flex-shrink:0;}
  .fill{font-weight:700;font-size:12.5px;margin-top:2px;margin-bottom:10px;}
  .fill.t{color:var(--mc-red);} .fill.c{color:var(--green-play);} .fill.w{color:var(--purple-work);} .fill.s{color:var(--orange-social);}
  .view-btn{
    display:block;text-align:center;padding:9px;border-radius:8px;font-weight:700;font-size:13.5px;
    border:1.5px solid var(--mc-red);color:var(--mc-red);margin-top:auto;transition:all .18s;
  }
  .view-btn:hover{background:var(--mc-red);color:#fff;}
  .view-btn.c{border-color:var(--green-play);color:var(--green-play);}
  .view-btn.c:hover{background:var(--green-play);color:#fff;}
  .view-btn.w{border-color:var(--purple-work);color:var(--purple-work);}
  .view-btn.w:hover{background:var(--purple-work);color:#fff;}
  .view-btn.s{border-color:var(--orange-social);color:var(--orange-social);}
  .view-btn.s:hover{background:var(--orange-social);color:#fff;}

  /* ---------- PAGINATION ---------- */
  .pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:34px;}
  .pagination button{
    width:38px;height:38px;border-radius:9px;border:1px solid var(--line);background:#fff;
    font-weight:700;font-size:13.5px;cursor:pointer;color:#3a3a3f;
  }
  .pagination button.active{background:var(--mc-red);border-color:var(--mc-red);color:#fff;}
  .pagination .dots{width:auto;border:none;background:none;}

  @media (max-width:1180px){ .grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:980px){
    nav{display:none;}
    .hero-photo{display:none;}
    .layout{flex-direction:column;}
    .sidebar{width:100%;}
    .grid{grid-template-columns:repeat(2,1fr);}
  }
  @media (max-width:560px){
    header{padding:14px 18px;}
    .hero{padding:36px 20px;}
    .hero h1{font-size:30px;}
    .toolbar{padding:16px 18px;}
    .layout{padding:20px 18px 40px;}
    .grid{grid-template-columns:1fr;}
  }
/*************************************** market Place ***********************************************/


.marketplace{
    background:#fafafa;
}

.product-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:14px;

    overflow:hidden;

    transition:.35s;

    height:100%;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.product-image{

    position:relative;

    overflow:hidden;

}

.product-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:.5s;

}

.product-card:hover img{

    transform:scale(1.08);

}

.wishlist{

    position:absolute;

    top:12px;

    right:12px;

    width:38px;

    height:38px;

    border:none;

    background:#fff;

    border-radius:50%;

    box-shadow:0 3px 12px rgba(0,0,0,.12);

}

.product-body{

    padding:20px;

}

.product-body h5{

    font-size:20px;

    font-weight:600;

    min-height:56px;

}

.rating{

    color:#FDBA12;

    margin:12px 0;

}

.rating span{

    color:#777;

    margin-left:6px;

}

.product-body h3{

    font-size:28px;

    font-weight:700;

}

.stock{

    color:#28a745;

    font-weight:600;

    margin:10px 0 20px;

}

.product-footer{

    display:flex;

    justify-content:space-between;

    gap:10px;

}

.details-btn{

    flex:1;

    border:1px solid #ddd;

    background:#fff;

    border-radius:8px;

    font-size:13px;

    font-weight:600;

}

.details-btn:hover{

    background:#bf1822;

    color:#fff;

}

.cart-btn{

    width:48px;

    border:1px solid #ddd;

    background:#fff;

    border-radius:8px;

}

.cart-btn:hover{

    background:#bf1822;

    color:#fff;

}

.pagination .page-link{

    border:none;

    color:#444;

    margin:0 5px;

    border-radius:6px;

}

.pagination .active .page-link{

    background:#bf1822;

}

@media(max-width:991px){

.product-image img{

height:240px;

}

}

@media(max-width:576px){

.product-image img{

height:220px;

}

.product-body h5{

font-size:18px;

}

.product-body h3{

font-size:24px;

}

}


/*******************************Events Page ******************************************/


/* FILTER BAR */
  .filter-bar{
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    padding:1rem;
    box-shadow:0 2px 10px rgba(0,0,0,.03);
  }
  .filter-bar .form-select, .filter-bar .form-control{
    border-radius:8px;
  }
  .view-toggle .btn{
    border-radius:8px;
    width:44px;height:44px;
  }
  .view-toggle .btn.active-view{
    background:var(--brand-red);
    color:#fff;
    border-color:var(--brand-red);
  }

  /* SIDEBAR FILTERS */
  .filters-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    padding:1.25rem;
  }
  .filters-card h6{
    font-weight:700;
    text-transform:uppercase;
    font-size:.75rem;
    letter-spacing:.5px;
    color:#888;
  }
  .reset-all{
    color:var(--brand-red);
    font-size:.8rem;
    font-weight:600;
    text-decoration:none;
  }
  .form-check-label{
    display:flex;justify-content:space-between;width:100%;
    font-size:.9rem;
  }
  .form-check-label .count{color:#999;font-size:.85rem;}
  .view-all-link{color:var(--brand-red);font-size:.85rem;font-weight:600;text-decoration:none;}
  .btn-clear-filters{
    border:1px solid var(--brand-red);
    color:var(--brand-red);
    background:#fff;
    border-radius:8px;
    font-weight:600;
    width:100%;
  }
  .btn-clear-filters:hover{background:#fdf0ef;color:var(--brand-red);}

  /* EVENT CARDS */
  .event-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    overflow:hidden;
    transition:transform .15s ease, box-shadow .15s ease;
    height:100%;
  }
  .event-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
  }
  .event-thumb{
    height:170px;
    position:relative;
    display:flex;align-items:center;justify-content:center;
    color:rgba(255,255,255,.9);
    font-size:2.5rem;
    background-size:cover;background-position:center;
  }
  .thumb-tournament{background:linear-gradient(135deg,#3a0d0d,#1a1a1a);}
  .thumb-casual{background:linear-gradient(135deg,#0f3d2e,#1c5c46);}
  .thumb-workshop{background:linear-gradient(135deg,#2c1a4d,#4a2f7a);}
  .thumb-social{background:linear-gradient(135deg,#3d2410,#6b3a12);}

  .badge-type{
    position:absolute;top:12px;left:12px;
    font-size:.7rem;
    font-weight:700;
    padding:.35rem .7rem;
    border-radius:6px;
    letter-spacing:.4px;
  }
  .badge-tournament{background:var(--brand-red);color:#fff;}
  .badge-casual{background:#2e8b57;color:#fff;}
  .badge-workshop{background:#7b4fc9;color:#fff;}
  .badge-social{background:#e07a1f;color:#fff;}

  .fav-btn{
    position:absolute;top:10px;right:10px;
    width:34px;height:34px;border-radius:50%;
    background:rgba(255,255,255,.9);
    display:flex;align-items:center;justify-content:center;
    color:#333;border:none;
  }
  .fav-btn.active-fav{color:var(--brand-red);}
  .fav-btn.active-fav i{font-weight:900;}

  .event-body{padding:1rem 1.1rem 1.1rem;}
  .date-block{
    text-align:center;
    min-width:52px;
  }
  .date-block .day-num{
    font-size:1.5rem;font-weight:800;line-height:1;color:var(--brand-dark);
  }
  .date-block .month{
    font-size:.7rem;font-weight:700;color:var(--brand-red);letter-spacing:.5px;
  }
  .date-block .weekday{
    font-size:.65rem;color:#999;font-weight:600;
  }
  .event-title{
    font-weight:700;
    font-size:1.02rem;
    line-height:1.25;
    margin-bottom:0;
  }
  .event-meta{
    font-size:.82rem;
    color:#666;
    margin-bottom:.2rem;
  }
  .event-meta i{width:16px;color:#999;}
  .event-count{
    font-size:.82rem;
    font-weight:700;
  }
  .count-red{color:var(--brand-red);}
  .count-green{color:#2e8b57;}
  .count-purple{color:#7b4fc9;}
  .count-orange{color:#e07a1f;}

  .btn-view-details{
    width:100%;
    border-radius:8px;
    font-weight:600;
    font-size:.9rem;
    padding:.5rem;
  }
  .btn-outline-tournament{border:1px solid var(--brand-red);color:var(--brand-red);background:#fff;}
  .btn-outline-tournament:hover{background:var(--brand-red);color:#fff;}
  .btn-outline-casual{border:1px solid #2e8b57;color:#2e8b57;background:#fff;}
  .btn-outline-casual:hover{background:#2e8b57;color:#fff;}
  .btn-outline-workshop{border:1px solid #7b4fc9;color:#7b4fc9;background:#fff;}
  .btn-outline-workshop:hover{background:#7b4fc9;color:#fff;}
  .btn-outline-social{border:1px solid #e07a1f;color:#e07a1f;background:#fff;}
  .btn-outline-social:hover{background:#e07a1f;color:#fff;}

  /* PAGINATION */
  .page-link{
    color:#333;border-radius:8px !important;
    margin:0 3px;border:1px solid #ddd;
  }
  .page-item.active .page-link{
    background:var(--brand-red);
    border-color:var(--brand-red);
  }
  .results-count{color:#777;font-size:.9rem;}

  @media (max-width: 991px){
    .hero-art{display:none;}
    .hero h1{font-size:2rem;}
  }

  /******************************** ONLINE ***********************************************/

  /* SECTION TITLES */
  .section-title{font-weight:800;font-size:1.4rem;margin-bottom:0;position:relative;display:inline-block;}
  .section-title::after{
    content:"";display:block;width:36px;height:3px;background:var(--brand-red);margin-top:6px;border-radius:2px;
  }

  .view-all {
    color: #b91c1c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
  }
  .view-all:hover { text-decoration: underline; }

  .swiper-wrap {
    position: relative;
  }

  .platform-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    width: fit-content;
  }
  .badge.beginner { background: #d1f2df; color: #16794f; }
  .badge.popular  { background: #ece3fb; color: #6d3fc9; }
  .badge.competitive { background: #fde3c6; color: #b0620a; }
  
  .icon-tile {width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
  }

  /* FEATURED PLATFORM CARDS */
  .platform-card{border:1px solid #eee;border-radius:14px;padding:1.3rem;height:100%;position:relative;}
 .platform-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
  }
  .stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; }
  .rating-count { color: #888; font-size: 14px; }

  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }
  .tag {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    background: #f2f2f2;
    color: #444;
  }
  .tag.green { background: #d1f2df; color: #16794f; }
  .tag.purple { background: #ece3fb; color: #6d3fc9; }
  .tag.orange { background: #fde3c6; color: #b0620a; }

  .description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
  }
  .visit-link {
    color: #b91c1c;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
  }
  .visit-link:hover { text-decoration: underline; }
  .platform-type {
    color: #888;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* Swiper nav buttons styled like the round arrows in the mock */
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #333;
    top: 45%;
  }
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 14px;
    font-weight: 700;
  }
  .swiper-button-prev { left: -18px; }
  .swiper-button-next { right: -18px; }

  .swiper-pagination-bullet-active {
    background: #b91c1c;
  }

  .swiper {
    padding: 8px 4px 40px 4px;
  }
 
 
  .tag-ribbon{
    font-size:.65rem;font-weight:700;padding:.35rem .7rem;border-radius:6px;letter-spacing:.3px;
    display:inline-block;margin-bottom:.8rem;
  }
  .tag-beginners{background:#dff3e6;color:#2e8b57;}
  .tag-popular{background:#eee4fb;color:#7b4fc9;}
  .tag-competitive{background:#fdecd2;color:#e07a1f;}
  .platform-logo{
    width:64px;height:64px;border-radius:12px;background:#1a1a1a;color:#fff;
    display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.6rem;margin-bottom:.9rem;
  }
  .platform-name{font-weight:700;font-size:1.15rem;margin-bottom:.2rem;}
  .rating i{color:#f5a623;font-size:.78rem;}
  .rating span{font-size:.8rem;color:#999;margin-left:.3rem;}
  .plat-chip{
    display:inline-block;font-size:.72rem;font-weight:600;padding:.28rem .6rem;border-radius:6px;margin:.2rem .3rem .2rem 0;
  }
  .chip-green{background:#dff3e6;color:#2e8b57;}
  .chip-purple{background:#eee4fb;color:#7b4fc9;}
  .chip-gray{background:#f0f0f0;color:#555;}
  .chip-orange{background:#fdecd2;color:#e07a1f;}
  .platform-desc{font-size:.85rem;color:#666;margin:.8rem 0;min-height:56px;}
  .visit-link{color:var(--brand-red);font-weight:700;font-size:.9rem;text-decoration:none;}
  .platform-type{font-size:.8rem;color:#888;}
  .scroll-arrow{
    width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #ddd;
    display:flex;align-items:center;justify-content:center;color:#333;
  }

  /* COMPARE TABLE */
  .compare-table{border:1px solid #eee;border-radius:12px;overflow:hidden;}
  .compare-table table{margin-bottom:0;}
  .compare-table th{background:#faf8f5;font-weight:700;font-size:.85rem;}
  .compare-table td, .compare-table th{padding:.85rem 1rem;font-size:.85rem;vertical-align:middle;}
  .check-yes{color:#2e8b57;font-size:1.1rem;}
  .check-no{color:#ccc;}
  .rating-cell i{color:#f5a623;font-size:.7rem;}
  .btn-full-compare{
    border:1px solid #ddd;color:#333;background:#fff;border-radius:8px;font-weight:600;
  }
  .btn-full-compare:hover{background:#f4f2ef;}

  /* WHICH PLATFORM RECOMMEND CARDS */
  .rec-card{
    background:var(--cream);border-radius:12px;padding:1.1rem;display:flex;gap:1rem;align-items:flex-start;
  }
  .rec-icon{
    width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    color:#fff;font-size:1.2rem;flex-shrink:0;
  }
  .rec-icon-green{background:#2e8b57;}
  .rec-icon-purple{background:#7b4fc9;}
  .rec-icon-orange{background:#e07a1f;}
  .rec-title{font-weight:700;font-size:.95rem;margin-bottom:.15rem;}
  .rec-title.green{color:#2e8b57;}
  .rec-title.purple{color:#7b4fc9;}
  .rec-title.orange{color:#e07a1f;}
  .rec-desc{font-size:.83rem;color:#666;margin-bottom:.3rem;}
  .rec-link{font-size:.85rem;font-weight:700;text-decoration:none;}
  .rec-link.green{color:#2e8b57;}
  .rec-link.purple{color:#7b4fc9;}
  .rec-link.orange{color:#e07a1f;}

  /* LEARN BEFORE YOU PLAY */
  .learn-card{
    border-radius:12px;padding:1.2rem;height:100%;
  }
  .learn-green{background:#eefaf1;}
  .learn-purple{background:#f4effb;}
  .learn-red{background:#fdeceb;}
  .learn-blue{background:#eef2fb;}
  .learn-icon{font-size:1.4rem;margin-bottom:.6rem;}
  .learn-icon.green{color:#2e8b57;}
  .learn-icon.purple{color:#7b4fc9;}
  .learn-icon.red{color:var(--brand-red);}
  .learn-icon.blue{color:#3a5fcd;}
  .learn-title{font-weight:700;font-size:.95rem;}
  .learn-title.green{color:#2e8b57;}
  .learn-title.purple{color:#7b4fc9;}
  .learn-title.red{color:var(--brand-red);}
  .learn-title.blue{color:#3a5fcd;}
  .learn-desc{font-size:.83rem;color:#666;margin:.4rem 0 .7rem;}
  .learn-link{font-size:.85rem;font-weight:700;text-decoration:none;}
  .learn-link.green{color:#2e8b57;}
  .learn-link.purple{color:#7b4fc9;}
  .learn-link.red{color:var(--brand-red);}
  .learn-link.blue{color:#3a5fcd;}

  /* TRUST STRIP */
  .trust-strip{background:var(--cream);padding:2rem 0;}
  .trust-strip h6{font-weight:700;font-size:.95rem;}
  .trust-strip p{font-size:.83rem;color:#666;max-width:520px;}
  .stat-block{text-align:center;}
  .stat-block .num{font-weight:800;color:var(--brand-red);font-size:1.3rem;}
  .stat-block .lbl{font-size:.78rem;color:#666;}
  .stat-icon{
    width:44px;height:44px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;
    margin:0 auto .4rem;color:var(--brand-red);
  }

  /* NEWSLETTER */
  .newsletter{background:#f3f1ee;padding:1.6rem 0;}
  .newsletter-logo{
    width:44px;height:44px;border-radius:10px;background:var(--brand-red);color:#fff;
    display:flex;align-items:center;justify-content:center;font-weight:800;
  }
  .newsletter h6{font-weight:700;margin-bottom:.1rem;}
  .newsletter p{font-size:.83rem;color:#666;margin-bottom:0;}
  .newsletter input{border-radius:8px 0 0 8px;border-right:none;}
  .newsletter .btn-cta{border-radius:0 8px 8px 0;}


  /*
  .hero{background:linear-gradient(160deg,#fbf7f1,#f3e8db);padding:3rem 0 2.5rem;position:relative;overflow:hidden;}
  .eyebrow{color:var(--brand-red);font-weight:700;font-size:.8rem;letter-spacing:1px;}
  .hero h1{font-weight:800;font-size:2.7rem;line-height:1.1;}
  .hero h1 .accent{color:var(--brand-red);display:block;}
  .hero p{color:#555;font-size:.98rem;}
  .hero-visual{
    border-radius:16px;min-height:300px;
    background:linear-gradient(135deg,#eee3d1,#dcc9a8);
    display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
  }
  .hero-visual i{font-size:6rem;color:#8a6b3d;opacity:.55;}
  .trust-trio{border-top:1px solid rgba(0,0,0,.08);padding-top:1.2rem;margin-top:1.5rem;}
  .trust-trio i{color:var(--brand-red);font-size:1.3rem;}
  .trust-trio .tt-title{font-weight:700;font-size:.85rem;}
  .trust-trio .tt-desc{font-size:.78rem;color:#777;}

*/
/************************************* Offline **********************************************/
.search-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
  }

  .searchbar{
    display:flex;
    align-items:center;
    gap:10px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:10px;
    padding:8px;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
    max-width:520px;
  }
  .searchbar .field{
    flex:1;
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    color:#9ca3af;
    font-size:14px;
  }
  .searchbar .field svg{width:16px;height:16px;flex-shrink:0;}
  .btn-red{
    background:var(--mc-red-dark);
    color:#fff;
    border:none;
    border-radius:8px;
    padding:10px 22px;
    font-weight:700;
    font-size:14px;
    cursor:pointer;
  }

  .search-field{
    flex:1 1 220px;
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid #e2e2e6;
    border-radius:8px;
    padding:12px 14px;
    font-size:14px;
    color:#8a8a92;
  }
  .search-field svg{width:16px;height:16px;flex:none;color:#b3b3ba;}
  .btn-search{
    background:var(--mc-red);
    color:#fff;
    border:none;
    border-radius:8px;
    padding:12px 24px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
  }
  .btn-search:hover{background:#c81a1f;}
  .pill{
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid #e2e2e6;
    border-radius:8px;
    padding:12px 16px;
    font-size:14px;
    color:#3a3a3f;
    background:#fff;
    cursor:pointer;
    white-space:nowrap;
  }
  .pill svg{width:15px;height:15px;color:#8a8a92;}


  /* MAP */
  .map-wrap{
    position:relative;
    height:420px;
    border-radius:16px;
    overflow:hidden;
    background-image: radial-gradient(var(--dot) 1.4px, transparent 1.4px);
    background-size: 14px 14px;
    background-position: 0 0;
  }
  .map-mask{
    position:absolute;
    inset:0;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'><path d='M60,180 q40,-60 100,-40 q30,-40 90,-20 q50,-40 110,10 q70,-30 130,20 q20,-20 60,0 q60,-20 110,20 q50,-10 90,20 q30,40 -10,70 q10,40 -30,50 q-20,50 -80,40 q-40,40 -100,10 q-60,30 -120,-10 q-60,20 -110,-20 q-70,10 -120,-30 q-50,10 -90,-30 q-40,-10 -30,-60 Z'/></svg>") ;
  }
  .pin{
    position:absolute;
    display:flex;
    flex-direction:column;
    align-items:center;
    transform:translate(-50%,-100%);
  }
  .pin .avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    border:3px solid #fff;
    box-shadow:0 4px 10px rgba(0,0,0,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    background:linear-gradient(135deg,#f2c94c,#e17b3f);
    color:#fff;
    position:relative;
    z-index:2;
  }
  .pin .stem{
    width:2px;
    height:16px;
    background:var(--pin-red);
    margin-top:-2px;
  }
  .pin .dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--pin-red);
    margin-top:-1px;
  }
  .pin .label{
    position:absolute;
    top:0;
    left:66px;
    background:#161616;
    color:#fff;
    padding:7px 12px;
    border-radius:8px;
    font-size:12px;
    line-height:1.35;
    white-space:nowrap;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
  }
  .pin.label-left .label{ left:auto; right:66px; text-align:right;}
  .pin .label strong{font-size:13px; font-weight:700;}
  .pin .label span{display:block; opacity:.75; font-weight:400;}

  .browse{
    margin-top:36px;
    font-size:20px;
    font-weight:800;
  }
  /* SECTION TITLES */
  .section-title{font-weight:800;font-size:1.35rem;margin-bottom:0;position:relative;display:inline-block;}
  .section-title::after{content:"";display:block;width:36px;height:3px;background:var(--brand-red);margin-top:6px;border-radius:2px;}
  .view-all-link{color:var(--brand-red);font-weight:600;font-size:.88rem;text-decoration:none;white-space:nowrap;}

  /* COUNTRY CARDS */
  .country-card{border-radius:12px;overflow:hidden;position:relative;height:170px;width:170px;color:#fff;}
  .country-thumb{
    background-image: url('../images/city.jpg');   /* local file or URL */
    background-size: cover;
    background-position: center;
    height:100%;display:flex;align-items:flex-end;padding:.8rem;
    background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%), linear-gradient(135deg,#d8c7a5,#a98a5c);
  }
  .country-thumb .cname{font-weight:700;font-size:.95rem;}
  .country-thumb .ccount{font-size:.78rem;opacity:.9;}
  .scroll-arrow{
    width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #ddd;
    display:flex;align-items:center;justify-content:center;color:#333;
  }

  /* CITY PILLS */
  .city-pill{
    border:1px solid #eee;border-radius:10px;padding:.7rem 1rem;text-align:center;cursor:pointer;
    background:#fff;
  }
  .city-pill.active{border-color:var(--brand-red);}
  .city-pill .cname{font-weight:700;font-size:.9rem;}
  .city-pill.active .cname{color:var(--brand-red);}
  .city-pill .ccount{font-size:.75rem;color:#888;}

  /* ROOM LISTING CARDS */
  .room-card{border:1px solid #eee;border-radius:12px;padding:.9rem;display:flex;gap:1rem;margin-bottom:1rem;}
  .room-thumb{
    width:110px;height:90px;border-radius:10px;flex-shrink:0;
    background:linear-gradient(135deg,#efe6d8,#d8c39c);display:flex;align-items:center;justify-content:center;
    color:#8a6b3d;font-size:1.6rem;
  }
  .room-name{font-weight:700;font-size:.95rem;margin-bottom:.1rem;}
  .verified-badge{
    background:#dff3e6;color:#2e8b57;font-size:.65rem;font-weight:700;padding:.15rem .45rem;border-radius:5px;margin-left:.4rem;
  }
  .room-meta{font-size:.8rem;color:#777;margin-bottom:.15rem;}
  .room-tags{font-size:.78rem;color:#888;margin-bottom:.5rem;}
  .room-hours{font-size:.8rem;color:#555;text-align:right;white-space:nowrap;}
  .btn-room{border-radius:7px;font-size:.8rem;font-weight:600;padding:.3rem .7rem;}
  .btn-room-website{border:1px solid #ccc;color:#333;background:#fff;}
  .btn-room-website:hover{background:#f4f2ef;}
  .btn-room-join{border:1px solid #2e8b57;color:#2e8b57;background:#fff;}
  .btn-room-join:hover{background:#2e8b57;color:#fff;}
  .btn-view-more{width:100%;border:1px solid #ddd;color:#333;background:#fff;border-radius:8px;font-weight:600;}
  .btn-view-more:hover{background:#f4f2ef;}

  /* SIDEBAR CARDS */
  .side-card{border:1px solid #eee;border-radius:12px;padding:1.1rem;margin-bottom:1.2rem;}
  .side-card h6{font-weight:700;font-size:1rem;margin-bottom:0;}
  .wa-item{display:flex;align-items:center;gap:.7rem;padding:.6rem 0;border-bottom:1px solid #f2f2f2;}
  .wa-item:last-of-type{border-bottom:none;}
  .wa-icon{
    width:38px;height:38px;border-radius:50%;background:#eefaf1;color:#2e8b57;
    display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0;
  }
  .wa-name{font-weight:700;font-size:.85rem;margin-bottom:0;}
  .wa-members{font-size:.75rem;color:#888;}
  .btn-join-sm{
    border:1px solid #2e8b57;color:#2e8b57;background:#fff;border-radius:7px;font-size:.78rem;font-weight:600;
    padding:.28rem .8rem;margin-left:auto;
  }
  .btn-join-sm:hover{background:#2e8b57;color:#fff;}

  .meetup-item{display:flex;gap:.8rem;padding:.65rem 0;border-bottom:1px solid #f2f2f2;}
  .meetup-item:last-of-type{border-bottom:none;}
  .meetup-date{
    text-align:center;background:#fdecea;border-radius:8px;padding:.35rem .5rem;min-width:50px;flex-shrink:0;
  }
  .meetup-date .mo{font-size:.62rem;font-weight:700;color:var(--brand-red);}
  .meetup-date .dy{font-size:1.05rem;font-weight:800;color:var(--brand-red);line-height:1;}
  .meetup-title{font-weight:700;font-size:.85rem;margin-bottom:.1rem;}
  .meetup-meta{font-size:.76rem;color:#888;}
  .meetup-status{font-size:.7rem;font-weight:700;padding:.2rem .5rem;border-radius:6px;white-space:nowrap;height:fit-content;}
  .status-seats{background:#fdecd2;color:#e07a1f;}
  .status-register{background:#eee4fb;color:#7b4fc9;}

  /* CTA BANNER */
  .cta-banner{background:var(--cream);border-radius:16px;padding:2rem;}
  .cta-banner h4{font-weight:800;font-size:1.3rem;}
  .cta-banner p{color:#666;font-size:.9rem;}
  .cta-visual{
    height:100%;min-height:100px;border-radius:12px;
    background:linear-gradient(135deg,#e9e2d3,#d9cbaf);
    display:flex;align-items:center;justify-content:center;color:#8a6b3d;font-size:2.2rem;
  }

  /* TRUST BAR */
  .trust-item{display:flex;align-items:center;gap:.7rem;}
  .trust-item i{font-size:1.3rem;color:var(--brand-red);}
  .trust-item .t1{font-weight:700;font-size:.88rem;}
  .trust-item .t2{font-size:.78rem;color:#888;}


  /*
  .hero{background:#fff;padding:2.5rem 0 2rem;}
  .eyebrow{color:var(--brand-red);font-weight:700;font-size:.8rem;letter-spacing:1px;}
  .hero h1{font-weight:800;font-size:2.4rem;line-height:1.15;}
  .hero h1 .accent{color:var(--brand-red);}
  .hero p{color:#555;font-size:.95rem;margin-bottom:.15rem;}
  */

  /****************************** Shop ***********************************************/

  
  /* SECTION TITLES */
  .section-title{font-weight:800;font-size:1.4rem;margin-bottom:.1rem;}
  .section-sub{color:#777;font-size:.9rem;}
  .view-all-link{color:var(--brand-red);font-weight:600;font-size:.9rem;text-decoration:none;white-space:nowrap;}

  /* CATEGORY CARDS */
  .cat-card{
    border:1px solid #eee;border-radius:12px;overflow:hidden;text-align:center;
    transition:transform .15s ease, box-shadow .15s ease;height:100%;
  }
  .cat-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(0,0,0,.06);}
  .cat-thumb{
    height:110px;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#f3ede2,#e8ddc9);color:#8a6b3d;font-size:2rem;
  }
  .cat-card p{font-size:.85rem;font-weight:600;margin:.6rem 0;}

  /* SHOP CARDS */
  .shop-card{border:1px solid #eee;border-radius:12px;padding:1.1rem;height:100%;}
  .badge-source{
    font-size:.65rem;font-weight:700;padding:.3rem .6rem;border-radius:6px;letter-spacing:.3px;
  }
  --mc-ink-website{background:#eee4fb;color:#7b4fc9;}
  .badge-instagram{background:#fbe4f0;color:#c9308e;}
  .shop-logo{
    width:56px;height:56px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-weight:800;font-size:1.1rem;margin:1rem 0 .8rem;
    background:#f4f2ef;color:#333;
  }
  .shop-name{font-weight:700;font-size:1rem;margin-bottom:.2rem;}
  .rating i{color:#f5a623;font-size:.8rem;}
  .rating span{font-size:.8rem;color:#999;margin-left:.3rem;}
  .shop-desc{font-size:.83rem;color:#666;margin:.5rem 0 1rem;min-height:38px;}
  .btn-shop{width:100%;border-radius:8px;font-weight:600;font-size:.85rem;}
  .btn-shop-website{border:1px solid var(--brand-red);color:var(--brand-red);background:#fff;}
  .btn-shop-website:hover{background:var(--brand-red);color:#fff;}
  .btn-shop-instagram{border:1px solid #c9308e;color:#c9308e;background:#fff;}
  .btn-shop-instagram:hover{background:#c9308e;color:#fff;}
  .scroll-arrow{
    width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #ddd;
    display:flex;align-items:center;justify-content:center;color:#333;
  }

  /* COMMUNITY TABS */
  .tab-pill{border-radius:8px;font-weight:600;font-size:.9rem;border:1px solid transparent;color:#555;background:#f4f2ef;}
  .tab-pill.active{background:var(--brand-red);color:#fff;}
  .btn-post{border-radius:8px;font-weight:600;font-size:.85rem;}
  .btn-post-sell{border:1px solid var(--brand-red);color:var(--brand-red);background:#fff;}
  .btn-post-sell:hover{background:var(--brand-red);color:#fff;}
  .btn-post-want{border:1px solid #333;color:#333;background:#fff;}
  .btn-post-want:hover{background:#333;color:#fff;}

  .listing-card{border:1px solid #eee;border-radius:12px;overflow:hidden;height:100%;}
  .listing-thumb{
    height:150px;position:relative;
    background:linear-gradient(135deg,#f3ede2,#e0d3ba);
    display:flex;align-items:center;justify-content:center;color:#8a6b3d;font-size:2.2rem;
  }
  .listing-badge{
    position:absolute;top:10px;left:10px;font-size:.65rem;font-weight:700;
    padding:.3rem .6rem;border-radius:6px;letter-spacing:.3px;
  }
  .badge-forsale{background:#e1f3e6;color:#2e8b57;}
  .badge-wanted{background:#fdecd2;color:#e07a1f;}
  .badge-fortrade{background:#e6ecfb;color:#3a5fcd;}
  .listing-loc{
    position:absolute;top:10px;right:10px;font-size:.65rem;background:rgba(255,255,255,.9);
    padding:.25rem .55rem;border-radius:6px;color:#555;
  }
  .listing-body{padding:.9rem 1rem 1rem;}
  .listing-title{font-weight:700;font-size:.92rem;margin-bottom:.1rem;}
  .listing-status{font-size:.8rem;color:#777;margin-bottom:.3rem;}
  .listing-price{font-weight:700;font-size:.95rem;}
  .price-sale{color:var(--brand-dark);}
  .price-wanted{color:#e07a1f;}
  .listing-foot{
    display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#999;margin-top:.6rem;
  }
  .chat-icon{color:#2e8b57;font-size:1rem;}

  /* HOW IT WORKS */
  .step-icon{
    width:52px;height:52px;border-radius:10px;background:#fdece9;color:var(--brand-red);
    display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:.7rem;
  }
  .step-title{font-weight:700;font-size:.9rem;}
  .step-desc{font-size:.83rem;color:#777;}

  /* CTA BANNER */
  .cta-banner{
    background:var(--cream);border-radius:16px;padding:2.2rem;position:relative;overflow:hidden;
  }
  .cta-banner h4{font-weight:800;font-size:1.35rem;}
  .cta-banner p{color:#666;font-size:.92rem;}
  .cta-visual{
    height:100%;min-height:110px;border-radius:12px;
    background:linear-gradient(135deg,#e9e2d3,#d9cbaf);
    display:flex;align-items:center;justify-content:center;color:#8a6b3d;font-size:2.4rem;
  }

  /* TRUST BAR */
  .trust-item{display:flex;align-items:center;gap:.7rem;}
  .trust-item i{font-size:1.3rem;color:var(--brand-red);}
  .trust-item .t1{font-weight:700;font-size:.88rem;}
  .trust-item .t2{font-size:.78rem;color:#888;}

  footer-line{border-top:1px solid #eee;}

  /**************************** Learn ****************************************************/

  /* HERO */

   /* HERO */
  .hero{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:44px 40px 30px;
    gap:30px;
  }
  .hero h1{
    font-size:42px;margin:0 0 10px;font-weight:800;
  }
  .hero h1 .red{color:var(--mc-red);}
  .hero p{margin:2px 0;color:var(--muted);font-size:15px;}
  .hero-art{
    width:340px;height:150px;border-radius:14px;overflow:hidden;
    background:linear-gradient(120deg,#2c2c2c,#1a1a1a);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    position:relative;
  }
  .hero-art .tile-big{
    width:70px;height:100px;background:#fbeee0;border-radius:6px;
    display:flex;align-items:center;justify-content:center;
    font-size:34px;color:var(--mc-red);font-weight:900;box-shadow:0 6px 16px rgba(0,0,0,.4);
    margin-right:40px;
  }
  .hero-art .tile-row{position:absolute;right:10px;bottom:10px;display:flex;gap:4px;}
  .hero-art .tile-sm{
    width:34px;height:48px;background:#fbeee0;border-radius:4px;
    display:flex;align-items:center;justify-content:center;font-size:16px;color:#c0392b;font-weight:800;
    box-shadow:0 3px 8px rgba(0,0,0,.35);
  }



  /* LEARN OPTIONS */
  .learn-options{
    display:flex;gap:20px;padding:0 40px;margin-bottom:34px;
  }
  .option-card{
    flex:1;display:flex;align-items:center;gap:14px;
    background:#fff;border:1px solid var(--line);border-radius:10px;
    padding:16px 20px;
  }
  .option-card.selected{border:1.5px solid var(--mc-red);}
  .option-card .oicon{
    width:36px;height:36px;border-radius:8px;background:#fdeceb;color:var(--mc-red);
    display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;
  }
  .option-card strong{display:block;font-size:15px;color:var(--mc-red);}
  .option-card.selected strong{color:var(--mc-red);}
  .option-card:not(.selected) strong{color:var(--ink);}
  .option-card span{font-size:12.5px;color:var(--muted);}

  /* STYLE ICONS */
  .styles-row{
    display:grid;grid-template-columns:repeat(7,1fr);gap:14px;
    padding:0 40px;margin-bottom:40px;
  }
  .style-card{
    background:#fff;border:1px solid var(--line);border-radius:10px;
    padding:22px 10px;text-align:center;cursor:pointer;
  }
  .style-card.active{border:1.5px solid var(--mc-red);}
  .style-icon{
    width:56px;height:56px;border-radius:10px;background:#f6f4f0;margin:0 auto 12px;
    display:flex;align-items:center;justify-content:center;font-size:26px;
  }
  .style-card p{margin:0;font-size:13px;font-weight:600;color:#222;line-height:1.3;}

  /* SECTION TITLES */
  .section-pad{padding:0 40px;}
  h2.section-title{font-size:22px;font-weight:800;margin:0 0 4px;position:relative;padding-left:12px;}
  h2.section-title::before{
    content:"";position:absolute;left:0;top:2px;bottom:6px;width:4px;background:var(--mc-red);border-radius:2px;
  }

  /* TEACHER TABLE */
  .teacher-head{
    display:flex;justify-content:space-between;align-items:center;margin:20px 0 14px;
  }
  .vote-note{
    display:flex;align-items:center;gap:18px;
    border:1px solid var(--mc-red);border-radius:8px;padding:10px 18px;font-size:12.5px;color:#333;
  }
  .vote-note b{color:var(--mc-red);}
  .vote-count{text-align:right;font-size:12px;color:#666;}
  .vote-count b{display:block;font-size:20px;color:var(--mc-red);}

  table.teachers{
    width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;
    font-size:13px;
  }
  table.teachers th{
    text-align:left;background:#faf9f7;color:#555;font-weight:600;
    padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap;
  }
  table.teachers td{
    padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle;color:#222;
  }
  table.teachers tr:last-child td{border-bottom:none;}
  .tag{
    display:inline-block;padding:3px 10px;border-radius:6px;font-size:11.5px;font-weight:600;margin:2px 0;
  }
  
  .ig{color:var(--mc-red);display:flex;align-items:center;gap:6px;}
  .icon-round{
    width:22px;height:22px;border-radius:50%;background:#fdeceb;color:var(--mc-red);
    display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;
  }
  .vote-cell{display:flex;align-items:center;gap:10px;}
  .upvote-btn{
    border:1px solid var(--mc-red);color:var(--mc-red);background:#fff;border-radius:6px;
    font-size:12px;font-weight:600;padding:6px 12px;display:flex;align-items:center;gap:6px;cursor:pointer;
  }
  .downvote{color:#999;font-size:14px;cursor:pointer;}

  .view-all-teachers{
    display:flex;justify-content:center;margin:22px 0 44px;
  }
  .view-all-teachers a{
    border:1px solid var(--mc-red);color:var(--mc-red);font-weight:600;font-size:13px;
    padding:11px 26px;border-radius:8px;display:flex;align-items:center;gap:8px;
  }

  /* VIDEOS */
  .video-section-head{
    display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px;
  }
  .video-cat{font-size:15px;font-weight:700;position:relative;padding-left:12px;}
  .video-cat::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;background:var(--mc-red);border-radius:2px;}
  .view-all-link{color:var(--mc-red);font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px;}

  .video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:10px;}
  .video-card{border-radius:10px;overflow:hidden;background:#111;}
  .video-thumb{
    position:relative;height:150px;display:flex;flex-direction:column;justify-content:space-between;
    padding:14px;color:#fff;background-size:cover;background-position:center;
  }
  .video-thumb h4{margin:0;font-size:19px;font-weight:800;line-height:1.2;text-shadow:0 2px 6px rgba(0,0,0,.5);}
  .video-thumb .duration{
    align-self:flex-start;background:rgba(0,0,0,.55);padding:2px 8px;border-radius:4px;font-size:11px;
  }
  .play-btn{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    width:42px;height:42px;background:var(--mc-red);border-radius:50%;
    display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;
  }
  .video-link{
    display:block;background:#fff;padding:10px 4px 0;font-size:11.5px;color:var(--mc-red);
    word-break:break-all;
  }

  .thumb-chinese{background:linear-gradient(135deg,#3d2a1a,#6b4423);}
  .thumb-american{background:linear-gradient(135deg,#0e1b2e,#1c3350);}
  .thumb-taiwan{background:linear-gradient(135deg,#0f2b1c,#1e4a30);}
  .thumb-mary{background:linear-gradient(135deg,#c98b7a,#a85f4f);}

  /* FOOTER CTA */
  .footer-cta{
    margin-top:50px;background:#fbeee0;border-top:1px solid var(--line);
    display:flex;align-items:center;justify-content:space-between;
    padding:22px 40px;
  }
  .footer-cta .left{display:flex;align-items:center;gap:14px;}
  .footer-cta .star{
    width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #f0d9b5;
    display:flex;align-items:center;justify-content:center;color:#d9a441;font-size:16px;
  }
  .footer-cta h4{margin:0 0 2px;font-size:15px;font-weight:800;}
  .footer-cta p{margin:0;font-size:12.5px;color:var(--muted);}
  .footer-cta .btn-red{display:flex;align-items:center;gap:8px;}

  @media(max-width:1000px){
    .styles-row{grid-template-columns:repeat(4,1fr);}
    .video-grid{grid-template-columns:repeat(2,1fr);}
    .hero{flex-direction:column;}
    .hero-art{width:100%;}
  }
  @media(max-width:640px){
    header{flex-wrap:wrap;gap:10px;padding:12px 16px;}
    nav{order:3;flex-wrap:wrap;gap:14px;width:100%;}
    .hero,.learn-options,.styles-row,.section-pad{padding-left:16px;padding-right:16px;}
    .learn-options{flex-direction:column;}
    .styles-row{grid-template-columns:repeat(3,1fr);}
    .video-grid{grid-template-columns:1fr;}
    table.teachers{font-size:11.5px;}
    .footer-cta{flex-direction:column;gap:14px;text-align:center;}
  }
  
/***************************** Rules **************************************************/

 /* MATERIAL SECTION */
  .material-wrap{display:flex;gap:20px;margin-bottom:38px;align-items:stretch;}
  .material-card{
    flex:2.6;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;
  }
  table.material{width:100%;border-collapse:collapse;font-size:13px;margin-top:14px;}
  table.material th{
    text-align:left;background:#faf9f7;color:#555;font-weight:600;padding:11px 12px;border-bottom:1px solid var(--line);
  }
  table.material td{padding:11px 12px;border-bottom:1px solid var(--line);color:#222;}
  table.material td.mat-icon{display:flex;align-items:center;gap:8px;font-weight:600;}
  table.material tr:last-child td{border-bottom:none;}
  table.material th.center, table.material td.center{text-align:center;}
  .sub{font-size:11px;color:var(--muted);}

  .notes-card{
    flex:1;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;
    display:flex;flex-direction:column;
  }
  .notes-title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;margin-bottom:14px;}
  .notes-title .i{
    width:20px;height:20px;border-radius:50%;background:#eef4ff;color:#3b6fd6;
    display:flex;align-items:center;justify-content:center;font-size:11px;
  }
  .note-item{display:flex;gap:10px;margin-bottom:14px;font-size:12.5px;line-height:1.55;color:#3a3a3a;}
  .note-item .num{
    width:20px;height:20px;border-radius:50%;background:#f4f0ea;color:#555;font-size:11px;font-weight:700;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .view-notes{color:var(--mc-red);font-weight:600;font-size:12.5px;margin-top:auto;align-self:flex-start;}

  /* ANATOMY */
  .anatomy-card{
    background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:36px;
  }
  .anatomy-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr 1fr;gap:0;}
  .anatomy-col{text-align:center;padding:0 14px;border-right:1px solid var(--line);}
  .anatomy-col:last-child{border-right:none;}
  .anatomy-col h4{font-size:13px;font-weight:700;margin:0 0 16px;}
  .suit-row{display:flex;justify-content:center;gap:18px;margin-bottom:10px;}
  .suit-group{text-align:center;}
  .suit-group .label{font-size:10px;color:var(--muted);margin-bottom:6px;}
  .tile-mini-row{display:flex;gap:3px;justify-content:center;}
  .tile-mini{
    width:26px;height:36px;border-radius:3px;background:#fbfaf7;border:1px solid #ece7dd;
    display:flex;align-items:center;justify-content:center;font-size:12px;
  }
  .tile-mini.red{color:#c0392b;font-weight:700;}
  .tile-mini.green{color:#2f8e4a;font-weight:700;}
  .total-line{font-size:11px;color:var(--muted);margin-top:12px;}
  .total-line b{color:var(--ink);}
  .joker-row{display:flex;gap:6px;justify-content:center;}
  .joker-tile{
    width:38px;height:36px;border-radius:3px;border:1px solid #ece7dd;background:#fdfcf9;
    display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;text-align:center;
  }
  .joker-tile.g{color:#2f8e4a;}
  .joker-tile.r{color:#c0392b;}

  .total-tiles-bar{
    display:flex;align-items:center;gap:10px;justify-content:center;
    background:#fdf3e4;border:1px solid #f2ddb2;border-radius:8px;padding:10px 16px;
    font-size:13px;font-weight:600;color:#333;margin-bottom:36px;
  }
  .total-tiles-bar .hl{color:var(--mc-red);}

  /* RULES CARDS */
  .rules-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:14px;margin-bottom:40px;}
  .rule-card{
    background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 14px;position:relative;
  }
  .rule-card .chev-top{position:absolute;top:16px;right:14px;color:var(--mc-red);font-size:14px;}
  .rule-icon{
    width:38px;height:38px;border-radius:8px;background:#f6f4f0;margin-bottom:12px;
    display:flex;align-items:center;justify-content:center;font-size:18px;
  }
  .rule-card h4{margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.3;}
  .rule-card p{margin:0 0 14px;font-size:11.5px;color:var(--muted);line-height:1.5;min-height:44px;}
  .rule-card a{color:var(--mc-red);font-weight:600;font-size:12px;display:flex;align-items:center;gap:5px;}

  /* BODIES TABLE */
  .bodies-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;}
  .search-box{
    display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;
    padding:9px 14px;background:#fff;width:280px;
  }
  .search-box input{border:none;outline:none;font-size:12.5px;flex:1;background:transparent;}
  table.bodies{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:12.5px;margin-bottom:40px;}
  table.bodies th{text-align:left;background:#faf9f7;color:#555;font-weight:600;padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap;}
  table.bodies td{padding:11px 12px;border-bottom:1px solid var(--line);color:#222;vertical-align:middle;}
  table.bodies tr:last-child td{border-bottom:none;}
  .org-cell{display:flex;align-items:center;gap:10px;font-weight:600;}
  .org-logo{width:24px;height:24px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff;font-weight:800;}
  .role-cell{color:#555;max-width:340px;}
  .visit-btn{
    border:1px solid var(--mc-red);color:var(--mc-red);font-weight:600;font-size:11.5px;padding:6px 12px;border-radius:6px;
    display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  }

  /* BOTTOM CARDS */
  .bottom-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:20px;margin-bottom:40px;}
  .bottom-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;}
  .coming-soon-box{
    border:1px dashed var(--mc-red);background:#fdf3f2;border-radius:10px;padding:18px;display:flex;
    justify-content:space-between;align-items:center;margin-top:14px;gap:14px;
  }
  .coming-soon-box h4{margin:0 0 4px;color:var(--mc-red);font-size:14px;}
  .coming-soon-box p{margin:0;font-size:12px;color:#555;}
  .book-emoji{font-size:34px;flex-shrink:0;}
  .resource-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px;}
  .resource-item{border:1px solid var(--line);border-radius:10px;padding:14px 10px;text-align:center;}
  .resource-item .ricon{
    width:32px;height:32px;border-radius:8px;background:#f6f4f0;margin:0 auto 8px;
    display:flex;align-items:center;justify-content:center;font-size:15px;
  }
  .resource-item p{margin:0 0 8px;font-size:12px;font-weight:600;line-height:1.3;}
  .resource-item a{color:var(--mc-red);font-weight:700;font-size:11.5px;}

  @media(max-width:1100px){
    .rules-grid{grid-template-columns:repeat(3,1fr);}
    .anatomy-grid{grid-template-columns:1fr;}
    .anatomy-col{border-right:none;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px;}
    .material-wrap{flex-direction:column;}
    .bottom-grid{grid-template-columns:1fr;}
    .resource-links{grid-template-columns:repeat(2,1fr);}
  }
  @media(max-width:640px){
    header{flex-wrap:wrap;gap:10px;padding:12px 16px;}
    nav{order:3;flex-wrap:wrap;gap:12px;font-size:12.5px;width:100%;}
    .hero{flex-direction:column;padding:24px 16px;}
    .hero-art{width:100%;}
    .section-pad{padding:0 16px;}
    .rules-grid{grid-template-columns:1fr 1fr;}
    table.material{font-size:11px;}
    table.bodies{font-size:11px;}
    .search-box{width:100%;}
    .bodies-head{flex-direction:column;align-items:flex-start;gap:10px;}
  }



  /********************************* Register ****************************************************/

  /* MAIN CARD */
  .main-card{
    background:#fff;border-top:1px solid var(--line);
    padding:40px;
  }
  .card-inner{display:flex;gap:34px;max-width:1250px;margin:0 auto;}
  .form-col{flex:2.5;}
  .side-col{flex:1;max-width:320px;}

  .block-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;}
  .block-head .left{display:flex;align-items:center;gap:14px;}
  .block-icon{
    width:44px;height:44px;border-radius:50%;background:#fdeceb;color:var(--mc-red);
    display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0;
  }
  .block-head h2{font-size:20px;margin:0;font-weight:800;}
  .required-tag{color:var(--mc-red);font-size:13px;font-weight:600;}
  .checkbox-inline{display:flex;align-items:center;gap:8px;font-size:13px;color:#333;font-weight:500;}
  .checkbox-inline input{width:16px;height:16px;accent-color:var(--mc-red);}

  .row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:18px;}
  .row2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px;}
  .field label{display:block;font-size:13px;font-weight:600;color:#333;margin-bottom:7px;}
  .field label .req{color:var(--mc-red);}
  .field label .opt{color:var(--muted);font-weight:400;}
  .field input[type=text]{
    width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;
    background:var(--field-bg);font-size:13.5px;color:#333;font-family:inherit;
  }
  .phone-field{display:flex;gap:8px;}
  .phone-field select{
    border:1px solid var(--line);border-radius:8px;background:var(--field-bg);padding:0 8px;font-size:13.5px;color:#333;
  }
  .phone-field input{flex:1;}
  .date-field, .ig-field{position:relative;}
  .date-field input{padding-right:34px;}
  .date-field .cal-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:14px;}
  .ig-connect{
    display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;
    padding:10px 13px;background:var(--field-bg);font-size:13.5px;color:#333;font-weight:500;cursor:pointer;
  }
  .ig-connect .ig-icon{
    width:22px;height:22px;border-radius:6px;background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7);
    display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;
  }

  .divider{border:none;border-top:1px solid var(--line);margin:30px 0;}

  /* PREFERRED MODE */
  .mode-grid2{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;}
  .mode-tile{
    display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;
    padding:12px 14px;font-size:13px;font-weight:600;color:#333;background:#fff;
  }
  .mode-tile .mi{
    width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;
  }
  .mode-tile.phone .mi{background:#e8f7ee;color:var(--green);}
  .mode-tile.email .mi{background:#eaf1fd;color:#2e6bd6;}
  .mode-tile.address .mi{background:#fdeceb;color:var(--mc-red);}
  .mode-tile.ig .mi{background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7);color:#fff;}

  .note-box{
    display:flex;align-items:flex-start;gap:14px;background:#fdf3e4;border:1px solid #f2ddb2;border-radius:10px;
    padding:16px 20px;font-size:13px;color:#4a4a4a;margin-bottom:30px;
  }
  .note-box .bulb{
    width:30px;height:30px;border-radius:50%;background:#fff;color:#d9a441;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:14px;
  }
  .note-box b{color:#222;}

  /* PASSWORD / ID ROW */
  .pw-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:20px;margin-bottom:26px;}
  .pw-field{position:relative;}
  .pw-field input{width:100%;padding:11px 40px 11px 13px;border:1px solid var(--line);border-radius:8px;background:var(--field-bg);font-size:13.5px;}
  .pw-field .eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--muted);cursor:pointer;}
  .pw-checks{margin-top:10px;display:flex;flex-direction:column;gap:5px;}
  .pw-checks span{font-size:11.5px;color:var(--green);display:flex;align-items:center;gap:6px;}

  .cid-row{display:flex;gap:10px;}
  .cid-row input{flex:1;padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:var(--field-bg);font-size:13.5px;}
  .check-btn{
    border:1px solid var(--mc-red);color:var(--mc-red);background:#fff;border-radius:8px;padding:0 18px;font-weight:600;font-size:13px;cursor:pointer;
  }
  .try-these{margin-top:10px;font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
  .id-chip{background:var(--field-bg);border:1px solid var(--line);border-radius:6px;padding:5px 10px;font-size:12px;color:#333;font-weight:600;}
  .refresh-ic{margin-left:auto;color:var(--muted);cursor:pointer;}

  .submit-btn{
    width:100%;background:var(--mc-red);color:#fff;border:none;border-radius:10px;
    padding:16px;font-size:16px;font-weight:700;cursor:pointer;
  }
  .terms-note{text-align:center;font-size:12.5px;color:var(--muted);margin-top:14px;}
  .terms-note a{color:var(--mc-red);font-weight:600;}

  /* SIDEBAR */
  .why-card h3{font-size:20px;font-weight:800;margin:0 0 20px;line-height:1.3;}
  .why-item{display:flex;gap:14px;margin-bottom:20px;}
  .why-item .wicon{
    width:38px;height:38px;border-radius:50%;background:#fdeceb;color:var(--mc-red);
    display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;
  }
  .why-item p{margin:0;font-size:13.5px;font-weight:600;line-height:1.4;color:#222;}
  .side-art{
    margin-top:20px;border-radius:14px;overflow:hidden;height:220px;
    background:linear-gradient(160deg,#f4ede1,#e9ddc8);
    display:flex;align-items:flex-end;justify-content:center;padding-bottom:20px;position:relative;
  }
  .side-art .tiles{display:flex;gap:6px;}
  .side-art .tile-med{
    width:44px;height:62px;background:#fbeee0;border-radius:5px;
    display:flex;align-items:center;justify-content:center;font-size:20px;color:#c0392b;font-weight:800;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
  }
  .side-art .tile-med.green{color:#2f8e4a;}

  @media(max-width:1050px){
    .card-inner{flex-direction:column;}
    .side-col{max-width:100%;}
  }
  @media(max-width:700px){
    header{flex-wrap:wrap;gap:10px;padding:12px 16px;}
    nav{order:3;flex-wrap:wrap;gap:12px;width:100%;font-size:13px;}
    .hero{flex-direction:column;padding:24px 16px;}
    .hero-art{width:100%;}
    .main-card{padding:20px 16px;}
    .row3,.row2,.mode-grid2,.pw-grid{grid-template-columns:1fr;}
    .block-head{flex-direction:column;align-items:flex-start;gap:10px;}
  }

  /*************************************** Member Dashboard **************************************************/

  /* ACTION GRID + QR */
  .action-wrap{display:flex;gap:24px;padding:0 40px;margin-bottom:34px;align-items:stretch;}
  .action-grid{flex:2.3;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:start;}
  .action-card{
    display:flex;align-items:center;justify-content:space-between;
    background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 18px;cursor:pointer;
  }
  .action-card .left{display:flex;align-items:center;gap:12px;font-weight:600;font-size:14.5px;}
  .action-card .aicon{
    width:34px;height:34px;border-radius:8px;background:#fdeceb;color:var(--mc-red);
    display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;
  }
  .action-card .chev{color:var(--mc-red);font-size:15px;}
  .action-card.full{grid-column:1 / -1;justify-content:center;gap:10px;color:var(--mc-red);font-weight:600;}
  .action-card.full .left{color:var(--mc-red);}

  .qr-card{
    flex:1;background:#fff;border:1px solid var(--line);border-radius:14px;
    padding:20px;text-align:center;display:flex;flex-direction:column;align-items:center;
    position:relative;overflow:hidden;
  }
  .qr-card h3{color:var(--mc-red);margin:4px 0 2px;font-size:16px;}
  .qr-card .arrows{color:var(--mc-red);font-size:12px;margin-bottom:14px;letter-spacing:3px;}
  .qr-box{
    width:190px;height:190px;background:#fff;border:1px solid var(--line);border-radius:8px;
    display:flex;align-items:center;justify-content:center;margin-bottom:16px;
  }
  .qr-name{font-weight:800;font-size:16px;margin-bottom:2px;}
  .qr-id{color:var(--mc-red);font-weight:700;font-size:13.5px;}

  /* FORM SECTION */
  .forms-grid{display:grid;grid-template-columns:1fr 1fr 1.05fr;gap:20px;padding:0 40px 30px;align-items:start;}
  .form-card{
    background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;
  }
  .form-card h2{
    font-size:18px;margin:0 0 4px;font-weight:800;display:flex;align-items:center;gap:10px;
  }
  .form-card h2 .ficon{
    width:32px;height:32px;border-radius:8px;background:#fdeceb;color:var(--mc-red);
    display:flex;align-items:center;justify-content:center;font-size:14px;
  }
  .form-card .underline{width:26px;height:3px;background:var(--mc-red);border-radius:2px;margin:0 0 18px 42px;}

  .field{margin-bottom:16px;}
  .field label{display:block;font-size:12.5px;font-weight:600;color:#333;margin-bottom:6px;}
  .field label .req{color:var(--mc-red);}
  .field label .opt{color:var(--muted);font-weight:400;}
  .field input[type=text],
  .field input[type=number],
  .field input[type=date],
  .field input[type=time],
  .field textarea,
  .field select{
    width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;
    background:var(--field-bg);font-size:13px;color:#333;font-family:inherit;
  }
  .field textarea{resize:vertical;min-height:64px;}
  .field .hint{font-size:11px;color:var(--muted);text-align:right;margin-top:4px;}
  .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
  .row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;}

  .mode-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:8px;margin-bottom:10px;}
  .mode-card{
    border:1px solid var(--line);border-radius:8px;padding:10px 4px;text-align:center;font-size:10.5px;
    display:flex;flex-direction:column;align-items:center;gap:6px;color:#444;background:var(--field-bg);
  }
  .mode-card.green{border-color:#bfe6cd;color:#1e7e41;background:#f2fbf5;}
  .mode-card .micon{font-size:14px;}
  .manual-row{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:6px;margin-bottom:16px;}
  .subhead{font-size:12px;font-weight:600;color:#333;margin:2px 0 8px;}

  .checkbox-list{display:flex;flex-direction:column;gap:10px;margin-bottom:16px;}
  .checkbox-list label{
    display:flex;align-items:center;gap:10px;font-size:13px;color:#333;font-weight:500;cursor:pointer;
  }
  .checkbox-list input{width:15px;height:15px;accent-color:var(--mc-red);}

  .radio-row{display:flex;gap:26px;margin-bottom:16px;}
  .radio-row label{display:flex;align-items:center;gap:8px;font-size:13px;color:#333;}
  .radio-row input{accent-color:var(--mc-red);width:15px;height:15px;}

  .submit-btn{
    width:100%;background:var(--mc-red);color:#fff;border:none;border-radius:8px;
    padding:13px;font-size:14px;font-weight:700;cursor:pointer;margin-top:6px;
  }

  
  @media(max-width:1100px){
    .forms-grid{grid-template-columns:1fr;}
    .action-wrap{flex-direction:column;}
  }
  @media(max-width:700px){
    .action-wrap,.forms-grid,.footer-note{padding-left:18px;padding-right:18px;margin-left:0;margin-right:0;}
    .action-grid{grid-template-columns:1fr;}
    .row2,.row3,.mode-grid{grid-template-columns:1fr 1fr;}
  }




  .eventSwiper{
    padding-bottom:40px;
}

.swiper-slide{
    height:auto;
}

.swiper-button-disabled{
    opacity:.4;
}

.swiper-prev,
.swiper-next{

    width:45px;
    height:45px;
    border-radius:50%;
}

.platformSwiper {
    padding: 10px 5px 50px;
}

.platformSwiper .swiper-slide {
    height: auto;
}

.platform-card {
    height: 100%;
}

.platform-prev,
.platform-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.platform-prev:hover,
.platform-next:hover {
    background: #dc3545;
    color: #fff;
}

.platformSwiper .swiper-pagination-bullet-active {
    background: #dc3545;
}

/******************************* Swiper ************************************/

/* Swiper nav buttons styled like the round arrows in the mock */
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #333;
    top: 45%;
  }
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 14px;
    font-weight: 700;
  }
  .swiper-button-prev { left: -18px; }
  .swiper-button-next { right: -18px; }

  .swiper-pagination-bullet-active {
    background: #b91c1c;
  }

  .swiper {
    padding: 8px 4px 40px 4px;
  }