:root{font-family:Inter,ui-sans-serif,system-ui,Arial,sans-serif;color:#f5f5f7;background:#090a0e;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5}button,input,textarea{outline-color:#f0243c}h1,h2,h3,p{margin-top:0}.red{color:#f02b42}.muted{color:#8f94a2}.tiny{font-size:12px}.error{color:#ff687a;font-size:13px}.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 80% 10%,#48121d 0,transparent 38%),#090a0e}.auth-card{width:min(100%,450px);padding:38px;background:#13151c;border:1px solid #292b36;border-radius:18px;box-shadow:0 20px 80px #0009}.auth h1{font-size:42px;letter-spacing:-2px;line-height:1.12;margin:40px 0 12px}.auth p{color:#9699a5}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:1px;font-size:22px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#7d8390;margin-top:2px}.logo{width:39px;height:39px;background:#df2036;color:white;border-radius:9px;display:grid;place-items:center;font-weight:1000;font-size:25px;box-shadow:0 0 25px #df203633}.tabs{display:flex;background:#0b0d12;padding:5px;border-radius:9px;margin:25px 0 16px}.tabs button{flex:1;border:0;background:none;color:#8f94a2;padding:10px}.tabs .selected{background:#272b35;color:#fff;border-radius:7px}.auth form{display:grid;gap:12px}input,textarea{width:100%;background:#0d0f15;color:#fff;border:1px solid #30333e;border-radius:9px;padding:13px}textarea{min-height:110px;resize:vertical}.primary{background:#e32138;border:1px solid #e32138;color:white;border-radius:9px;padding:13px 17px;font-weight:800}.primary:hover{background:#f02b42}.layout{display:flex;min-height:100vh}.sidebar{width:250px;background:#101116;border-right:1px solid #252730;display:flex;flex-direction:column;padding:27px 16px;position:sticky;top:0;height:100vh;flex-shrink:0}.sidebar .brand{padding:0 10px;margin-bottom:50px}.side-label{font-size:10px;letter-spacing:2px;color:#696e7b;padding:0 14px;margin-bottom:15px}nav{display:grid;gap:5px}nav button{border:0;background:none;color:#969aa7;text-align:left;border-radius:8px;padding:13px 14px;display:flex;gap:12px;align-items:center;font-size:13px;font-weight:600}nav button span{font-size:18px;width:22px;text-align:center}nav button:hover{background:#1d2029;color:white}nav button.active{background:#381922;color:#ff5166;border-left:3px solid #e32138}.side-bottom{margin-top:auto;font-size:9px;letter-spacing:1px;color:#717786;padding:12px 8px;border-top:1px solid #292b33}.online-dot{display:inline-block;width:7px;height:7px;background:#22c55e;border-radius:50%;margin-right:5px}.version{float:right}.main{min-width:0;flex:1}.topbar{height:75px;border-bottom:1px solid #252730;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:11px;letter-spacing:1px;color:#777c89}.breadcrumb span{padding:0 10px;color:#444854}.breadcrumb b{color:#e7e8ec}.top-right{display:flex;gap:20px;align-items:center}.live{color:#42bd83;font-size:10px;letter-spacing:1px}.avatar{width:34px;height:34px;border:1px solid #e32138;border-radius:50%;display:grid;place-items:center;background:#391721;color:#ff6978;font-weight:800}.top-right button,#menu{background:none;color:#a7aab4;border:0;font-size:22px}#menu{display:none}.content{padding:36px 38px;max-width:1500px;margin:auto}.eyebrow{font-size:11px;letter-spacing:2px;color:#f02b42;font-weight:800}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.heading h1{font-size:31px;letter-spacing:-1px;margin:7px 0}.heading p{font-size:13px;color:#8e93a1;margin:0}.date-chip{padding:12px 15px;border:1px solid #30323c;background:#15171f;border-radius:8px;color:#bfc1c8;font-size:12px}.hero{background:linear-gradient(105deg,#25141b 0%,#15151c 68%,#101116);border:1px solid #4b2530;border-radius:14px;padding:30px;margin-bottom:24px;position:relative;overflow:hidden}.hero:after{content:'M';font-size:190px;font-weight:1000;position:absolute;right:5%;top:-50px;color:#ff26400b;transform:skew(-15deg)}.hero h2{font-size:30px;margin:12px 0}.hero p{color:#a7a6af;font-size:13px;max-width:450px}.hero .primary{margin-top:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat,.panel{background:#14161d;border:1px solid #292b35;border-radius:12px;padding:22px}.stat .icon{color:#f02b42;font-size:24px}.stat .label{font-size:11px;color:#9296a3;margin:13px 0 8px}.stat strong{font-size:27px}.stat small{color:#666c79;margin-left:6px}.section-title{font-size:16px;margin:0 0 18px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{border:1px solid #2a2c36;background:#14161d;color:white;text-align:left;padding:23px;border-radius:12px;min-height:160px;transition:.2s}.module-card:hover{border-color:#b8283d;transform:translateY(-2px)}.module-card .symbol{color:#f02b42;font-size:26px}.module-card h3{margin:18px 0 7px;font-size:16px}.module-card p{font-size:12px;color:#8c919e;line-height:1.5}.module-card .arrow{float:right;color:#f02b42}.entry-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:25px}.entry-form textarea{grid-column:1/-1}.entry-form button{justify-self:start}.entries{display:grid;gap:10px}.entry{display:flex;align-items:center;gap:14px;background:#191b23;border:1px solid #2d3039;padding:16px;border-radius:9px}.entry .body{flex:1;min-width:0}.entry strong{display:block;overflow-wrap:anywhere}.entry p{margin:6px 0 0;font-size:12px;color:#9296a3;white-space:pre-wrap;overflow-wrap:anywhere}.entry small{color:#e04a5c}.entry.done strong{text-decoration:line-through;color:#848895}.ghost{background:#262934;border:1px solid #343844;color:#f0f0f2;border-radius:8px;padding:9px 12px}.danger{color:#ff697a}.notice{padding:14px;background:#42212a;border:1px solid #b52b42;border-radius:8px;margin-bottom:20px}.empty{color:#8f94a2;padding:20px 0;font-size:13px}.admin-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid #2a2d36}.admin-row small{display:block;color:#8f94a2;margin-top:5px}.admin-row select{background:#22252e;color:#fff;border:1px solid #404450;border-radius:8px;padding:9px}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.module-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{position:fixed;z-index:5;left:-260px;transition:left .2s;box-shadow:10px 0 40px #0009}.sidebar.open{left:0}#menu{display:block}.topbar{padding:0 18px;height:65px}.content{padding:24px 16px}.live{display:none}.heading{align-items:start;flex-direction:column}.heading h1{font-size:26px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:23px}.module-grid{grid-template-columns:1fr}.entry-form{grid-template-columns:1fr}.hero{padding:23px}.hero h2{font-size:25px}.breadcrumb{font-size:10px}.admin-row{align-items:start;flex-direction:column}}[hidden]{display:none!important}

/* MMAHUB V1.1 - Language Switch */
.language-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 20px;
}

