﻿  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            min-height: 100%;
            font-family: Arial, Helvetica, sans-serif;
            background: #ececec;
            color: #fff;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul,
        li {
            list-style: none;
        }

        .page {
            width: 100%;
            overflow-x: hidden;
            background: #ececec;
        }

        .topbar {
            width: 100%;
            height: 86px;
            background: linear-gradient(to bottom, #000000 0%, #000000 100%);
            border-bottom: 1px solid rgba(255, 255, 255, .08);
            position: relative;
            z-index: 20;
        }

        .topbar-inner {
            width: 1200px;
            height: 86px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .brand-logo {
            width: 68px;
            height: 68px;
            border-radius: 14px;
            background: url('/placeholders/logo.png');
              background-size: cover;
        }

        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }

        .brand-title {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
        }

        .brand-subtitle {
            margin-top: 6px;
            font-size: 12px;
            color: rgba(255, 255, 255, .78);
        }

        .top-nav {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .top-nav a {
            min-width: 118px;
            padding: 0 16px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 400;
            color: #d9e8ff;
        }

        .top-nav a.active {
            color: #ff6b3c;
        }

        .top-follow {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #fff;
        }

        .top-follow-text {
            font-size: 12px;
            line-height: 1.3;
            text-align: right;
            color: rgba(255, 255, 255, .9);
        }

        .follow-icons {
            display: flex;
            gap: 10px;
        }

        .follow-icon {
            width: 34px;
            height: 34px;
            border: 2px solid #f05a2a;
            border-radius: 8px;
            position: relative;
        }

        .follow-icon::before {
            content: "";
            position: absolute;
            inset: 8px;
            border-radius: 4px;
            background: rgba(240, 90, 42, .9);
        }

        .hero {
            width: 100%;
            min-height: 980px;
            position: relative;
            background: url('/assets/images/main-pattern.png') center top no-repeat #fff;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 20% 24%, rgba(255, 40, 0, .18), transparent 18%),
                radial-gradient(circle at 78% 22%, rgba(255, 40, 0, .2), transparent 16%),
                radial-gradient(circle at 13% 58%, rgba(255, 40, 0, .18), transparent 10%),
                radial-gradient(circle at 86% 54%, rgba(255, 40, 0, .14), transparent 10%);
            opacity: .9;
        }

        .hero-inner {
            width: 1200px;
            margin: 0 auto;
            position: relative;
            padding-top: 26px;
        }

        .season-badge {
            width: 140px;
            height: 42px;
            margin: 0 auto;
            background: linear-gradient(to bottom, #f1ead6, #c7bba1);
            color: #3c3428;
            border: 3px solid #4e4331;
            border-radius: 4px;
            box-shadow: 0 4px 0 rgba(0, 0, 0, .18);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            letter-spacing: 2px;
            position: relative;
            z-index: 3;
        }

        .hero-art {
            position: relative;
            height: 340px;
            margin-top: 8px;
        }

        .hero-art .char {
            position: absolute;
            bottom: 0;
            width: 430px;
            height: 330px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center bottom;
            z-index: 2;
            filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
        }

        .hero-art .char-left {
            left: 180px;
            background-image: url('/assets/images/hero-left.png');
        }

        .hero-art .char-right {
            right: 160px;
            background-image: url('/assets/images/hero-right.png');
        }

        .hero-center-logo {
            position: absolute;
            left: 50%;
            top: 78px;
            transform: translateX(-50%);
            width: 390px;
            text-align: center;
            z-index: 4;
        }

        .hero-center-logo .main-logo {
            font-size: 78px;
            font-weight: 900;
            line-height: 0.95;
            color: #f2f0eb;
            text-shadow:
                -3px -3px 0 #111,
                3px -3px 0 #111,
                -3px 3px 0 #111,
                3px 3px 0 #111,
                0 8px 22px rgba(0, 0, 0, .55);
            letter-spacing: 2px;
            transform: rotate(-4deg);
        }

        .hero-center-logo .sub-logo {
            margin-top: 10px;
            display: inline-block;
            padding: 8px 20px;
            border: 2px solid #60462a;
            border-radius: 999px;
            background: linear-gradient(to bottom, #241510, #110a08);
            color: #dfc29a;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: 8px;
        }

        .hero-center-logo .game-type {
            margin-top: 14px;
            display: flex;
            justify-content: center;
            gap: 8px;
        }

        .hero-center-logo .game-type span {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(to bottom, #38170f, #130806);
            border: 2px solid #9f3f1d;
            color: #ff531b;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            box-shadow: 0 0 18px rgba(255, 80, 20, .16);
        }

        .hero-center-logo .cta {
            margin: 16px auto 0;
            width: 160px;
            height: 46px;
            border: 2px solid #612308;
            background: linear-gradient(to bottom, #ff9d2e, #df4f14);
            color: #fff7eb;
            font-size: 22px;
            font-weight: 800;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 16px rgba(0, 0, 0, .26);
        }

        .red-tag {
            position: absolute;
            top: 54px;
            width: 30px;
            height: 146px;
            background: linear-gradient(to bottom, #a71010, #780909);
            border: 2px solid #240000;
            color: #150000;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-weight: 700;
            font-size: 20px;
            letter-spacing: 2px;
            text-align: center;
            color: #120000;
            box-shadow: 0 10px 18px rgba(0, 0, 0, .28);
            z-index: 4;
        }

        .red-tag.left {
            left: 342px;
        }

        .red-tag.right {
            right: 326px;
        }

        .main-showcase {
            width: 1110px;
            margin: 10px auto 0;
            display: flex;
            align-items: stretch;
            gap: 18px;
            position: relative;
            z-index: 5;
        }

        .download-box {
          width: 230px;
   height: fit-content;
    padding: 14px 14px 18px;
    border: 4px solid #232f4c;
    border-radius: 10px;
    box-shadow: 0 0 0 3px #8a6f42, 0 14px 28px rgba(0, 0, 0, .35);
    position: relative;
    background: url(/assets/images/user.png);
    background-position: bottom;
    display: flex;
    flex-direction: column;
        }

        .download-box::before,
        .download-box::after {
            content: "";
            position: absolute;
            width: 26px;
            height: 26px;
            border: 4px solid #9f7a3a;
            border-radius: 50%;
            opacity: .9;
        }

        .download-box::before {
            left: -14px;
            bottom: -14px;
            border-right-color: transparent;
            border-top-color: transparent;
            transform: rotate(20deg);
        }

        .download-box::after {
            right: -14px;
            bottom: -14px;
            border-left-color: transparent;
            border-top-color: transparent;
            transform: rotate(-20deg);
        }

        .download-auth-title {
            margin: 4px 0 10px;
            font-size: 20px;
            color: #ffe7d1;
            text-shadow: 0 2px 6px rgba(0, 0, 0, .32);
        }

        .download-auth-form {
            margin-top: 2px;
        }

        .download-auth-row {
            margin-bottom: 10px;
        }

        .download-auth-row label {
            display: block;
            margin-bottom: 4px;
            font-size: 13px;
            color: rgba(255, 239, 224, .96);
        }

        .download-auth-row input {
            width: 100%;
            height: 38px;
            border: 1px solid rgba(249, 219, 190, .42);
            border-radius: 7px;
            background: rgba(14, 17, 24, .82);
            color: #fff;
            padding: 0 10px;
        }

        .download-auth-remember {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-size: 12px;
            color: rgba(255, 233, 212, .92);
        }

        .download-auth-remember input {
            width: 14px;
            height: 14px;
        }

        .download-auth-submit {
            margin-top: 12px;
            border: 0;
            cursor: pointer;
        }

        .download-user-head {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .download-user-avatar-frame {
            width: 78px;
            height: 78px;
            padding: 5px;
            border: 2px solid #c89a63;
            border-radius: 8px;
            background: rgba(12, 16, 26, .76);
            box-shadow: inset 0 0 0 1px rgba(255, 244, 221, .28);
            flex-shrink: 0;
        }

        .download-user-avatar {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
            background: #101420;
            border: 1px solid rgba(255, 233, 200, .25);
        }

        .download-user-meta {
            min-width: 0;
        }

        .user-links {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            background: none;
            margin-top: 0 !important;
        }

        .user-links > a {
            font-size: 13px !important;
            margin-top: 0 !important;
            background: none !important;
            font-weight: 400 !important;
        }

        .download-user-name {
            display: block;
            font-size: 16px;
            line-height: 1.1;
            color: #ffe5ca;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .download-user-last-label {
            display: block;
            margin-top: 6px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: rgba(244, 222, 194, .74);
        }

        .download-user-last-value {
            display: block;
            margin-top: 3px;
            font-size: 12px;
            color: rgba(255, 236, 215, .94);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .download-user-links {
            margin-top: auto;
        }

        .download-user-links .store-btn {
            height: auto;
            min-height: 30px;
            margin-top: 0;
            padding: 4px 0;
            justify-content: flex-start;
            background: none !important;
            border: 0 !important;
            box-shadow: none !important;
            color: rgba(255, 241, 224, .95);
            font-size: 14px;
            font-weight: 600;
            letter-spacing: .1px;
        }

        .download-user-links .user-link-item::before {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            min-width: 18px;
            margin-right: 8px;
            text-align: center;
            font-size: 15px;
            line-height: 1;
            color: #3f97ff;
        }

        .download-user-links .user-link-recharge::before {
            content: "+";
        }

        .download-user-links .user-link-launcher::before {
            content: "\2193";
        }

        .download-user-links .user-link-password::before {
            content: "*";
        }

        .download-user-links .user-link-logout::before {
            content: "\2190";
        }

        .download-user-links .user-link-admin::before {
            content: "#";
        }

        .download-auth-note {
            margin-top: 2px;
            margin-bottom: auto;
            font-size: 13px;
            line-height: 1.45;
            color: rgba(255, 237, 220, .9);
        }

        .download-errors {
            display: none;
            margin-bottom: 10px;
            border-radius: 8px;
            background: rgba(161, 40, 40, .35);
            border: 1px solid rgba(255, 125, 125, .5);
            color: #ffdede;
            padding: 8px 10px;
            font-size: 12px;
        }

        .download-errors.open {
            display: block;
        }

        .download-errors ul {
            margin: 0;
            padding-left: 16px;
        }

        .qr {
            width: 150px;
            height: 150px;
            margin: 8px auto 14px;
            border: 8px solid #d9dde5;
            background:
                url('/assets/images/qr-code.png') center/cover no-repeat,
                repeating-linear-gradient(45deg, #000 0 8px, #fff 8px 16px);
        }

        .store-btn {
            width: 100%;
            height: 46px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 18px;
            margin-top: 10px;
                background: url(/assets/images/buttons.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
        }

        .store-btn.apple {
        }

        .store-btn.android {
            background: linear-gradient(to bottom, #111923, #05080d);
            border: 1px solid rgba(255, 255, 255, .08);
            color: #fff;
        }

        .showcase-slider {
            flex: 1;
            height: 294px;
            border: 4px solid #1e293f;
            background:
                linear-gradient(135deg, rgba(255, 177, 58, .28), rgba(171, 49, 20, .18)),
                url('/assets/images/banner-main.jpg') center/cover no-repeat,
                #2d1e16;
            position: relative;
            overflow: hidden;
            box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
        }

        .showcase-slider::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 26% 40%, rgba(255, 255, 255, .14), transparent 22%),
                linear-gradient(to right, rgba(255, 255, 255, .02), rgba(0, 0, 0, .16));
        }

        .showcase-title {
            position: absolute;
            left: 84px;
            top: 50px;
            font-size: 68px;
            line-height: .95;
            font-weight: 900;
            color: #ff8f16;
            text-shadow:
                -3px -3px 0 #fff8df,
                3px -3px 0 #fff8df,
                -3px 3px 0 #fff8df,
                3px 3px 0 #fff8df,
                0 10px 20px rgba(0, 0, 0, .25);
            transform: rotate(-8deg);
            white-space: nowrap;
        }

        .showcase-sub {
            position: absolute;
            left: 160px;
            top: 185px;
            color: #fbead6;
            font-size: 24px;
            font-weight: 700;
            text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
        }

        .showcase-character {
            position: absolute;
            right: 20px;
            bottom: 0;
            width: 420px;
            height: 290px;
            background: url('/assets/images/banner-character.png') center bottom/contain no-repeat;
            filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4));
        }

        .slider-footer {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 42px;
            background: rgba(24, 24, 32, .78);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 34px;
            color: rgba(255, 255, 255, .88);
            font-size: 14px;
        }

        .slider-footer span {
            position: relative;
        }

        .slider-footer span::after {
            content: "";
            position: absolute;
            right: -18px;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 12px;
            background: rgba(255, 255, 255, .18);
        }

        .slider-footer span:last-child::after {
            display: none;
        }

        .side-menu {
            position: absolute;
            top: 374px;
            right: 14px;
            width: 126px;
            background: linear-gradient(to bottom, rgba(29, 54, 92, .94), rgba(10, 21, 42, .96));
            border: 1px solid rgba(116, 146, 204, .18);
            box-shadow: 0 14px 26px rgba(0, 0, 0, .3);
            z-index: 6;
        }

        .side-menu::before {
            content: "";
            display: block;
            height: 14px;
            background: linear-gradient(to bottom, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
        }

        .side-menu a {
            display: block;
            height: 44px;
            line-height: 44px;
            text-align: center;
            font-size: 14px;
            color: #dce8ff;
            border-bottom: 1px solid rgba(255, 255, 255, .05);
        
        }

        .side-menu a.hot {
            color: #ff7242;
            font-weight: 700;
        }

        .side-menu a.back-top {
            color: #5fa2ff;
            font-size: 13px;
        }

        .fixed-download {
            position: absolute;
            top: 728px;
            right: 14px;
            width: 126px;
            z-index: 6;
        }

        .fixed-download a {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 48px;
            background: linear-gradient(to bottom, #394b71, #24334f);
            color: #dbe7ff;
            border: 1px solid rgba(255, 255, 255, .08);
            font-size: 14px;
        }

        .fixed-download a+a {
            margin-top: 1px;
        }

        .content-wrap {
            width: 1200px;
            margin: 28px auto 0;
            padding-bottom: 80px;
            position: relative;
            z-index: 5;
        }

        .section-head {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #5a5a5a;
            margin-bottom: 18px;
        }

        .section-head .icon {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: linear-gradient(to bottom, #ff6f4a, #e14220);
            position: relative;
        }

        .section-head .icon::before {
            content: "";
            position: absolute;
            inset: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .72);
        }

        .section-head h2 {
            font-size: 22px;
            font-weight: 400;
            color: #555;
        }

        .section-head small {
            color: #aaa;
            font-size: 14px;
            letter-spacing: 1px;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 22px;
        }

        .panel {
            min-height: 380px;
            background: #fff;
            border: 1px solid #d5d5d5;
            box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
            position: relative;
            overflow: hidden;
        }

        .panel .panel-topline {
            height: 10px;
            background: linear-gradient(to right, #c22b16, #ff6b2e);
        }

        .news-list {
            padding: 22px 26px 26px;
        }

        .news-list li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            height: 46px;
            border-bottom: 1px dashed #e6e6e6;
            color: #4e4e4e;
            font-size: 15px;
        }

        .news-list li a {
            color: #444;
        }

        .news-list li a:hover {
            color: #d34a22;
        }

        .news-list li span {
            color: #999;
            font-size: 13px;
        }

        .feature-banner {
            width: 100%;
            height: 100%;
            min-height: 370px;
            background:
                linear-gradient(135deg, rgba(255, 153, 59, .2), rgba(190, 57, 21, .12)),
                url('/assets/images/feature-banner.jpg') center/cover no-repeat,
                #f0e5d6;
            position: relative;
        }

        .feature-banner .feature-copy {
            position: absolute;
            left: 34px;
            bottom: 32px;
            font-size: 32px;
            font-weight: 800;
            color: #fff5ea;
            text-shadow: 0 4px 18px rgba(0, 0, 0, .28);
        }

        @media (max-width: 1280px) {

            .topbar-inner,
            .hero-inner,
            .content-wrap {
                width: 1100px;
            }

            .main-showcase {
                width: 1020px;
            }

            .hero-art .char-left {
                left: 130px;
            }

            .hero-art .char-right {
                right: 110px;
            }

            .red-tag.left {
                left: 290px;
            }

            .red-tag.right {
                right: 278px;
            }
        }
/* --- Account area, modals and carousel additions --- */
.top-auth-link,
.top-user-badge {
   display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    background: url(/assets/images/button-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.top-user-badge {
    background: linear-gradient(to bottom, #2d4672, #21375a);
    border-color: rgba(143, 177, 231, .6);
}

.side-menu {
    width: 176px;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 12px;
    background: linear-gradient(to bottom, rgba(255, 121, 56, .3), rgba(19, 30, 50, .9));
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.user-card.guest {
    background: linear-gradient(to bottom, rgba(77, 115, 173, .35), rgba(19, 30, 50, .9));
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 180, 130, .95);
    background: linear-gradient(145deg, #ff8f4e, #cb4122);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}

.user-card.guest .user-avatar {
    border-color: rgba(168, 196, 236, .92);
    background: linear-gradient(145deg, #5477ab, #2a3f62);
}

.user-meta {
    min-width: 0;
    flex: 1;
}

.user-meta strong,
.user-meta span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-meta strong {
    font-size: 13px;
    color: #fff;
}

.user-meta span {
    font-size: 11px;
    color: rgba(230, 236, 255, .82);
    letter-spacing: .6px;
}

.side-menu a {
    height: 40px;
    line-height: 40px;
}

.showcase-slider {
    display: flex;
    flex-direction: column;
    height: 294px;
    border: 4px solid #1e293f;
    background: #0e1522;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
}

.showcase-slider::before {
    display: none;
}

.showcase-track {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #101420;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .42s ease;
}

.showcase-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-66%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 17, 31, .66);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: background .2s ease;
}

.showcase-nav:hover {
    background: rgba(224, 96, 37, .88);
}

.showcase-nav.prev {
    left: 12px;
}

.showcase-nav.next {
    right: 12px;
}

.showcase-meta {
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(to bottom, rgba(27, 35, 52, .98), rgba(17, 24, 39, .98));
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.showcase-post-title {
    color: #f6f2e6;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.showcase-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .35);
    padding: 0;
}

.showcase-dot.is-active {
    background: #ff7c3a;
}

.news-list li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: rgba(7, 10, 18, .78);
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-box {
    width: min(430px, 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 190, 150, .28);
    background: linear-gradient(180deg, rgba(30, 43, 71, .98), rgba(18, 28, 47, .98));
    box-shadow: 0 24px 52px rgba(0, 0, 0, .5);
    padding: 24px;
    position: relative;
}

.modal-box h2 {
    color: #ffe5cf;
    margin: 0 0 14px;
    font-size: 25px;
}

.close-x {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .78);
    font-size: 24px;
    cursor: pointer;
}

.form-row {
    margin-bottom: 12px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    color: rgba(228, 236, 255, .95);
    font-size: 13px;
}

.form-row input {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(165, 186, 222, .44);
    border-radius: 8px;
    background: rgba(11, 18, 32, .7);
    color: #fff;
    padding: 0 12px;
}

.form-row-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.remember-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(208, 217, 238, .95);
    font-size: 12px;
}

.remember-line input {
    width: 14px;
    height: 14px;
}

.btn-primary {
    border: 0;
    border-radius: 8px;
    background: linear-gradient(to bottom, #ff8e4d, #d95427);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    min-width: 108px;
    height: 40px;
    cursor: pointer;
}

.btn-primary.full {
    width: 100%;
}

.modal-errors {
    display: none;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(161, 40, 40, .35);
    border: 1px solid rgba(255, 125, 125, .5);
    color: #ffdede;
    padding: 10px 12px;
}

.modal-errors.open {
    display: block;
}

.modal-errors ul {
    margin: 0;
    padding-left: 18px;
}

.switch-link {
    margin-top: 6px;
    color: rgba(209, 219, 239, .86);
    font-size: 13px;
}

.switch-link a {
    color: #ffb17f;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .topbar-inner,
    .hero-inner,
    .content-wrap {
        width: calc(100% - 36px);
    }

    .main-showcase {
        width: calc(100% - 70px);
    }
}

@media (max-width: 960px) {
    .topbar {
        height: auto;
        padding: 10px 0;
    }

    .topbar-inner {
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .top-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-inner {
        padding-top: 12px;
    }

    .hero-art {
        height: 260px;
    }

    .hero-art .char,
    .red-tag {
        display: none;
    }

    .hero-center-logo {
        top: 20px;
        width: 100%;
    }

    .hero-center-logo .main-logo {
        font-size: 52px;
    }

    .hero-center-logo .sub-logo {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .main-showcase {
        width: 100%;
        flex-direction: row;
        gap: 14px;
    }

    .download-box {
        width: 25%;
        min-height: initial;
        display: block;
    }

    .download-user-head {
        margin-bottom: 10px;
    }

    .store-btn {
        margin-top: 10px;
    }

    .side-menu {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .content-wrap {
        width: 100%;
        margin-top: 18px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .news-list li {
        height: auto;
        min-height: 44px;
        padding: 8px 0;
    }
}

@media (max-width: 560px) {
    .top-nav a {
        min-width: 94px;
        font-size: 14px;
        height: 36px;
    }

    .hero-center-logo .main-logo {
        font-size: 40px;
    }

    .hero-center-logo .sub-logo {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero-center-logo .game-type span {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .hero-center-logo .cta {
        width: 132px;
        height: 40px;
        font-size: 17px;
    }

    .download-box {
        padding: 14px 12px 16px;
    }

    .download-user-head {
        align-items: flex-start;
    }

    .showcase-meta {
        padding: 0 10px;
    }

    .showcase-post-title {
        font-size: 13px;
    }

    .modal-box {
        padding: 20px 16px;
    }
}
