:root {
    --gub1-primary: #902794;
    --gub1-accent: #51b691;
    --gub1-bg: #f3f4f6;
    --gub1-surface: #ffffff;
    --gub1-text: #333333;
    --gub1-text-light: #666666;
    --gub1-border: rgba(144, 39, 148, 0.15);
    --gub1-radius: 8px;
    --gub1-radius-lg: 12px;
    --gub1-font-head: 'Poppins', sans-serif;
    --gub1-font-body: 'Nunito', sans-serif;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--gub1-bg);
    color: var(--gub1-text);
    font-family: var(--gub1-font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gub1-font-head);
    color: var(--gub1-primary);
    margin-top: 0;
}

a {
    color: var(--gub1-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gub1-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* LAYOUT SKELETON */
.gub1-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.gub1-rail {
    background: var(--gub1-surface);
    border-bottom: 2px solid var(--gub1-border);
    z-index: 50;
}

.gub1-logo-wrap {
    padding: 16px 20px;
    background: var(--gub1-primary);
}

.gub1-logo {
    color: #ffffff;
    font-family: var(--gub1-font-head);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gub1-nav-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 20px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gub1-nav-scroll::-webkit-scrollbar { display: none; }

.gub1-nav-item {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--gub1-bg);
    border-radius: var(--gub1-radius);
    color: var(--gub1-text);
}
.gub1-nav-item:hover {
    background: var(--gub1-accent);
    color: #fff;
}

.gub1-main {
    flex-grow: 1;
    min-width: 0;
    padding-bottom: 40px;
}

@media (min-width: 900px) {
    .gub1-layout {
        flex-direction: row;
    }
    .gub1-rail {
        width: 260px;
        flex-shrink: 0;
        height: 100vh;
        position: sticky;
        top: 0;
        border-bottom: none;
        border-right: 2px solid var(--gub1-border);
        display: flex;
        flex-direction: column;
    }
    .gub1-nav-scroll {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        white-space: normal;
        padding: 20px;
    }
    .gub1-nav-item {
        display: block;
        text-align: left;
    }
}

/* COMPONENTS */
.gub1-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gub1-border);
    border-radius: var(--gub1-radius-lg);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gub1-hover-glow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gub1-hover-glow:hover {
    box-shadow: 0 0 15px rgba(81, 182, 145, 0.6);
    transform: translateY(-2px);
}

/* TICKER */
.gub1-ticker-wrap {
    background: var(--gub1-surface);
    border-bottom: 1px solid var(--gub1-border);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}
.gub1-ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: gub1-marquee 25s linear infinite;
}
.gub1-ticker-item {
    display: inline-block;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gub1-text);
}
.gub1-ticker-item::before {
    content: "•";
    color: var(--gub1-accent);
    margin-right: 15px;
}
@keyframes gub1-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* HERO */
.gub1-hero {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.gub1-hero-content {
    text-align: center;
    max-width: 600px;
}
.gub1-hero-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
}
.gub1-hero-desc {
    font-size: 16px;
    color: var(--gub1-text-light);
}
.gub1-hero-img-wrap {
    width: 100%;
    max-width: 800px;
    border-radius: var(--gub1-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(144, 39, 148, 0.2);
}
@media (min-width: 768px) {
    .gub1-hero-title { font-size: 38px; }
}

/* STATS */
.gub1-stats-section {
    padding: 20px;
}
.gub1-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.gub1-stat-card {
    text-align: center;
    padding: 20px 10px;
}
.gub1-stat-val {
    font-size: 28px;
    font-family: var(--gub1-font-head);
    font-weight: 800;
    color: var(--gub1-primary);
    margin-bottom: 5px;
}
.gub1-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gub1-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .gub1-stats-grid { grid-template-columns: repeat(4, 1fr); }
    .gub1-stat-val { font-size: 36px; }
}

/* MASONRY CARDS */
.gub1-games-section, .gub1-related-section {
    padding: 30px 20px;
}
.gub1-section-title {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}
.gub1-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
@media (min-width: 600px) {
    .gub1-masonry { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
.gub1-game-card {
    display: flex;
    flex-direction: column;
    padding: 10px;
    text-decoration: none;
}
.gub1-card-img-wrap {
    border-radius: var(--gub1-radius);
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}
.gub1-card-img-wrap img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gub1-game-card:hover .gub1-card-img-wrap img {
    transform: scale(1.1);
}
.gub1-card-title {
    font-family: var(--gub1-font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--gub1-text);
    margin-bottom: 4px;
}
.gub1-card-sub {
    font-size: 13px;
    color: var(--gub1-text-light);
    margin-bottom: 8px;
}
.gub1-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    background: var(--gub1-accent);
    color: #fff;
    padding: 4px 8px;
    border-radius: 20px;
    align-self: flex-start;
}

/* FEATURES & STEPS */
.gub1-features-section, .gub1-steps-section {
    padding: 30px 20px;
    background: var(--gub1-surface);
}
.gub1-features-grid, .gub1-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .gub1-features-grid, .gub1-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.gub1-feature-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gub1-accent);
}
.gub1-feature-desc {
    font-size: 15px;
    margin: 0;
}
.gub1-step-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.gub1-step-num {
    background: var(--gub1-primary);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gub1-font-head);
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}
.gub1-step-title {
    font-size: 17px;
    margin: 0 0 6px 0;
}
.gub1-step-desc {
    font-size: 14px;
    margin: 0;
    color: var(--gub1-text-light);
}

