/*
Theme Name: Master Cric
Theme URI: https://example.com/mastercric
Author: Master Cric
Description: One-page theme for the Master Cric live cricket & online games platform. Content and images are editable in Appearance → Customize → Master Cric.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mastercric
*/

:root{
  --mc-ink:#1a1a1a;
  --mc-dark:#111111;
  --mc-gold:#f5c518;
  --mc-blue:#0b6bdc;
  --mc-teal:#2bb5d3;
  --mc-mist:#f1fcfd;
  --mc-muted:#8a8f98;
  --mc-foot:#222222;
  --mc-font:'Nunito',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--mc-font);color:var(--mc-ink);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{margin:0;line-height:1.2;font-weight:800}
ul{margin:0;padding:0}
:focus-visible{outline:3px solid var(--mc-gold);outline-offset:3px}
.mc-wrap{width:min(1140px,100% - 48px);margin-inline:auto}
.screen-reader-text{position:absolute;left:-9999px}

/* Header / logo */
.mc-header{position:absolute;top:0;left:0;z-index:20;padding:8px 12px}
.mc-logo{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--mc-gold);font-weight:900;letter-spacing:.04em;font-size:15px;text-shadow:0 1px 0 #7a4d00}
.mc-logo img{max-height:36px;width:auto}
.mc-logo svg{width:22px;height:22px}

/* Hero */
.mc-hero{position:relative;min-height:min(780px,92vh);display:grid;place-items:center;text-align:center;color:#fff;background:#0b1a33 center/cover no-repeat;clip-path:polygon(0 0,100% 0,100% 88%,0 100%);padding:140px 24px 190px}
.mc-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,10,25,.25),rgba(5,10,25,.55))}
.mc-hero__inner{position:relative;max-width:820px}
.mc-hero__dash{display:block;width:28px;height:2px;background:#fff;margin:0 auto 22px}
.mc-hero h1{font-size:clamp(2rem,5vw,3.4rem);text-shadow:0 2px 14px rgba(0,0,0,.5)}
.mc-hero p{max-width:640px;margin:34px auto 0;font-size:.95rem;opacity:.95}
.mc-hero__cta{margin-top:30px}

/* Buttons */
.mc-btn{display:inline-block;padding:12px 34px;border:1px solid var(--mc-ink);background:transparent;color:var(--mc-ink);text-decoration:none;font-weight:700;font-size:.9rem;transition:background .2s,color .2s}
.mc-btn:hover{background:var(--mc-ink);color:#fff}
.mc-btn--gold{background:var(--mc-gold);border-color:var(--mc-gold);color:#111}
.mc-btn--gold:hover{background:#fff;border-color:#fff;color:#111}

/* Generic sections */
.mc-section{padding:90px 0}
.mc-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.mc-media{background:linear-gradient(135deg,#17315e,#0b6bdc);overflow:hidden;aspect-ratio:4/3;display:grid;place-items:center;color:#fff;font-weight:700}
.mc-media img{width:100%;height:100%;object-fit:cover}
.mc-eyebrow{color:var(--mc-muted);font-weight:700;font-size:.85rem;margin-bottom:14px}
.mc-list{list-style:none}
.mc-list li{position:relative;padding-left:18px;font-size:.85rem;margin:3px 0}
.mc-list li::before{content:"";position:absolute;left:2px;top:.65em;width:5px;height:5px;border-radius:50%;background:#aab}
.mc-strong{font-weight:800;font-size:.85rem;margin:14px 0 8px}

/* Live streaming */
.mc-live{background:var(--mc-mist);clip-path:polygon(0 0,100% 0,100% 100%,0 92%);margin-top:-90px;padding:150px 0 170px}
.mc-live .mc-split{grid-template-columns:1.1fr 1fr}
.mc-live h2{font-size:clamp(1.6rem,3vw,2.1rem);margin-bottom:10px}
.mc-live .mc-media{aspect-ratio:16/10}

/* Games */
.mc-games .mc-split{grid-template-columns:1fr 1.05fr;align-items:center}
.mc-games h2{font-size:clamp(1.7rem,3vw,2.2rem);margin-bottom:34px}
.mc-games ol{list-style:none;counter-reset:g}
.mc-games li{counter-increment:g;margin-bottom:22px}
.mc-games li strong{font-size:1.05rem}
.mc-games li strong::before{content:counter(g,decimal-leading-zero) ". ";color:var(--mc-blue);font-weight:800}
.mc-games li span{display:block;color:var(--mc-muted);font-size:.78rem;margin:4px 0 0 30px}
.mc-games .mc-media{aspect-ratio:3/4;max-height:640px;margin-left:auto;width:100%;max-width:480px;background:linear-gradient(180deg,#0a2a66,#f08a24)}

/* Real-time */
.mc-rt{background:var(--mc-mist);clip-path:polygon(0 8%,100% 0,100% 92%,0 100%);padding:150px 0}
.mc-rt .mc-split{grid-template-columns:.9fr 1.1fr;gap:80px}
.mc-rt .mc-media{aspect-ratio:1/1;max-width:340px}
.mc-rt h2{font-size:clamp(1.6rem,3vw,2.1rem);margin-bottom:14px}

/* Why */
.mc-why{padding:50px 0 80px;text-align:center}
.mc-why h2{font-size:clamp(1.6rem,3vw,2rem);margin-bottom:46px}
.mc-why__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.mc-why__item svg{width:64px;height:64px;stroke:var(--mc-teal);fill:none;stroke-width:1.2;margin:0 auto 16px}
.mc-why__item h3{font-size:.95rem}
.mc-why__item p{color:var(--mc-muted);font-size:.75rem;margin:8px auto 0;max-width:180px}

/* Audience */
.mc-for{background:var(--mc-dark);color:#fff;clip-path:polygon(0 3%,46% 5%,46% 0,87% 0,87% 5%,100% 6%,100% 100%,0 100%);padding:150px 0 110px}
.mc-for .mc-split{grid-template-columns:1fr 1fr}
.mc-for h2{color:var(--mc-gold);font-size:clamp(1.7rem,3vw,2.2rem);margin-bottom:14px}
.mc-for .mc-list li::before{background:#888}
.mc-for .mc-media{background:none;aspect-ratio:1/1;max-width:520px;margin-left:auto}
.mc-for .mc-media img{object-fit:contain}

/* CTA + footer */
.mc-cta{padding:70px 0}
.mc-cta .mc-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.mc-cta h2{font-size:clamp(1.3rem,2.6vw,1.8rem)}
.mc-footer{background:var(--mc-foot);color:#9a9a9a;font-size:.72rem;padding:46px 0 40px}

@media(max-width:860px){
  .mc-split,.mc-live .mc-split,.mc-games .mc-split,.mc-rt .mc-split,.mc-for .mc-split{grid-template-columns:1fr;gap:32px}
  .mc-why__grid{grid-template-columns:repeat(2,1fr)}
  .mc-games .mc-media,.mc-for .mc-media{margin-inline:auto}
  .mc-for{clip-path:polygon(0 2%,100% 0,100% 100%,0 100%)}
  .mc-hero{padding-bottom:150px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
