/*
 * CASINO MINA
 * Purple & Gold Theme v0.1
 * Isolated visual override for MINA.
 */

:root {
  --bg-main: #08050e;
  --bg-deep: #040208;
  --bg-panel: #14091e;
  --bg-panel-soft: #21102e;
  --bg-card: #1a0b27;

  --text-main: #fff7ff;
  --text-muted: #ae9cba;
  --text-soft: #e6d8ee;

  --accent: #bd35ff;
  --accent-2: #8224dc;
  --gold: #e9b94c;

  --mina-purple: #b32cff;
  --mina-pink: #ee42ff;
  --mina-gold: #f4c760;
  --mina-border: rgba(192,70,255,.38);
  --mina-glow: 0 0 22px rgba(179,44,255,.28);
}

/* BASE */

html,
body {
  background: #05030a !important;
  color: #f8efff;
  color-scheme: dark;
}

body {
  accent-color: var(--mina-purple);
}

.rift-app {
  background:
    radial-gradient(
      ellipse at 53% -8%,
      rgba(137,28,209,.17),
      transparent 43%
    ),
    radial-gradient(
      ellipse at 95% 45%,
      rgba(106,15,174,.09),
      transparent 48%
    ),
    linear-gradient(
      160deg,
      #100719 0%,
      #08040e 48%,
      #040208 100%
    ) !important;
}

/* SIDEBAR */

.rift-sidebar,
.rift-sidebar-inner {
  background: linear-gradient(
    180deg,
    #100719 0%,
    #07030d 100%
  ) !important;

  border-color: rgba(185,54,255,.25) !important;
}

.rift-sidebar {
  box-shadow: 8px 0 35px rgba(80,0,125,.12);
}

.rift-brand {
  border-color: rgba(182,51,255,.25) !important;
}

