/* ================================
   Red Suit Studios — Shared Styles
   ================================ */

:root{
      --bg:#0b0c10;
      --panel:#10121a;
      --panel2:#0f1118;
      --text:#e8e8ef;
      --muted:#b7b9c7;
      --faint:#8a8da0;
      --line:rgba(255,255,255,.10);
      --accent:#e11d48; /* red */
      --accent2:#22c55e; /* optional */
      --shadow: 0 20px 60px rgba(0,0,0,.55);
      --radius: 20px;
      --max: 1120px;
    }

    *{ box-sizing:border-box; }
    html,body{ height:100%; }
    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color:var(--text);
      background-image: url("../img/background.png");
      line-height:1.55;
    }

    a{ color:inherit; text-decoration:none; }
    a:hover{ opacity:.92; }
    .wrap{ max-width:var(--max); margin:0 auto; padding:0 20px; }

    /* Subtle film grain */
    .grain::before{
      content:"";
      position:fixed; inset:0;
      pointer-events:none;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
      mix-blend-mode:overlay;
      opacity:.22;
    }

    /* Top nav */
    header{
      position:sticky; top:0; z-index:50;
      backdrop-filter: blur(12px);
      background: rgba(11,12,16,.55);
      border-bottom:1px solid var(--line);
    }
    .nav{
      display:flex; align-items:center; justify-content:space-between;
      padding:14px 0;
      gap:14px;
    }
    .brand{
      display:flex; align-items:center; gap:10px;
      font-weight:700; letter-spacing:.3px;
    }
    .mark {
      width: 34px;
      height: 34px;
      border-radius: 10px;

      background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.15), transparent 50%),
        url("../img/blood-logo.png") center / contain no-repeat;

      box-shadow: 0 12px 35px rgba(225,29,72,.18);
      border: 1px solid rgba(255,255,255,.12);
    }
    nav ul{
      display:flex; gap:18px; list-style:none; padding:0; margin:0;
      color:var(--muted);
      font-weight:600;
      font-size:14px;
    }
    nav a{ padding:10px 10px; border-radius:12px; }
    nav a:hover{ background: rgba(255,255,255,.06); }

    .nav-actions{ display:flex; gap:10px; align-items:center; }

    .btn{
      display:inline-flex; align-items:center; justify-content:center;
      padding:12px 16px; border-radius:14px;
      font-weight:700; font-size:14px;
      border:1px solid transparent;
      transition: transform .08s ease, background .18s ease, border-color .18s ease;
      user-select:none;
      white-space:nowrap;
    }
    .btn:active{ transform: translateY(1px); }
    .btn-primary{
      background: linear-gradient(135deg, rgba(225,29,72,.95), rgba(225,29,72,.55));
      border-color: rgba(255,255,255,.12);
      box-shadow: 0 18px 40px rgba(225,29,72,.18);
    }
    .btn-ghost{
      background: rgba(255,255,255,.06);
      border-color: rgba(255,255,255,.10);
      color: var(--text);
    }

    /* Hero */
    .hero{
      padding: 64px 0 42px;
    }
    .hero-grid{
      display:grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 28px;
      align-items:stretch;
    }
    .hero h1{
      margin:0 0 14px;
      font-size: clamp(34px, 4.1vw, 56px);
      line-height:1.04;
      letter-spacing:-.6px;
    }
    .hero p{
      margin:0 0 18px;
      color:var(--muted);
      font-size: clamp(15px, 1.6vw, 18px);
      max-width: 60ch;
    }
    .tagline{
      display:inline-flex;
      align-items:center; gap:10px;
      color: rgba(232,232,239,.92);
      font-weight:800;
      letter-spacing:.25px;
      margin: 8px 0 18px;
    }
    .tagline .dot{
      width:9px; height:9px; border-radius:99px;
      background: var(--accent);
      box-shadow: 0 0 0 6px rgba(225,29,72,.14);
    }
    .hero-ctas{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }

    .hero-card{
      border:1px solid var(--line);
      border-radius: var(--radius);
      background:
        radial-gradient(700px 380px at 10% 20%, rgba(225,29,72,.20), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
      box-shadow: var(--shadow);
      overflow:hidden;
      min-height: 320px;
      position:relative;
    }
    
    .hero-image {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      800px 500px at 30% 20%,
      rgba(0,0,0,0),
      rgba(0,0,0,.38)
    );

  background-size: cover;
  background-position: center;
  filter: saturate(.85) contrast(1.02) brightness(.8);
  transform: scale(1.02);
}

    .hero-image--home {
      background-image: url("../img/blood-logo.png");
    }

    .hero-image--worlds {
      background-image: url("../img/worlds.png");
    }

    .hero-image--formats {
      background-image: url("../img/formats.png");
    }

    .hero-image--news {
      background-image: url("../img/news.png");
    }

    .hero-image--press {
      background-image: url("../img/press.png");
    }

     .hero-image--contact {
      background-image: url("../img/contact.png");
    }

     .hero-image--privacy {
      background-image: url("../img/privacy.png");
    }

    .hero-image--audio {
      background-image: url("../img/podcast.png");
    }

    .hero-image--books {
      background-image: url("../img/books.png");
    }

    .hero-image--games {
      background-image: url("../img/games.png");
    }

    .hero-image--music {
      background-image: url("../img/music.png");
    }

    .hero-image--video {
      background-image: url("../img/videos.png");
    }

    .hero-image--jury {
      background-image: url("../img/the-jury.png");
    }

    .hero-image--ten-hearts {
      background-image: url("../img/ten-hearts.png");
    }

    .hero-image--fear-compound {
      background-image: url("../img/fear-compound.png");
    }

    .hero-image--letters {
      background-image: url("../img/letters.png");
    }

    .hero-image--fear {
      background-image: url("../img/fear.png");
    }

    .hero-card::after{
      content:"";
      position:absolute; inset:0;
      background: linear-gradient(180deg, rgba(11,12,16,.15), rgba(11,12,16,.75));
    }
    .hero-card-content{
      position:relative; z-index:2;
      padding: 18px 18px 18px;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      height:100%;
    }
    .hero-card-kicker{
      color: rgba(255,255,255,.90);
      font-weight:800;
      letter-spacing:.25px;
      margin-bottom: 8px;
    }
    .hero-card-text{
      color: rgba(255,255,255,.78);
      font-size: 14px;
      max-width: 46ch;
    }

    /* Sections */
    section{ padding: 44px 0; }
    .section-title{
      display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
      margin-bottom: 18px;
    }
    h2{
      margin:0;
      font-size: 22px;
      letter-spacing:-.2px;
    }
    .lead{
      margin:6px 0 0;
      color: var(--muted);
      max-width: 75ch;
      font-size: 15px;
    }

    /* Cards grid */
    .grid{
      display:grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 14px;
    }
    .card{
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255,255,255,.04);
      box-shadow: 0 16px 40px rgba(0,0,0,.35);
      padding: 16px;
    }
    .card:hover{ border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
    
    .icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;

    display: grid;
    place-items: center;

    background-color: rgb(0, 0, 0);
    border: 1px solid rgba(225,29,72,.22);

    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }


    .icon-games {
    background:
        url("../img/games.png") center / 100% no-repeat;
    }
    
    .icon-books {
    background: url("../img/books.png") center / 100% no-repeat;
    }

    .icon-music {
    background: url("../img/music.png") center / 100% no-repeat;
    }

    .icon-audio {
    background: url("../img/podcast.png") center / 100% no-repeat;
    }

    .icon-mobile {
    background: url("../img/mobile.png") center / 100% no-repeat;
    }

    .icon-videos {
    background: url("../img/videos.png") center / 100% no-repeat;
    }

    .icon-worlds {
    background: url("../img/worlds.png") center / 100% no-repeat;
    }

    .icon-formats {
    background: url("../img/formats.png") center / 100% no-repeat;
    }

    .icon--inline {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        }

    li {
    display: flex;
    align-items: center;
    gap: 8px;
    }

    .card h3{
      margin: 0 0 6px;
      font-size: 16px;
      letter-spacing:-.15px;
    }
    .card p{
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }
    .note{
      margin-top: 12px;
      color: var(--faint);
      font-size: 13px;
    }

    /* What we do layout */
        .four-up .card { grid-column: span 3; }

        /* .four-up .icon{
        background-color: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.12);
        } */

        /* Per-card tint (does NOT kill your background-image anymore) */
        /* .four-up .card:nth-child(1) .icon{
        background-color: rgba(34,197,94,.10);
        border-color: rgba(34,197,94,.22);
        }
        .four-up .card:nth-child(2) .icon{
        background-color: rgba(59,130,246,.10);
        border-color: rgba(59,130,246,.22);
        }
        .four-up .card:nth-child(3) .icon{
        background-color: rgba(225,29,72,.10);
        border-color: rgba(225,29,72,.22);
        }
        .four-up .card:nth-child(4) .icon{
        background-color: rgba(168,85,247,.10);
        border-color: rgba(168,85,247,.22);
        } */


    /* Worlds */
    .worlds .card{ grid-column: span 6; padding: 18px; position:relative; overflow:hidden; }
    .worlds .card::before{
      content:"";
      position:absolute; inset:-2px;
      background: radial-gradient(600px 240px at 18% 18%, rgba(225,29,72,.22), transparent 55%);
      opacity:.55;
      pointer-events:none;
    }
    .worlds .card > *{ position:relative; z-index:2; }
    .kicker{
      display:flex; align-items:center; gap:10px;
      color: rgba(255,255,255,.92);
      font-weight:900;
      letter-spacing:.5px;
      font-size: 12px;
      text-transform:uppercase;
      margin-bottom: 10px;
    }
    .kicker .pill{
      padding:6px 10px;
      border-radius: 99px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
      color: rgba(255,255,255,.82);
      font-weight:800;
      text-transform:none;
      letter-spacing:.2px;
      font-size: 12px;
    }
    .worlds h3{ margin:0 0 8px; font-size: 18px; }
    .worlds .desc{ margin:0 0 12px; color: var(--muted); font-size: 14px; max-width: 75ch; }
    .mediums{
      display:flex; flex-wrap:wrap; gap:8px;
      padding:0; margin:0;
      list-style:none;
    }
    .mediums li{
      padding:8px 10px;
      border-radius: 12px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
      color: rgba(255,255,255,.82);
      font-weight:700;
      font-size: 13px;
    }

    .section-actions{
      display:flex; gap:10px; flex-wrap:wrap;
      margin-top: 14px;
    }

    /* About */
    .about{
      border:1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
      padding: 20px;
      box-shadow: var(--shadow);
    }
    .about p{ margin: 0 0 12px; color: var(--muted); }
    .about p:last-child{ margin-bottom:0; }

    /* Latest */
    .latest .card{ grid-column: span 4; }
    .meta{
      margin-top: 10px;
      color: var(--faint);
      font-size: 12px;
      display:flex; gap:10px; flex-wrap:wrap;
    }

    /* Footer */
    footer{
      padding: 26px 0 36px;
      border-top:1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }
    .footer-grid{
      display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap;
    }
    .footer-links{ display:flex; gap:12px; flex-wrap:wrap; color: rgba(232,232,239,.86); }
    .small{ margin-top: 10px; color: var(--faint); font-size: 12px; }

    /* Responsive */
    @media (max-width: 960px){
      .hero-grid{ grid-template-columns: 1fr; }
      .hero-card{ min-height: 260px; }
      .four-up .card{ grid-column: span 6; }
      .worlds .card{ grid-column: span 12; }
      .latest .card{ grid-column: span 12; }
      nav ul{ display:none; }
    }

    @media (prefers-reduced-motion: reduce){
      .btn{ transition:none; }
    }