/* TABLE */
.gub1-compare-section {
    padding: 30px 20px;
}
.gub1-table-wrap {
    overflow-x: auto;
    border-radius: var(--gub1-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.gub1-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    background: var(--gub1-surface);
}
.gub1-compare-table th, .gub1-compare-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gub1-border);
    font-size: 15px;
}
.gub1-compare-table th {
    background: var(--gub1-primary);
    color: #fff;
    font-family: var(--gub1-font-head);
    font-weight: 600;
}
.gub1-compare-table tr:nth-child(even) {
    background: rgba(144, 39, 148, 0.03);
}

/* PAYMENTS */
.gub1-payments-section {
    padding: 30px 20px;
    text-align: center;
}
.gub1-badge-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.gub1-chip {
    background: var(--gub1-surface);
    border: 1px solid var(--gub1-accent);
    color: var(--gub1-accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

/* ARTICLE */
.gub1-article {
    padding: 30px 20px;
    background: var(--gub1-surface);
    border-radius: var(--gub1-radius-lg);
    margin: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    font-size: 16px;
    line-height: 1.8;
}
.gub1-article h2, .gub1-article h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.gub1-article p {
    margin-bottom: 20px;
}
.gub1-article ul, .gub1-article ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
.gub1-article li {
    margin-bottom: 10px;
}

/* BREADCRUMBS & PAGE HEADER */
.gub1-breadcrumbs {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}
.gub1-crumb {
    color: var(--gub1-text-light);
}
.gub1-crumb::after {
    content: "/";
    margin-left: 8px;
    color: var(--gub1-border);
}
.gub1-crumb:last-child::after {
    display: none;
}
.gub1-page-header {
    padding: 10px 20px 20px;
}
.gub1-page-title {
    font-size: 30px;
    margin-bottom: 10px;
}
.gub1-meta-desc {
    font-size: 16px;
    color: var(--gub1-text-light);
    margin: 0;
}

/* FAQ */
.gub1-faq-section {
    padding: 30px 20px;
}
.gub1-faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gub1-faq-item {
    background: var(--gub1-surface);
    border: 1px solid var(--gub1-border);
    border-radius: var(--gub1-radius);
    overflow: hidden;
}
.gub1-faq-q {
    padding: 15px 20px;
    font-family: var(--gub1-font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--gub1-primary);
    cursor: pointer;
    user-select: none;
    background: rgba(144, 39, 148, 0.05);
}
.gub1-faq-a {
    padding: 15px 20px;
    font-size: 15px;
    color: var(--gub1-text);
    border-top: 1px solid var(--gub1-border);
}

/* PAGER */
.gub1-pager {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.gub1-pager-btn {
    flex: 1;
    text-align: center;
    background: var(--gub1-primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--gub1-radius);
    font-weight: 700;
    font-family: var(--gub1-font-head);
}
.gub1-pager-btn:hover {
    background: var(--gub1-accent);
    color: #fff;
}

/* FOOTER */
.gub1-footer {
    padding: 40px 20px 20px;
    background: #222;
    color: #bbb;
    margin-top: 40px;
    text-align: center;
}
.gub1-footer-brand {
    font-family: var(--gub1-font-head);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}
.gub1-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.gub1-footer-links a {
    color: #ddd;
    font-size: 14px;
}
.gub1-footer-links a:hover {
    color: var(--gub1-accent);
}
.gub1-legal {
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.gub1-copyright {
    font-size: 12px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* v2fix-center: 扫查发现内容列未居中（margin 冲突/缺失）*/
article.gub1-article,
footer.gub1-footer,
header.gub1-page-header,
section.gub1-compare-section,
section.gub1-faq-section,
section.gub1-features-section,
section.gub1-games-section,
section.gub1-hero,
section.gub1-payments-section,
section.gub1-related-section,
section.gub1-stats-section,
section.gub1-steps-section
{margin-inline:auto !important;}