.rift-nav-link {
  color: #c9b5d3 !important;
  border-color: transparent;
  transition:
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.rift-nav-link:hover,
.rift-nav-link.active {
  color: #fff !important;
  background: linear-gradient(
    90deg,
    rgba(180,36,255,.33),
    rgba(90,17,137,.15)
  ) !important;

  border-color: rgba(205,70,255,.55) !important;
  box-shadow:
    inset 3px 0 0 #dc69ff,
    0 0 18px rgba(169,35,255,.17);
}

.rift-nav-icon {
  color: #db81ff !important;
}

.nav-label {
  color: #d4a5e9 !important;
}

/* MAIN AREA AND TOPBAR */

.rift-main {
  background: transparent !important;
}

.rift-topbar {
  background: rgba(9,4,17,.92) !important;
  border-color: rgba(190,55,255,.18) !important;
  backdrop-filter: blur(16px);
}

.search-pill,
.search-pill input {
  background: rgba(15,7,25,.95) !important;
  color: #fff4ff !important;
}

.search-pill {
  border: 1px solid rgba(185,55,255,.38) !important;
  box-shadow: inset 0 0 12px rgba(130,20,210,.08);
}

.search-pill:focus-within {
  border-color: #c54aff !important;
  box-shadow: 0 0 18px rgba(187,48,255,.25);
}

.search-pill input::placeholder {
  color: #9781a3 !important;
}

/* BUTTONS */

.btn-accent,
.btn-gold,
.rift-mobile-primary-cta {
  background: linear-gradient(
    135deg,
    #e65aff 0%,
    #a324ed 55%,
    #6511b0 100%
  ) !important;

  color: #fff !important;
  border: 1px solid #e077ff !important;

  box-shadow:
    0 0 13px rgba(188,45,255,.42),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.btn-accent:hover,
.btn-gold:hover,
.rift-mobile-primary-cta:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 25px rgba(195,52,255,.62);
}

.btn-muted,
.icon-button {
  background: #1a0c27 !important;
  border-color: rgba(182,60,255,.25) !important;
  color: #f2ddff !important;
}

/* FEATURED / CLUB BANNERS */

.rift-club-featured-card {
  background: linear-gradient(
    120deg,
    #260c39,
    #110719 68%,
    #09040f
  ) !important;

  border: 1px solid rgba(188,64,255,.55) !important;
  box-shadow:
    0 0 24px rgba(130,24,205,.14),
    inset 0 0 25px rgba(140,29,205,.07);
}

.rift-club-featured-card-main {
  background: linear-gradient(
    110deg,
    #35104d,
    #160923 55%,
    #080410
  ) !important;
}

.rift-club-featured-card-tiers {
  border-color: rgba(238,186,73,.5) !important;
  background: linear-gradient(
    115deg,
    #302011,
    #160d20 57%,
    #09040e
  ) !important;
}

.rift-club-featured-kicker,
.rift-club-featured-action {
  color: #ecbfff !important;
}

.rift-club-featured-crown {
  color: var(--mina-gold) !important;
  text-shadow: 0 0 18px rgba(243,185,68,.5);
}

/* CATEGORY TILES */

.category-card {
  background: linear-gradient(
    150deg,
    #261037,
    #12081d 70%
  ) !important;

  color: #ead9f5 !important;

  border: 1px solid rgba(188,63,255,.37) !important;

  box-shadow:
    inset 0 1px 0 rgba(242,186,255,.06),
    0 5px 18px rgba(0,0,0,.25);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.category-card:hover,
.category-card.active {
  background: linear-gradient(
    145deg,
    #4c1767,
    #230d38
  ) !important;

  color: #fff !important;
  border-color: #d04cff !important;

  box-shadow:
    0 0 20px rgba(184,41,255,.3),
    inset 0 0 14px rgba(182,32,255,.12);

  transform: translateY(-2px);
}

.category-card > span:first-child {
  color: #e1a0ff !important;
}

/* GAME CARDS */

.rift-game-card {
  background: #150a20 !important;
  border: 1px solid rgba(179,59,255,.27) !important;

  box-shadow: 0 8px 24px rgba(0,0,0,.38);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.rift-game-card:hover {
  transform: translateY(-4px);
  border-color: #c742ff !important;

  box-shadow:
    0 0 26px rgba(172,35,255,.35),
    0 12px 30px rgba(0,0,0,.4);
}

/* FORM ELEMENTS */

input,
select,
textarea {
  accent-color: #b936f1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #e078ff !important;
  outline-offset: 3px;
}

/* MOBILE */

@media (max-width: 768px) {
  .rift-mobile-topbar {
    background: rgba(10,4,18,.97) !important;
    border-color: rgba(190,55,255,.24) !important;
  }

  .rift-mobile-welcome {
    background: linear-gradient(
      140deg,
      #29103b,
      #0b0514
    ) !important;
  }

  .category-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rift-nav-link,
  .category-card,
  .rift-game-card {
    transition: none !important;
  }
}

/* === MINA_CYBERPUNK_HERO_CSS_065 === */

.rift-main > .mina-hero-section {
    display: block !important;
    width: 100%;
    margin: 12px 0 22px;
    padding: 0;
    overflow: visible;
}

.mina-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 350px;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(208, 64, 255, .6);

    background:
        radial-gradient(
            ellipse at 77% 45%,
            rgba(187, 32, 255, .38),
            transparent 37%
        ),
        radial-gradient(
            ellipse at 55% 110%,
            rgba(255, 166, 34, .13),
            transparent 48%
        ),
        linear-gradient(
            115deg,
            #08030d 0%,
            #220938 48%,
            #090311 100%
        );

    box-shadow:
        0 0 32px rgba(163, 24, 255, .2),
        inset 0 0 55px rgba(162, 33, 255, .1);
}

.mina-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .55;
    pointer-events: none;

    background:
        repeating-linear-gradient(
            115deg,
            transparent 0 115px,
            rgba(203, 73, 255, .07) 116px 118px,
            transparent 119px 190px
        );
}

.mina-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        transparent,
        #b12bff,
        #f5bd4b,
        #b12bff,
        transparent
    );
    box-shadow: 0 0 20px rgba(184, 42, 255, .8);
}

.mina-hero-content {
    position: relative;
    z-index: 2;
    width: min(67%, 690px);
    padding: 38px 45px;
}

.mina-hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: #e4adff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    text-shadow: 0 0 12px rgba(189, 43, 255, .65);
}

.mina-hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(38px, 4.8vw, 79px);
    font-style: italic;
    font-weight: 900;
    line-height: .99;
    letter-spacing: -.035em;
    text-transform: uppercase;
    transform: skew(-4deg);
}