.language-switch button {
  background: #1b1d26;
  color: #9da1af;
  border: 1px solid #343743;
  border-radius: 8px;
  padding: 9px 15px;
  font-weight: 800;
}

.language-switch button.active {
  background: #e32138;
  border-color: #e32138;
  color: white;
}

.language-switch button:hover {
  border-color: #f02b42;
}

/* MMAHUB V1.1 - FUTURE INTERFACE */
:root {
  --mma-bg: #08090e;
  --mma-surface: #12141c;
  --mma-surface-hover: #1b1e28;
  --mma-border: #2a2d39;
  --mma-red: #ed243d;
  --mma-red-light: #ff536a;
  --mma-muted: #9ca2b2;
}

body {
  background: var(--mma-bg);
  color: #f7f7fa;
}

.sidebar {
  background: linear-gradient(180deg,#13151d,#090a10);
  border-right: 1px solid #30303c;
}

.sidebar .brand {
  margin-bottom: 42px;
}

.logo {
  background: linear-gradient(135deg,#ff344c,#a50d26);
  box-shadow: 0 0 30px #ed243d40;
}

nav button {
  transition: background .2s,color .2s,transform .2s;
}

nav button:hover {
  background: #26202b;
  transform: translateX(3px);
}

nav button.active {
  background: linear-gradient(90deg,#4b1726,#241720);
  border-left: 3px solid var(--mma-red);
  box-shadow: inset 0 0 20px #ed243d0b;
}

.main {
  background:
    radial-gradient(ellipse at 85% 0%,#36121c25,transparent 38%),
    #090a0f;
}

.topbar {
  background: #101118ed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #292b37;
}

.content {
  max-width: 1600px;
}

.heading h1 {
  font-weight: 900;
  letter-spacing: -1.4px;
}

.eyebrow {
  color: var(--mma-red-light);
  font-weight: 900;
}

.hero {
  background:
    radial-gradient(circle at 85% 45%,#a3163040,transparent 36%),
    linear-gradient(115deg,#31121e,#16161e 65%,#0e1017);
  border: 1px solid #662235;
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 20px 55px #0005;
}

.hero:after {
  color: #ff304010;
  font-size: 230px;
}

.hero h2 {
  font-size: clamp(29px,4vw,48px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  font-weight: 950;
}

.primary {
  background: linear-gradient(135deg,#f02a43,#ba102a);
  border-color: #ed243d;
  box-shadow: 0 5px 20px #ed243d20;
  transition: transform .2s,box-shadow .2s;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 25px #ed243d50;
}

.stat,.panel,.module-card {
  background: linear-gradient(145deg,#1b1d27,#11131a);
  border: 1px solid var(--mma-border);
  border-radius: 15px;
}

.stat {
  position: relative;
  overflow: hidden;
}

.stat:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 2px;
  background: var(--mma-red);
  box-shadow: 0 0 14px var(--mma-red);
}

.stat strong {
  font-size: 32px;
  font-weight: 900;
}

.stat .icon {
  color: var(--mma-red-light);
}

.module-card {
  position: relative;
  overflow: hidden;
  transition: transform .2s,border-color .2s,box-shadow .2s;
}

.module-card:hover {
  border-color: #e12b44;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #0008,0 0 18px #ed243d15;
}

.module-card .symbol {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 11px;
  background: #411a28;
  color: #ff536a;
}

.module-card h3 {
  font-weight: 800;
}

.module-card p {
  color: var(--mma-muted);
}

.entry {
  background: #191b24;
  border-color: #30323e;
  transition: border-color .2s;
}

.entry:hover {
  border-color: #7e2b40;
}

input,textarea,select {
  background: #0d1018;
  color: #fff;
  border-color: #383b49;
}

input:focus,textarea:focus,select:focus {
  border-color: var(--mma-red);
  outline: 2px solid #ed243d25;
}

.language-switch {
  display: flex;
  gap: 5px;
}

.language-switch button {
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
}

.language-switch button.active {
  background: #ed243d;
  border-color: #ed243d;
  box-shadow: 0 0 15px #ed243d35;
}

.top-language {
  margin: 0;
}

.top-right {
  gap: 13px;
}

.auth-card {
  border-color: #4a2935;
  box-shadow: 0 25px 90px #000b,0 0 50px #ed243d0b;
}

.auth h1 {
  font-weight: 950;
}

button:focus-visible,a:focus-visible {
  outline: 2px solid #ff536a;
  outline-offset: 3px;
}

@media(max-width:1050px) {
  .hero {
    padding: 28px;
  }
}

@media(max-width:720px) {
  .topbar {
    padding: 0 12px;
  }

  .top-right {
    gap: 8px;
  }

  .top-language button {
    padding: 8px;
  }

  .breadcrumb {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .content {
    padding: 22px 14px;
  }

  .hero {
    padding: 24px 20px;
  }

  .hero:after {
    font-size: 150px;
    right: -15px;
    top: 0;
  }

  .stat {
    padding: 16px 13px;
  }

  .stat strong {
    font-size: 26px;
  }

  .stat small {
    display: block;
    margin: 5px 0 0;
  }

  .module-card {
    min-height: 140px;
  }

  .entry {
    align-items: flex-start;
  }

  .auth-card {
    padding: 25px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
  }
}

.menu-overlay {
  display: none;
}

@media(max-width:720px) {
  .menu-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 4;
    background: #000b;
    backdrop-filter: blur(3px);
  }

  .sidebar.open {
    z-index: 5;
  }
}
