:root {
    --bg: #090d12;
    --surface: #111820;
    --surface-soft: #18212b;
    --border: rgba(255, 255, 255, .09);
    --text: #e8edf2;
    --muted: #9aa8b5;
    --gold: #e4a83b;
    --gold-light: #f2c46d;
    --blue: #3b89c9;
    --green: #49c77a;
}

html {
    background: var(--bg);
}

body {
    padding-top: 72px;
    overflow-x: hidden;
    color: #e8edf2;
    color: var(--text);
    background-color: #090d12;
    background:
        radial-gradient(circle at 15% 8%, rgba(37, 93, 135, .17), transparent 28rem),
        radial-gradient(circle at 90% 38%, rgba(180, 111, 30, .08), transparent 25rem),
        var(--bg);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: var(--gold-light);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover,
a:focus {
    color: #fff;
    text-decoration: none;
}

.site-main {
    min-height: 70vh;
}

.site-navbar {
    min-height: 72px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(228, 168, 59, .22);
    background: rgba(7, 11, 15, .96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
}

.site-navbar .navbar-header,
.site-navbar .navbar-brand {
    height: 72px;
}

.site-brand {
    display: flex;
    align-items: center;
    padding: 0 20px 0 15px;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .02em;
}

.site-brand-mark {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    image-rendering: pixelated;
}

.site-navbar .navbar-nav > li > a {
    padding: 26px 10px 24px;
    color: #b9c4ce;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
}

.site-navbar .navbar-nav > li > a:hover,
.site-navbar .navbar-nav > li > a:focus,
.site-navbar .navbar-nav > .open > a,
.site-navbar .navbar-nav > .open > a:hover,
.site-navbar .navbar-nav > .open > a:focus {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.site-navbar .dropdown-menu {
    border: 1px solid var(--border);
    background: #111820;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .35);
}

.site-navbar .dropdown-menu > li > a {
    padding: 9px 18px;
    color: #c7d0d8;
}

.site-navbar .dropdown-menu > li > a:hover,
.site-navbar .dropdown-menu > li > a:focus {
    color: #fff;
    background: #1c2732;
}

.account-navigation {
    padding-top: 18px;
}

.btn-account {
    min-width: 92px;
    padding: 8px 16px;
    border: 1px solid rgba(228, 168, 59, .65);
    border-radius: 4px;
    color: #171008;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-weight: 700;
    box-shadow: none;
}

.btn-account:hover,
.btn-account:focus {
    color: #000;
    border-color: #f5d28d;
    background: #f5c76e;
}

.site-navbar .navbar-toggle {
    margin-top: 18px;
    margin-bottom: 18px;
    border-color: rgba(255, 255, 255, .2);
}

.hero-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(5, 9, 13, .97) 5%, rgba(5, 9, 13, .78) 49%, rgba(5, 9, 13, .25) 100%),
        linear-gradient(0deg, rgba(9, 13, 18, .52), rgba(9, 13, 18, .16)),
        url("../img/hero-jogatina-rpg-2026.png") center 48% / cover no-repeat;
}

.hero-section:after {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(228, 168, 59, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(228, 168, 59, .025), 0 0 0 110px rgba(228, 168, 59, .018);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 670px;
    padding: 28px 0 26px;
}

.hero-eyebrow,
.section-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-shadow: 0 6px 22px rgba(0, 0, 0, .48);
}

.hero-content > p {
    max-width: 610px;
    color: #c1ccd5;
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn-primary {
    border-color: #cf9228;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #171008;
    font-weight: 700;
    text-shadow: none;
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:hover {
    border-color: #f1c364;
    background: #f1c364;
    color: #090603;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    background: rgba(8, 13, 18, .55);
}

.btn-ghost:hover,
.btn-ghost:focus {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.hero-note {
    margin-top: 10px;
    color: #8999a7 !important;
    font-size: 12px !important;
}

.creature-strip {
    border-bottom: 1px solid var(--border);
    background: #0c1218;
}

.creature-line {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.creature-line img {
    max-width: 55px;
    max-height: 55px;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55));
}

.creature-message {
    max-width: 330px;
    padding: 0 22px;
    color: #8f9ba6;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    text-align: center;
}

.home-content {
    padding-top: 54px;
    padding-bottom: 42px;
}

.content-card {
    margin-bottom: 28px;
    overflow: hidden;
    color: #e8edf2;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(150deg, rgba(24, 33, 43, .96), rgba(14, 21, 28, .98));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .19);
}

.section-heading {
    padding: 26px 28px 22px;
    border-bottom: 1px solid var(--border);
}

.section-heading h2,
.community-card h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
}

.announcement-body {
    padding: 26px 28px 30px;
    color: #b8c4cd;
}

.bonus-grid {
    display: flex;
    gap: 16px;
    margin: 22px 0;
}

.bonus-item {
    flex: 1;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(7, 12, 17, .45);
}

.bonus-item strong,
.bonus-item p {
    display: block;
}

.bonus-number {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 700;
}

.bonus-item p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.bonus-featured {
    border-color: rgba(228, 168, 59, .35);
    background: rgba(228, 168, 59, .07);
}

.notice-text {
    margin-bottom: 0;
    padding: 12px 14px;
    border-left: 3px solid var(--gold);
    color: var(--muted);
    background: rgba(0, 0, 0, .2);
}

.systems-list {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 14px 20px;
}

.system-item {
    width: 50%;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.system-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .055);
}

.system-item h3 {
    margin: 0 0 7px;
    color: var(--gold-light);
    font-size: 15px;
    font-weight: 700;
}

.system-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.system-wide {
    width: 100%;
    border-right: 0 !important;
}

.spell-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.spell-grid > div {
    padding: 22px 26px;
    background: #111922;
}

.spell-grid strong,
.spell-grid span,
.spell-grid small {
    display: block;
}

.spell-grid strong {
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.spell-grid span {
    margin: 4px 0;
    color: #fff;
    font-size: 17px;
}

.spell-grid small {
    color: var(--muted);
}

.compact-heading {
    padding: 22px 22px 18px;
}

.compact-heading h2 {
    font-size: 23px;
}

.ranking-card .table-responsive {
    border: 0;
}

.ranking-table {
    margin: 0;
    color: #c0cad2;
}

.ranking-table > thead > tr > th {
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid var(--border);
    color: #788895;
    background: rgba(0, 0, 0, .16);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ranking-table > tbody > tr > td {
    padding: 12px 14px;
    border-color: rgba(255, 255, 255, .055);
    vertical-align: middle;
}

.ranking-table > tbody > tr:hover {
    background: rgba(255, 255, 255, .025);
}

.ranking-position {
    width: 36px;
    color: var(--gold-light);
    font-weight: 800;
}

.ranking-value {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ranking-empty {
    padding: 24px !important;
    color: var(--muted);
    text-align: center;
}

.community-card {
    padding: 26px;
}

.community-card p {
    margin: 13px 0 20px;
    color: var(--muted);
}

.community-socials {
    display: grid;
    gap: 10px;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 12px 8px 9px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: #d9e1e7;
    background: rgba(0, 0, 0, .17);
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.community-link:hover,
.community-link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}

.community-link.instagram:hover,
.community-link.instagram:focus {
    border-color: rgba(225, 48, 108, .55);
    background: rgba(225, 48, 108, .09);
}

.community-link.whatsapp:hover,
.community-link.whatsapp:focus {
    border-color: rgba(37, 211, 102, .55);
    background: rgba(37, 211, 102, .09);
}

.community-link.facebook:hover,
.community-link.facebook:focus {
    border-color: rgba(24, 119, 242, .58);
    background: rgba(24, 119, 242, .09);
}

.community-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: #fff;
}

.community-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.community-icon .icon-fill {
    fill: currentColor;
    stroke: none;
}

.instagram .community-icon {
    background: linear-gradient(135deg, #7c3aed, #e1306c 55%, #f59e0b);
}

.whatsapp .community-icon {
    background: #25d366;
}

.facebook .community-icon {
    background: #1877f2;
}

.facebook .community-icon svg {
    width: 23px;
    height: 23px;
}

.community-arrow {
    margin-left: auto;
    color: #71808c;
    font-size: 24px;
    line-height: 1;
    transition: color .2s ease, transform .2s ease;
}

.community-link:hover .community-arrow,
.community-link:focus .community-arrow {
    color: #fff;
    transform: translateX(2px);
}

.modal-content {
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: #141d26;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .55);
}

.modal-header,
.modal-footer {
    border-color: var(--border);
}

.modal-header .close {
    color: #fff;
    text-shadow: none;
}

.modal-kicker {
    margin: 0;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.modal-title {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
}

.modal-content label {
    color: #bac4cc;
    font-size: 12px;
}

.form-control {
    height: 42px;
    border-color: rgba(255, 255, 255, .13);
    color: #eef2f5;
    background: #0a1016;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(228, 168, 59, .11);
}

.modal-link {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
}

.site-footer {
    border-top: 1px solid rgba(228, 168, 59, .19);
    color: var(--muted);
    background: #070b0f;
}

.footer-status-bar {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.server-indicator,
.status-metric {
    display: flex;
    align-items: center;
}

.server-indicator {
    min-width: 170px;
}

.status-dot {
    width: 10px;
    height: 10px;
    margin-right: 12px;
    border-radius: 50%;
    background: #d24f4f;
    box-shadow: 0 0 0 5px rgba(210, 79, 79, .1);
}

.is-online .status-dot {
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(73, 199, 122, .1), 0 0 15px rgba(73, 199, 122, .45);
}

.server-indicator small,
.server-indicator strong,
.status-metric small,
.status-metric strong {
    display: block;
}

.server-indicator small,
.status-metric small {
    color: #65727d;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.server-indicator strong,
.status-metric strong {
    color: #dce3e9;
    font-size: 15px;
}

.status-metric {
    display: block;
}

.btn-footer-status {
    margin-left: auto;
    border: 1px solid var(--border);
    color: #d7dfe5;
    background: #111820;
}

.btn-footer-status:hover {
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

.footer-main {
    padding-top: 48px;
    padding-bottom: 42px;
}

.footer-brand {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
}

.footer-main p {
    max-width: 390px;
    margin-top: 12px;
}

.footer-version {
    color: #66737e;
    font-size: 12px;
}

.footer-title {
    margin: 4px 0 16px;
    color: #dce3e8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #8f9ca7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65px;
    border-top: 1px solid var(--border);
    color: #66737e;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: #9aa7b2;
}

@media (max-width: 1199px) {
    .site-brand {
        font-size: 18px;
    }

    .site-navbar .navbar-nav > li > a {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }

    .site-navbar,
    .site-navbar .navbar-header,
    .site-navbar .navbar-brand {
        min-height: 60px;
        height: 60px;
    }

    .site-navbar .navbar-toggle {
        margin-top: 13px;
        margin-bottom: 13px;
    }

    .site-navbar .navbar-collapse {
        max-height: calc(100vh - 60px);
        border-color: var(--border);
        background: #090e13;
    }

    .site-navbar .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .site-navbar .navbar-nav > li > a {
        padding: 12px 15px;
        font-size: 11px;
    }

    .account-navigation {
        padding: 12px 15px 18px;
    }

    .account-navigation .btn-group,
    .btn-account {
        width: 100%;
    }

    .hero-section {
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .creature-line img:nth-of-type(2),
    .creature-line img:nth-of-type(6) {
        display: none;
    }

    .footer-status-bar {
        flex-wrap: wrap;
    }

    .btn-footer-status {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .site-brand {
        padding-left: 15px;
    }

    .hero-section {
        min-height: 280px;
        background-position: 62% center;
    }

    .hero-content {
        padding: 28px 0 26px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .creature-line {
        min-height: 76px;
        gap: 14px;
    }

    .creature-line img {
        max-width: 42px;
        max-height: 42px;
    }

    .creature-message,
    .creature-line img:nth-of-type(3),
    .creature-line img:nth-of-type(5) {
        display: none;
    }

    .home-content {
        padding-top: 30px;
    }

    .section-heading,
    .announcement-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .bonus-grid,
    .footer-status-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .system-item,
    .system-wide {
        width: 100%;
        border-right: 0 !important;
    }

    .spell-grid {
        grid-template-columns: 1fr;
    }

    .footer-status-bar {
        gap: 16px;
        padding: 24px 0;
    }

    .btn-footer-status {
        width: 100%;
    }

    .footer-main {
        padding-top: 36px;
        padding-bottom: 24px;
    }

    .footer-main > div {
        margin-bottom: 28px;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 34px;
    }

    .section-heading h2,
    .community-card h2 {
        font-size: 23px;
    }
}

/* Internal pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 68px;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(5, 9, 13, .97) 4%, rgba(5, 9, 13, .76) 52%, rgba(5, 9, 13, .28) 100%),
        linear-gradient(0deg, rgba(9, 13, 18, .48), rgba(9, 13, 18, .08)),
        url("../img/hero-jogatina-rpg-2026.png") center 48% / cover no-repeat;
}

.page-hero:after {
    position: absolute;
    right: 7%;
    bottom: -100px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(228, 168, 59, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(228, 168, 59, .025), 0 0 0 76px rgba(228, 168, 59, .018);
    content: "";
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -.025em;
}

.page-hero p {
    max-width: 680px;
    margin: 0;
    color: #b9c5ce;
    font-size: 17px;
}

.download-hero {
    background-position: center 32%;
}

.donation-hero {
    background-position: center 58%;
}

.shop-hero,
.spells-hero,
.guilds-hero,
.rules-hero {
    background-position: center 48%;
}

.inner-page {
    padding-top: 44px;
    padding-bottom: 48px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 178px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: linear-gradient(145deg, #18212b, #0f161d);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.featured-download {
    grid-column: 1 / -1;
    border-color: rgba(228, 168, 59, .32);
    background:
        linear-gradient(110deg, rgba(30, 39, 48, .97), rgba(17, 24, 31, .93)),
        url("../images/jogatina.bmp") center / cover no-repeat;
}

.download-platform {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 168, 59, .2);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(228, 168, 59, .07);
    font-size: 27px;
}

.download-copy {
    flex: 1;
}

.download-label,
.shop-amount {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.download-copy h2 {
    margin: 4px 0 7px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.download-copy p {
    margin: 0;
    color: var(--muted);
}

.download-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin-top: 12px;
    color: #aab2bd;
    font-size: 12px;
}

.download-details code {
    padding: 4px 7px;
    border: 1px solid rgba(239, 177, 50, .25);
    border-radius: 4px;
    background: rgba(0, 0, 0, .25);
    color: #d7dde5;
    font-size: 11px;
}

.download-security-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(87, 196, 137, .28);
    border-radius: 8px;
    background: rgba(24, 73, 48, .18);
}

.download-security-note > .glyphicon {
    margin-top: 2px;
    color: #65d99a;
    font-size: 22px;
}

.download-security-note strong {
    display: block;
    margin-bottom: 5px;
    color: #e7edf3;
}

.download-security-note p {
    margin: 0;
    color: #aeb8c3;
}

.page-notice,
.rules-penalty {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid rgba(59, 137, 201, .25);
    border-left: 3px solid var(--blue);
    border-radius: 5px;
    color: #bdc8d0;
    background: rgba(59, 137, 201, .07);
}

.page-notice > .glyphicon,
.rules-penalty > .glyphicon {
    margin-top: 3px;
    color: #67aee7;
    font-size: 19px;
}

.page-notice strong,
.rules-penalty strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
}

.page-notice p,
.rules-penalty p {
    margin: 0;
}

.prose-card .prose-content {
    padding: 26px 28px 30px;
    color: #b8c4cd;
}

.prose-content p {
    margin-bottom: 18px;
}

.rate-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 25px 0;
    padding: 22px;
    border: 1px solid rgba(228, 168, 59, .24);
    border-radius: 6px;
    background: rgba(228, 168, 59, .06);
}

.rate-highlight span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.rate-highlight strong {
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.legal-note {
    margin-bottom: 0 !important;
    padding: 14px 16px;
    border-left: 3px solid #b96642;
    background: rgba(185, 102, 66, .07);
    font-size: 13px;
}

.steps-list {
    padding: 8px 28px 24px;
}

.step-item {
    display: flex;
    gap: 18px;
    padding: 21px 0;
    border-bottom: 1px solid var(--border);
}

.step-item:last-child {
    border-bottom: 0;
}

.step-item > span {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 168, 59, .3);
    border-radius: 50%;
    color: var(--gold-light);
    font-weight: 800;
}

.step-item h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 17px;
}

.step-item p {
    margin: 0;
    color: var(--muted);
}

.btn-whatsapp {
    margin-top: 12px;
    border-color: #2ca962;
    color: #fff;
    background: #21884d;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    color: #fff;
    background: #29a45d;
}

.promo-card,
.support-card {
    padding: 26px;
}

.promo-card h2,
.support-card h2 {
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.promo-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.promo-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.promo-list strong {
    min-width: 48px;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.promo-list span {
    color: var(--muted);
    font-size: 12px;
}

.promo-warning {
    margin: 18px 0 0;
    color: #d48362;
    font-size: 12px;
}

.support-card {
    text-align: center;
}

.support-card > .glyphicon {
    display: block;
    margin-bottom: 14px;
    color: var(--gold-light);
    font-size: 30px;
}

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

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.shop-toolbar h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.shop-item-card {
    display: flex;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: linear-gradient(145deg, #18212b, #0f161d);
}

.shop-item-image {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    background:
        radial-gradient(circle, rgba(228, 168, 59, .09), transparent 65%),
        rgba(0, 0, 0, .16);
}

.shop-item-image img {
    max-width: 88px;
    max-height: 100px;
    image-rendering: pixelated;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .5));
}

.shop-item-content {
    position: relative;
    flex: 1;
    padding: 21px 22px 52px;
}

.shop-item-content h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 17px;
}

.shop-item-content p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.shop-price {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: var(--gold-light);
    font-size: 16px;
}

.warning-notice {
    border-color: rgba(228, 168, 59, .24);
    border-left-color: var(--gold);
    background: rgba(228, 168, 59, .055);
}

.warning-notice > .glyphicon {
    color: var(--gold-light);
}

.data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 28px 21px;
    border-bottom: 1px solid var(--border);
}

.data-card-header h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.spell-legend {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 11px;
}

.legend-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 50%;
}

.instant-dot {
    background: var(--green);
}

.conjure-dot {
    background: #df7563;
}

.modern-table {
    margin: 0;
    color: #c1cbd3;
}

.modern-table > thead > tr > th {
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid var(--border);
    color: #7f8d98;
    background: rgba(0, 0, 0, .18);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.modern-table > tbody > tr > td {
    padding: 14px 16px;
    border-color: rgba(255, 255, 255, .055);
    vertical-align: middle;
}

.modern-table > tbody > tr:hover {
    background: rgba(255, 255, 255, .025);
}

.modern-table code,
.rule-card code {
    border: 1px solid rgba(228, 168, 59, .13);
    border-radius: 3px;
    color: var(--gold-light);
    background: rgba(228, 168, 59, .06);
}

.spell-type {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.spell-instant {
    color: #75d89d;
    background: rgba(73, 199, 122, .1);
}

.spell-conjure {
    color: #e89586;
    background: rgba(223, 117, 99, .1);
}

.vocation-list {
    max-width: 260px;
    color: #9eabb5;
    font-size: 12px;
}

.data-empty {
    padding: 55px 24px;
    color: var(--muted);
    text-align: center;
}

.data-empty > .glyphicon {
    display: block;
    margin-bottom: 15px;
    color: var(--gold-light);
    font-size: 34px;
}

.data-empty h2,
.data-empty h3 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
}

.guild-card {
    margin-bottom: 22px;
}

.guild-header {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px 25px;
    border-bottom: 1px solid var(--border);
}

.guild-emblem {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 168, 59, .22);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(228, 168, 59, .06);
}

.guild-header h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.guild-count {
    margin-left: auto;
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guild-rank {
    color: var(--gold-light);
    font-size: 12px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.rule-card {
    position: relative;
    margin: 0;
    padding: 25px 26px;
}

.rule-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(228, 168, 59, .18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 700;
}

.rule-card h2 {
    margin: 0 0 16px;
    padding-right: 50px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.rule-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.rule-card li {
    margin-bottom: 9px;
    padding-left: 3px;
}

.rule-card li::marker {
    color: var(--gold);
}

.rule-wide {
    grid-column: 1 / -1;
}

.rules-penalty {
    border-color: rgba(201, 76, 76, .28);
    border-left-color: #c94c4c;
    background: rgba(201, 76, 76, .07);
}

.rules-penalty > .glyphicon {
    color: #df6b6b;
}

/* Ranking */
.ranking-hero {
    background-position: center 38%;
}

.ranking-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.ranking-filter-item {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 13px 8px;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: #8f9da8;
    background: rgba(16, 23, 29, .82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    text-align: center;
    text-transform: uppercase;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}

.ranking-filter-item:hover,
.ranking-filter-item:focus {
    border-color: rgba(228, 168, 59, .42);
    color: #fff;
    background: rgba(228, 168, 59, .07);
    text-decoration: none;
    transform: translateY(-2px);
}

.ranking-filter-item.active {
    border-color: rgba(228, 168, 59, .58);
    color: var(--gold-light);
    background: linear-gradient(145deg, rgba(228, 168, 59, .16), rgba(228, 168, 59, .055));
    box-shadow: inset 0 0 0 1px rgba(228, 168, 59, .05), 0 8px 25px rgba(0, 0, 0, .16);
}

.ranking-filter-item .glyphicon {
    font-size: 18px;
}

.ranking-card {
    overflow: hidden;
}

.ranking-total {
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: #9eabb5;
    background: rgba(255, 255, 255, .025);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ranking-total .glyphicon {
    margin-right: 5px;
    color: var(--gold-light);
}

.ranking-table {
    margin-bottom: 0;
}

.ranking-table > thead > tr > th {
    white-space: nowrap;
}

.ranking-table > tbody > tr > td {
    height: 62px;
}

.ranking-position {
    width: 92px;
    text-align: center;
}

.ranking-number {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    color: #8f9da8;
    background: rgba(255, 255, 255, .025);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.ranking-podium-1 .ranking-number {
    border-color: rgba(228, 168, 59, .62);
    color: #171006;
    background: linear-gradient(145deg, #f0c765, #b97b19);
    box-shadow: 0 0 20px rgba(228, 168, 59, .2);
}

.ranking-podium-2 .ranking-number {
    border-color: rgba(210, 219, 225, .45);
    color: #182027;
    background: linear-gradient(145deg, #edf2f5, #8d9ba5);
}

.ranking-podium-3 .ranking-number {
    border-color: rgba(190, 113, 65, .48);
    color: #21120b;
    background: linear-gradient(145deg, #d89569, #8f4d2b);
}

.ranking-player {
    color: #edf3f7;
    font-size: 14px;
    font-weight: 700;
}

.ranking-player:hover,
.ranking-player:focus {
    color: var(--gold-light);
    text-decoration: none;
}

.ranking-vocation {
    display: inline-block;
    padding: 5px 8px;
    border: 1px solid rgba(59, 137, 201, .2);
    border-radius: 3px;
    color: #83bbe7;
    background: rgba(59, 137, 201, .07);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.ranking-value {
    color: var(--gold-light);
    font-size: 15px;
}

.ranking-unavailable {
    color: var(--muted);
    font-style: italic;
}

.ranking-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: rgba(4, 8, 12, .24);
}

.ranking-page-link {
    min-width: 112px;
    padding: 9px 13px;
    border: 1px solid rgba(228, 168, 59, .24);
    border-radius: 4px;
    color: var(--gold-light);
    background: rgba(228, 168, 59, .055);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    text-align: center;
    text-transform: uppercase;
}

.ranking-page-link:hover,
.ranking-page-link:focus {
    border-color: rgba(228, 168, 59, .52);
    color: #fff;
    background: rgba(228, 168, 59, .12);
    text-decoration: none;
}

.ranking-page-link.disabled {
    border-color: var(--border);
    color: #52606a;
    background: transparent;
    cursor: not-allowed;
}

.ranking-page-status {
    color: #84929d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

/* Character profile */
.character-hero {
    background-position: center 42%;
}

.character-search-card {
    margin-bottom: 24px;
    padding: 18px;
}

.character-search-form {
    display: flex;
    gap: 12px;
}

.character-search-field {
    position: relative;
    flex: 1;
}

.character-search-field > .glyphicon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;
    color: #73818c;
    transform: translateY(-50%);
}

.character-search-field .form-control {
    height: 46px;
    padding-left: 44px;
    border-color: var(--border);
    color: #edf3f7;
    background: rgba(4, 8, 12, .42);
    box-shadow: none;
}

.character-search-field .form-control:focus {
    border-color: rgba(228, 168, 59, .5);
    box-shadow: 0 0 0 2px rgba(228, 168, 59, .07);
}

.character-search-form .btn {
    min-width: 132px;
}

.character-empty {
    min-height: 280px;
}

.character-profile {
    overflow: hidden;
    margin-bottom: 22px;
}

.character-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 82% 20%, rgba(228, 168, 59, .09), transparent 33%),
        rgba(255, 255, 255, .012);
}

.character-avatar {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 66px;
    border: 1px solid rgba(228, 168, 59, .34);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(228, 168, 59, .08);
    box-shadow: 0 0 32px rgba(228, 168, 59, .09);
    font-size: 25px;
}

.character-identity h2 {
    margin: 3px 0 10px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 33px;
}

.character-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.character-badges span {
    padding: 5px 8px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: #9eabb5;
    background: rgba(255, 255, 255, .025);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.character-badges .staff-badge {
    border-color: rgba(59, 137, 201, .28);
    color: #83bbe7;
    background: rgba(59, 137, 201, .08);
}

.character-badges .banned-badge {
    border-color: rgba(201, 76, 76, .32);
    color: #e47d7d;
    background: rgba(201, 76, 76, .08);
}

.character-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.character-stat {
    position: relative;
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 20px 12px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.character-stat:last-child {
    border-right: 0;
}

.character-stat-icon {
    margin-bottom: 5px;
    color: rgba(228, 168, 59, .58);
    font-size: 15px;
}

.character-stat-label {
    color: #73818c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.character-stat strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 700;
}

.character-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.character-details-card,
.character-skills-card,
.character-list-card {
    overflow: hidden;
}

.character-details {
    margin: 0;
    padding: 10px 27px 20px;
}

.character-details > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.character-details > div:last-child {
    border-bottom: 0;
}

.character-details dt {
    color: #75838e;
    font-size: 10px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.character-details dd {
    margin: 0;
    color: #dbe3e8;
    font-weight: 700;
    text-align: right;
}

.character-ban-alert {
    display: flex;
    gap: 13px;
    margin: 0 24px 24px;
    padding: 15px;
    border: 1px solid rgba(201, 76, 76, .3);
    border-left: 3px solid #c94c4c;
    border-radius: 4px;
    color: #bfc8ce;
    background: rgba(201, 76, 76, .07);
}

.character-ban-alert > .glyphicon {
    margin-top: 3px;
    color: #df6b6b;
}

.character-ban-alert strong {
    color: #fff;
}

.character-ban-alert p {
    margin: 3px 0 0;
}

.character-skills {
    padding: 20px 27px 27px;
}

.character-skill {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 15px;
    margin-bottom: 15px;
}

.character-skill:last-child {
    margin-bottom: 0;
}

.character-skill > span {
    color: #a8b4bd;
    font-size: 12px;
}

.character-skill > strong {
    color: var(--gold-light);
}

.character-skill-bar {
    grid-column: 1 / -1;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, .065);
}

.character-skill-bar > span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #9d681a, var(--gold-light));
}

.character-list-empty {
    padding: 38px 25px;
    color: #71808a;
    text-align: center;
}

.character-death-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.character-death-item:last-child {
    border-bottom: 0;
}

.death-icon {
    color: #c96363;
}

.character-death-item > div {
    flex: 1;
}

.character-death-item strong {
    color: #dfe6ea;
}

.character-death-item p {
    margin: 2px 0 0;
    color: #7f8d97;
    font-size: 12px;
}

.character-death-item time {
    color: #687680;
    font-size: 10px;
    white-space: nowrap;
}

.character-account-list a {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 17px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    color: #dfe6ea;
}

.character-account-list a:last-child {
    border-bottom: 0;
}

.character-account-list a:hover,
.character-account-list a:focus {
    color: var(--gold-light);
    background: rgba(255, 255, 255, .02);
    text-decoration: none;
}

.character-account-list .glyphicon {
    color: #72808a;
}

.character-account-list strong {
    color: #82909a;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* Account Manager notice */
.account-manager-section {
    position: relative;
    z-index: 3;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    background: #080d11;
}

.account-manager-notice {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(520px, 1.6fr) auto;
    align-items: center;
    gap: 28px;
    padding: 25px 27px;
    border: 1px solid rgba(228, 168, 59, .3);
    border-left: 4px solid var(--gold);
    border-radius: 6px;
    background:
        radial-gradient(circle at 90% 20%, rgba(228, 168, 59, .08), transparent 28%),
        linear-gradient(135deg, rgba(228, 168, 59, .075), rgba(14, 21, 27, .96) 45%);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

.account-manager-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.account-manager-icon {
    margin-top: 3px;
    color: var(--gold-light);
    font-size: 25px;
}

.account-manager-heading h2 {
    margin: 3px 0 7px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.15;
}

.account-manager-heading p {
    margin: 0;
    color: #98a6b0;
    font-size: 12px;
    line-height: 1.55;
}

.account-manager-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-manager-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 76px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;
    background: rgba(3, 7, 10, .25);
}

.account-step-number {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    border: 1px solid rgba(228, 168, 59, .4);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.account-manager-steps strong {
    display: block;
    margin-bottom: 3px;
    color: #e7edf1;
    font-size: 11px;
}

.account-manager-steps p {
    margin: 0;
    color: #7f8d97;
    font-size: 10px;
    line-height: 1.45;
}

.account-manager-steps code {
    padding: 1px 4px;
    border: 1px solid rgba(228, 168, 59, .17);
    color: var(--gold-light);
    background: rgba(228, 168, 59, .06);
}

.account-manager-notice > .btn {
    white-space: nowrap;
}

/* Latest deaths */
.deaths-hero {
    background-position: center 52%;
}

.deaths-card {
    overflow: hidden;
}

.deaths-table {
    margin-bottom: 0;
}

.deaths-table > tbody > tr > td {
    height: 64px;
}

.death-order {
    width: 72px;
    text-align: center;
}

.death-order-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 76, 76, .22);
    border-radius: 50%;
    color: #c87878;
    background: rgba(201, 76, 76, .055);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.death-level {
    color: var(--gold-light);
}

.death-killer-icon {
    width: 19px;
    color: #a95d5d;
}

.death-time {
    color: #87949e;
    font-size: 12px;
    white-space: nowrap;
}

.deaths-footer {
    padding: 15px 22px;
    border-top: 1px solid var(--border);
    color: #687680;
    background: rgba(4, 8, 12, .24);
    font-size: 10px;
    letter-spacing: .045em;
    text-align: right;
    text-transform: uppercase;
}

.deaths-footer .glyphicon {
    margin-right: 5px;
    color: var(--gold-light);
}

@media (max-width: 991px) {
    .page-hero {
        padding: 60px 0 55px;
    }

    .download-grid,
    .shop-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .ranking-filter {
        grid-template-columns: repeat(3, 1fr);
    }

    .character-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .character-stat:nth-child(2) {
        border-right: 0;
    }

    .character-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .character-content-grid {
        grid-template-columns: 1fr;
    }

    .account-manager-notice {
        grid-template-columns: 1fr;
    }

    .account-manager-notice > .btn {
        justify-self: start;
    }

    .featured-download,
    .rule-wide {
        grid-column: auto;
    }

    .promo-card {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 48px 0 44px;
    }

    .page-hero h1 {
        font-size: 35px;
    }

    .inner-page {
        padding-top: 28px;
    }

    .download-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-card .btn {
        width: 100%;
    }

    .rate-highlight {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-toolbar,
    .data-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .ranking-filter {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-filter-item {
        min-height: 66px;
    }

    .ranking-card-header {
        padding: 21px 19px 18px;
    }

    .ranking-pagination {
        flex-wrap: wrap;
        padding: 16px;
    }

    .ranking-page-status {
        width: 100%;
        order: -1;
        text-align: center;
    }

    .ranking-page-link {
        min-width: 0;
        flex: 1;
    }

    .character-search-form {
        flex-direction: column;
    }

    .character-search-form .btn {
        width: 100%;
    }

    .character-profile-header {
        align-items: flex-start;
        padding: 22px 19px;
    }

    .character-avatar {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 20px;
    }

    .character-identity h2 {
        font-size: 25px;
    }

    .character-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .character-stat {
        min-height: 108px;
    }

    .character-stat strong {
        font-size: 17px;
    }

    .character-details {
        padding-right: 19px;
        padding-left: 19px;
    }

    .character-death-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .character-death-item time {
        width: 100%;
        padding-left: 30px;
    }

    .account-manager-section {
        padding: 20px 0;
    }

    .account-manager-notice {
        gap: 20px;
        padding: 21px 18px;
    }

    .account-manager-steps {
        grid-template-columns: 1fr;
    }

    .account-manager-steps li {
        min-height: 0;
    }

    .account-manager-notice > .btn {
        width: 100%;
    }

    .deaths-card .data-card-header {
        padding-right: 19px;
        padding-left: 19px;
    }

    .shop-item-card {
        min-height: 0;
    }

    .shop-item-image {
        flex-basis: 92px;
    }

    .shop-item-image img {
        max-width: 66px;
        max-height: 80px;
    }

    .spell-legend {
        flex-wrap: wrap;
    }

    .guild-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .guild-count {
        width: 100%;
        margin-left: 65px;
    }

    .page-notice,
    .rules-penalty {
        padding: 17px;
    }
}