.mina-hero-title span {
    color: #fff;
    text-shadow:
        3px 3px 0 #7024a2,
        0 0 25px rgba(193, 55, 255, .6);
}

.mina-hero-title strong {
    color: #f6c65e;
    font-weight: inherit;
    text-shadow:
        3px 4px 0 #603311,
        0 0 24px rgba(255, 177, 32, .25);
}

.mina-hero-description {
    margin: 19px 0 25px;
    color: #f0e4f8;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: .09em;
}

.mina-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    padding: 13px 30px;
    border-radius: 5px;
    background: linear-gradient(
        135deg,
        #ffe493,
        #f4b63f 65%,
        #c47c19
    );
    color: #160b0b !important;
    font-weight: 900;
    font-size: 17px;
    text-decoration: none !important;
    box-shadow:
        0 0 23px rgba(255, 184, 43, .38),
        4px 5px 0 rgba(91, 36, 7, .5);
    transition: transform .2s, box-shadow .2s;
}

.mina-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255, 192, 59, .7);
}

.mina-hero-cta span {
    font-size: 29px;
    line-height: .7;
}

.mina-hero-decoration {
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.mina-hero-symbol {
    display: block;
    font-size: clamp(130px, 18vw, 300px);
    line-height: 1;
    color: rgba(204, 86, 255, .19);
    text-shadow:
        0 0 38px rgba(197, 40, 255, .8),
        0 0 100px rgba(160, 25, 255, .35);
}

@media (max-width: 768px) {
    .rift-main > .mina-hero-section {
        display: block !important;
        margin: 10px 0 18px;
    }

    .mina-hero {
        min-height: 290px;
    }

    .mina-hero-content {
        width: 100%;
        padding: 27px 21px;
    }

    .mina-hero-title {
        font-size: clamp(34px, 9vw, 55px);
    }

    .mina-hero-description {
        font-size: 11px;
    }

    .mina-hero-decoration {
        right: -10%;
        opacity: .35;
    }

    .mina-hero-cta {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* === /MINA_CYBERPUNK_HERO_CSS_065 === */

/* === MINA_LOGO_CSS_074 === */

/* Sidebar */
.rift-brand .rift-logo-box {
    display: none !important;
}

.rift-brand .rift-wordmark {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.rift-brand .rift-wordmark img.rift-wordmark-image {
    display: block !important;
    width: 100% !important;
    max-width: 185px !important;
    height: auto !important;
    max-height: 105px !important;
    object-fit: contain !important;
}

.rift-brand .rift-wordmark > span {
    display: none !important;
}

/* Mobile header */
.rift-mobile-logo > img:first-child {
    display: none !important;
}

.rift-mobile-logo .rift-mobile-wordmark-image {
    display: block !important;
    width: 120px !important;
    height: auto !important;
    max-height: 56px !important;
    object-fit: contain !important;
}

/* Small topbar icon */
.rift-topbar .icon-button img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

/* Login modal */
.rift-auth-logo {
    width: 120px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* === /MINA_LOGO_CSS_074 === */

/* === MINA_CATEGORY_DESIGN_077 === */

.mina-category-section {
    margin: 25px 0 30px;
    width: 100%;
}

.mina-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.mina-category-header h2 {
    margin: 0;
    color: #f9edff;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 900;
    letter-spacing: .04em;
}

.mina-category-header > span {
    color: #d8a84e;
    font-size: 11px;
    letter-spacing: .16em;
}

.mina-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.mina-category-tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 185px;
    padding: 19px;
    border-radius: 14px;
    border: 1px solid rgba(194, 73, 255, .48);
    text-decoration: none !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 72% 24%,
            rgba(181, 37, 255, .28), transparent 52%),
        linear-gradient(145deg, #311047, #11071b 78%);
    box-shadow: inset 0 0 25px rgba(164, 36, 237, .1),
                0 8px 24px rgba(0, 0, 0, .38);
    transition: transform .2s ease,
                box-shadow .2s ease,
                border-color .2s ease;
}

.mina-category-tile::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent, #ba42ff, #f1c568, transparent);
    opacity: .75;
}

.mina-category-tile:hover {
    transform: translateY(-5px);
    border-color: #df89ff;
    box-shadow: 0 0 28px rgba(174, 39, 255, .35),
                0 12px 30px rgba(0, 0, 0, .4);
}

.mina-cat-icon {
    position: absolute;
    right: 18px;
    top: 13px;
    font-size: 58px;
    line-height: 1.2;
    filter: drop-shadow(0 0 18px rgba(196, 70, 255, .5));
}

.mina-category-tile strong {
    position: relative;
    z-index: 1;
    font-size: clamp(17px, 1.8vw, 24px);
    font-weight: 900;
    letter-spacing: .03em;
    text-shadow: 0 2px 10px #08030d;
}

.mina-category-tile small {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    color: #dac1e7;
    font-size: 12px;
}

.mina-cat-live {
    background: radial-gradient(circle at 75% 20%,
        rgba(236, 59, 160, .3), transparent 53%),
        linear-gradient(145deg, #40132f, #110717 80%);
}

.mina-cat-crash {
    background: radial-gradient(circle at 75% 20%,
        rgba(57, 126, 255, .28), transparent 53%),
        linear-gradient(145deg, #18164a, #0a0719 80%);
}

.mina-cat-table {
    background: radial-gradient(circle at 75% 20%,
        rgba(191, 57, 255, .27), transparent 53%),
        linear-gradient(145deg, #2a1644, #10091c 80%);
}

.mina-cat-bonus {
    border-color: rgba(235, 176, 76, .52);
    background: radial-gradient(circle at 75% 20%,
        rgba(255, 173, 34, .22), transparent 53%),
        linear-gradient(145deg, #382014, #160c19 80%);
}

.mina-cat-vip {
    border-color: rgba(244, 192, 79, .65);
    background: radial-gradient(circle at 75% 20%,
        rgba(245, 186, 57, .25), transparent 53%),
        linear-gradient(145deg, #3d2732, #140b1c 80%);
}

.mina-cat-vip .mina-cat-icon,
.mina-cat-bonus .mina-cat-icon {
    filter: drop-shadow(0 0 18px rgba(255, 190, 57, .4));
}

@media (max-width: 900px) {
    .mina-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .mina-category-grid {
        gap: 10px;
    }

    .mina-category-tile {
        min-height: 140px;
        padding: 12px;
    }

    .mina-cat-icon {
        font-size: 37px;
    }

    .mina-category-header > span {
        display: none;
    }

    .mina-category-tile small {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mina-category-tile {
        transition: none;
    }
}

/* === /MINA_CATEGORY_DESIGN_077 === */

/* === MINA_SIX_CATEGORY_LAYOUT_079 === */

@media (min-width: 1200px) {
    .mina-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }

    .mina-category-tile {
        min-height: 185px;
        padding: 14px;
        border-radius: 10px;
    }

    .mina-category-tile strong {
        font-size: clamp(14px, 1.1vw, 19px);
    }

    .mina-category-tile small {
        font-size: 10px;
    }

    .mina-cat-icon {
        top: 12px;
        right: 12px;
        font-size: 49px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .mina-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mina-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* === /MINA_SIX_CATEGORY_LAYOUT_079 === */

/* === MINA_CATEGORY_ASSETS_080 === */

.mina-category-showcase {
    margin: 26px 0 18px;
}

.mina-category-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mina-category-showcase-head h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .04em;
    color: #fff4f7;
    text-transform: uppercase;
}

.mina-category-showcase-head span {
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #f3be4f;
    font-weight: 700;
}

.mina-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mina-category-card {
    position: relative;
    min-height: 178px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(225, 107, 255, 0.35);
    background:
        radial-gradient(circle at 75% 28%, rgba(215,92,255,.16), transparent 28%),
        linear-gradient(135deg, rgba(58,14,82,.96) 0%, rgba(23,8,48,.98) 100%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.02) inset,
        0 14px 34px rgba(0,0,0,.34),
        0 0 28px rgba(183, 57, 255, 0.18);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mina-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 187, 62, 0.55);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 20px 42px rgba(0,0,0,.42),
        0 0 36px rgba(183, 57, 255, 0.28);
}

.mina-category-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mina-category-art img {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 42%;
    max-width: 170px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
    opacity: .96;
}

.mina-category-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20,6,34,.88) 0%, rgba(20,6,34,.58) 42%, rgba(20,6,34,.12) 75%, rgba(20,6,34,0) 100%);
    pointer-events: none;
}

.mina-category-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 178px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px 16px;
}

.mina-category-content h3 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #ffffff;
}

.mina-category-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255,255,255,.86);
}

.mina-category-card--slots {
    background:
        radial-gradient(circle at 72% 24%, rgba(186, 76, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #33104c 0%, #210733 100%);
}

.mina-category-card--live {
    background:
        radial-gradient(circle at 73% 24%, rgba(255, 110, 202, 0.18), transparent 30%),
        linear-gradient(135deg, #4b1138 0%, #26091d 100%);
}

.mina-category-card--crash {
    background:
        radial-gradient(circle at 73% 24%, rgba(90, 122, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #16256c 0%, #0b1239 100%);
}

.mina-category-card--table {
    background:
        radial-gradient(circle at 73% 24%, rgba(160, 73, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #3e1259 0%, #1d0a33 100%);
}

.mina-category-card--bonuses {
    background:
        radial-gradient(circle at 73% 24%, rgba(255, 177, 63, 0.18), transparent 30%),
        linear-gradient(135deg, #5a2a12 0%, #2b1209 100%);
}

.mina-category-card--vip {
    background:
        radial-gradient(circle at 73% 24%, rgba(255, 199, 91, 0.18), transparent 30%),
        linear-gradient(135deg, #4a2733 0%, #241019 100%);
}

@media (max-width: 1200px) {
    .mina-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mina-category-showcase-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mina-category-grid {
        grid-template-columns: 1fr;
    }

    .mina-category-content {
        min-height: 160px;
    }

    .mina-category-art img {
        width: 38%;
    }
}

/* === /MINA_CATEGORY_ASSETS_080 === */

/* === MINA_CATEGORY_ART_083 === */

.mina-category-grid {
    display: grid;
    gap: 12px;
}

.mina-category-card {
    display: block;
    min-width: 0;
    min-height: 185px;
    border-radius: 10px;
}

.mina-category-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mina-category-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: none;
    transition: transform .3s ease;
}

.mina-category-card:hover .mina-category-art img {
    transform: scale(1.07);
}

.mina-category-overlay {
    background: linear-gradient(
        180deg,
        rgba(5,2,12,.03) 15%,
        rgba(5,2,12,.30) 55%,
        rgba(5,2,12,.95) 100%
    );
}

.mina-category-content {
    min-height: 185px;
    padding: 12px;
    justify-content: flex-end;
}

.mina-category-content h3 {
    font-size: clamp(13px, 1.15vw, 19px);
    text-shadow: 0 2px 8px #000;
}

.mina-category-content p {
    font-size: 10px;
    text-shadow: 0 2px 5px #000;
}

@media (min-width: 1250px) {
    .mina-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 800px) and (max-width: 1249px) {
    .mina-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 799px) {
    .mina-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* === /MINA_CATEGORY_ART_083 === */

/* === MINA_HIDE_CATEGORY_STRIP_084 === */

/* Remove old RIFT quick-category navigation */
.rift-main > .category-strip {
    display: none !important;
}

/* === /MINA_HIDE_CATEGORY_STRIP_084 === */

/* === MINA_HERO_CITY_085B === */

.mina-hero {
    background: #090311 !important;
}

.mina-hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            90deg,
            rgba(7,2,14,.80) 0%,
            rgba(9,3,18,.45) 33%,
            rgba(9,3,18,.03) 72%
        ),
        url("/static/portal/img/mina-hero-city.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mina-hero::before {
    display: none !important;
}

.mina-hero-content {
    position: relative;
    z-index: 2;
}

.mina-hero-decoration {
    display: none !important;
}

@media (max-width: 768px) {
    .mina-hero-art {
        background-position: 58% center;
    }

    .mina-hero-content {
        background: linear-gradient(
            90deg,
            rgba(5,2,12,.70),
            rgba(5,2,12,.15)
        );
    }
}

/* === /MINA_HERO_CITY_085B === */

/* === MINA_SIDEBAR_CLEANUP_086 === */

.rift-sidebar .mode-switch {
    display: none !important;
}

.rift-sidebar .rift-nav {
    margin-top: 12px;
}

/* === /MINA_SIDEBAR_CLEANUP_086 === */

/* === MINA_AUTH_THEME_092 === */

/* Modal background */
.rift-auth-backdrop .rift-auth-modal {
    background: linear-gradient(
        155deg,
        #1c0b2b 0%,
        #100719 55%,
        #090410 100%
    ) !important;

    border: 1px solid rgba(202, 69, 255, .55) !important;

    box-shadow:
        0 0 45px rgba(166, 39, 255, .25),
        0 25px 80px rgba(0, 0, 0, .75) !important;

    color: #f9efff !important;
}

/* Header and logo */
.rift-auth-brand strong {
    color: #ffffff !important;
}

.rift-auth-brand span {
    color: #c69bdd !important;
}

.rift-auth-logo {
    background: #100619 !important;
    border-color: rgba(204, 70, 255, .6) !important;
    box-shadow: 0 0 18px rgba(181, 40, 255, .22);
}

.rift-auth-close {
    background: #291335 !important;
    color: #e5c6f5 !important;
    border-color: rgba(197, 69, 255, .3) !important;
}

/* Login / Register tabs */
.rift-auth-tabs {
    background: #0b0512 !important;
    border: 1px solid rgba(185, 60, 255, .18) !important;
}

.rift-auth-tab {
    color: #c9afd8 !important;
    background: transparent !important;
}

.rift-auth-tab.is-active {
    background: linear-gradient(
        110deg,
        #df58ff,
        #a42ce5 65%,
        #7520c5
    ) !important;

    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(188, 48, 255, .4) !important;
}

/* Titles and labels */
.rift-auth-title {
    color: #fff5ff !important;
}

.rift-auth-field label,
.rift-auth-check {
    color: #d5bcdf !important;
}

/* Input fields */
.rift-auth-input {
    background: #0b0513 !important;
    color: #ffffff !important;
    border: 1px solid rgba(183, 74, 234, .43) !important;
    box-shadow: none !important;
    caret-color: #d782ff;
}

.rift-auth-input:focus {
    outline: none !important;
    border-color: #d76aff !important;
    box-shadow:
        0 0 0 2px rgba(196, 55, 255, .2),
        0 0 19px rgba(174, 42, 255, .17) !important;
}

/* Main submit buttons */
.rift-auth-submit {
    background: linear-gradient(
        110deg,
        #ffe59a 0%,
        #f5c45c 55%,
        #d99524 100%
    ) !important;

    color: #211020 !important;
    border: 1px solid #ffd780 !important;
    font-weight: 900 !important;

    box-shadow:
        0 0 21px rgba(244, 187, 67, .28) !important;
}

.rift-auth-submit:hover {
    filter: brightness(1.08);
    box-shadow:
        0 0 28px rgba(255, 194, 65, .5) !important;
}

/* Alternative sign-in methods */
.rift-auth-social {
    background: #21102d !important;
    border: 1px solid rgba(172, 72, 213, .29) !important;
    color: #d9c5e2 !important;
}

.rift-auth-social:not(:disabled):hover {
    background: #351445 !important;
    border-color: #b853ed !important;
}

/* Bottom links */
.rift-auth-foot button {
    color: #e2a2ff !important;
}

.rift-auth-divider {
    color: #bba2c9 !important;
}

/* === /MINA_AUTH_THEME_092 === */

/* === MINA_GAME_PREVIEW_145 === */

.mina-preview {
    width: min(420px, 92vw);
    max-height: 90vh;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #b94dff;
    background: linear-gradient(145deg, #21102e, #0c0614);
    color: #fff;
    text-align: center;
    box-shadow: 0 0 50px rgba(177, 44, 255, .35);
}

.mina-preview::backdrop {
    background: rgba(3, 0, 8, .82);
    backdrop-filter: blur(7px);
}

.mina-preview-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: transparent;
    border: 0;
    color: #e2b7ff;
    font-size: 28px;
    cursor: pointer;
}

.mina-preview-image {
    display: block;
    width: 100%;
    max-height: 235px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 18px;
}

.mina-preview-title {
    color: #fff;
    font-size: 23px;
    margin: 12px 0;
}

.mina-preview-provider {
    color: #cd8af5;
    font-size: 14px;
}

.mina-preview-notice {
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(110deg, #ffe59a, #e9b64e);
    color: #211020;
    font-weight: 800;
}

/* === /MINA_GAME_PREVIEW_145 === */

