:root {
    --primary: #ffce00;
    --primary-dim: rgba(255, 206, 0, 0.1);
    --secondary: #ff9d00;
    --accent: #d000ff;
    --galaxy: linear-gradient(135deg, #00f2ff, #fff, #ffce00, #fff, #00f2ff);
    --background: #0d0605;
    --surface: #1a0f0d;
    --glass: rgba(30, 15, 10, 0.6);
    --glass-border: rgba(255, 206, 0, 0.2);
    --text: #ffffff;
    --text-dim: #d1b8b0;
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --ultimate-supreme-gradient: linear-gradient(180deg,
            #ff0000, #ff7200, #ffb400,
            /* Legend Colors */
            #ff9b00, #ff0099,
            /* Premium Colors */
            #a362d6, #5d70f9
            /* Patron Colors */
        );
    --rainbow-gradient: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    --patron-gradient: linear-gradient(90deg, #faff00, #ff9b00, #ff0099);
}

@keyframes galaxy-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translate(100%, 100%) rotate(45deg);
        opacity: 0;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    /* 适配 Minecraft 截图，通常主体在中上部 */
    filter: brightness(0.4);
    transition: object-position 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 70px;
    /* 固定导航栏高度 */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    height: 110px;
    /* 图标放大，超出导航栏高度形成溢出效果更高级 */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 206, 0, 0.4));
    transition: 0.3s;
    margin-top: 10px;
    /* 稍微下移一点点 */
}

.server-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 50px;
    /* 减少顶部偏移以便更好居中内容 */
}

.hero-logo-img {
    max-width: 650px;
    /* 稍微调大一点 */
    width: 95%;
    height: auto;
    margin-bottom: -5rem;
    /* 拉近约 70px */
    filter: drop-shadow(0 0 30px rgba(255, 206, 0, 0.4));
    animation: heroLogoFade 1.5s ease-out;
}

@keyframes heroLogoFade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.glitch {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    /* 再次减少间距 */
    max-width: 600px;
}

.promo-text {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Server Status Bar */
.server-status {
    display: flex;
    gap: 2rem;
    background: var(--glass);
    padding: 1.5rem 3rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-item .label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.status-item .value {
    font-weight: 700;
    color: var(--primary);
}

.ip-copy {
    cursor: pointer;
    transition: 0.3s;
}

.ip-copy:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--primary);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass);
}

/* Features */
.features {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--glass);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* Community Redesign */
.community {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.community-box {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: rgba(30, 15, 10, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem 2rem;
    overflow: hidden;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 206, 0, 0.05), transparent 70%);
    animation: rotateGlow 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.community-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.community-content h2 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.community-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.community-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-join {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 900;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 206, 0, 0.4);
}

.btn-join:hover {
    transform: translateY(-5px) scale(1.05);
    background: #fff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-join .icon {
    font-size: 1.5rem;
}

.group-id {
    color: var(--text-dim);
    font-size: 0.85rem;
    opacity: 0.6;
    letter-spacing: 2px;
}

/* About Section & Tabs */
.about-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary);
    background: var(--glass);
    border-bottom: 2px solid var(--primary);
}

.tab-content {
    padding: 3rem;
    min-height: 200px;
}

.content-pane {
    display: none;
    line-height: 1.8;
    color: #f0e6d2;
    /* 暖白色，更易阅读 */
}

.content-pane strong {
    color: var(--primary);
    font-weight: 700;
}

.content-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.content-pane ul {
    list-style: none;
}

.content-pane li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-pane li::before {
    content: "◈";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Store Section */
.store-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin: 4rem 0 2rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* 增加最小宽度，使其显得更宽 */
    gap: 2.5rem;
    margin: 0 auto 4rem;
    max-width: 1250px;
    /* 进一步放宽容器，使三个并排时更舒展 */
    justify-content: center;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    color: var(--text);
    /* 确保文字颜色为白色 */
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
    /* 纯白色背景 */
}

.product-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    /* 金黄色高亮 */
    margin-bottom: 1.5rem;
}

.product-card .badge,
.item-card .badge,
.special-bundle .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #000;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    z-index: 5;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.product-card.hot {
    border: 1px solid var(--secondary);
    box-shadow: 0 0 30px rgba(255, 206, 0, 0.1);
}

.product-card.legend {
    border: 1px solid var(--primary);
    background: linear-gradient(145deg, rgba(0, 242, 255, 0.05), rgba(0, 0, 0, 0.2));
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
}

.perks {
    list-style: none;
    margin: 1.5rem 0 2rem;
    text-align: left;
    flex-grow: 1;
}

.perks li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.perks li::before {
    content: "✦";
    color: var(--primary);
}

/* Items Grid Reborn */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto 4rem;
    max-width: 1250px;
}

.item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 20px;
    text-align: left;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    backdrop-filter: blur(5px);
    /* Added backdrop-filter */
    will-change: transform, background;
    /* Added will-change */
}

.item-card::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 4px 0 0 0 var(--primary);
    transition: 0.3s;
    z-index: 2;
}

.item-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 206, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.item-card:hover::before {
    width: 6px;
    background: var(--primary);
}

/* Rarity Accents */
.item-card.rare::before {
    background: #ff9d00;
}

.item-card.premium::before,
.item-card.expensive::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

.item-card.expensive::before {
    box-shadow: inset 4px 0 0 0 #ff4d4d, 0 0 20px rgba(255, 77, 77, 0.2);
}

.item-card.premium::before {
    background: var(--ultimate-supreme-gradient);
    background-size: 100% 300%;
    animation: supreme-flow 6s linear infinite;
    -webkit-mask-image: linear-gradient(to right, #000 4px, transparent 4px);
    mask-image: linear-gradient(to right, #000 4px, transparent 4px);
    filter: brightness(1.2);
}

@keyframes supreme-flow {
    0% {
        background-position: 50% 0%;
    }

    50% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 50% 0%;
    }
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.item-card.premium {
    position: relative;
    overflow: hidden;
}

.item-card.premium::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 60%,
            transparent 100%);
    background-size: 250% 250%;
    background-position: 200% 0;
    animation: card-shimmer 4s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes card-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

.item-card.premium:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 50px var(--gold-glow), inset 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.03);
}

.item-card.expensive:hover {
    border-color: #ff4d4d;
    box-shadow: 0 15px 40px rgba(255, 77, 77, 0.2);
}

.item-card.limited:hover {
    border-color: rgba(255, 77, 77, 0.4);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

.item-card.rare .card-badge {
    background: #ff9d00;
    color: #000;
}

.item-card.premium .card-badge {
    background: #00f2ff;
    color: #000;
}

.item-card.highlight .card-badge {
    background: var(--primary);
    color: #000;
}

.item-card.limited .card-badge {
    background: #ff4d4d;
    color: #fff;
}

.item-card h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.item-card .desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.buy-btn-small {
    background: var(--primary);
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 206, 0, 0.2);
}

.buy-btn-small:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Special Bundle */
.special-bundle {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.1), rgba(255, 206, 0, 0.1));
    border: 1px solid var(--primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bundle-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 5px 20px;
    border-radius: 0 0 10px 10px;
    font-weight: 900;
    font-size: 0.8rem;
}

.bundle-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    margin: 1.5rem 0;
}

.btn-buy {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: none;
    background: var(--secondary);
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: auto;
    /* 确保按钮在卡片底部 */
}

.btn-buy:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 206, 0, 0.4);
}

/* Modal / Map */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: #000;
    border: 2px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.map-iframe {
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bundle Banner (Special Offer) */
.bundle-banner {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem 2rem;
    position: relative;
    margin: 4rem auto;
    max-width: 1250px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: 0.4s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.bundle-banner:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 206, 0, 0.15);
}

.rainbow-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(180deg,
            #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff00ff, #ff0000);
    background-size: 100% 400%;
    animation: rainbowShift 6s linear infinite;
    box-shadow: 2px 0 15px rgba(255, 255, 255, 0.1);
}

@keyframes rainbowShift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}

/* Sponsor Storefront Layout */
.vending-container {
    padding-top: 120px !important;
    max-width: 1400px;
    margin: 0 auto;
}

.shop-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Email Input Section */
.email-lock-section {
    max-width: 500px;
    margin: 0 auto 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.email-lock-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.email-input-group {
    display: flex;
    gap: 10px;
}

.email-input-group input {
    flex-grow: 1;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.email-input-group input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Shop Grid and Cards */
.shop-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.shop-tab-btn {
    padding: 12px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-dim);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.shop-tab-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 206, 0, 0.3);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.p-modal-content {
    background: #ffffff;
    /* Premium white background */
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 620px;
    height: auto;
    min-height: 320px;
    max-height: 90vh;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    /* Softer shadow for light theme */
    margin: auto;
    color: #222;
    /* Darker text for readability */
}

.modal-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.shop-item-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
}

.shop-item-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.shop-item-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.shop-item-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.shop-item-price span {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 400;
}

.buy-btn-container {
    margin-top: auto;
}

.btn-sponsor {
    width: 100%;
    padding: 1.1rem;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    text-align: center;
    border-radius: 14px;
    font-weight: 900;
    font-size: 1.1rem;
    transition: 0.3s;
    display: block;
    cursor: pointer;
    border: none;
}

/* Loading Spinner */
.loading-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.btn-sponsor.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Modal for In-Site Purchase */
.p-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.p-modal.active {
    display: flex;
}

.p-modal-content {
    width: 98%;
    max-width: 1400px;
    /* Much wider for horizontal layout */
    height: 90vh;
    background: #111;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.p-modal-header {
    padding: 1rem 2rem;
    background: #1a1a1a;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-p-modal {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-modal-iframe {
    flex-grow: 1;
    border: none;
    width: 100%;
    height: 100%;
    /* Horizontal Layout Fix:
       Reset zoom to 1.0 to ensure the internal width stays above the desktop breakpoint (~1200px).
    */
    zoom: 1.0;
    transform: none;
    background: transparent;
}

/* Loading Spinner */
.iframe-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 206, 0, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.bundle-price-tag {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
}

.bundle-price-tag .currency {
    font-size: 1.5rem;
    margin-right: 5px;
}

.btn-buy-full {
    width: 100%;
    padding: 1.2rem;
    margin-top: 2rem;
    background: var(--secondary);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}

.btn-buy-full:hover {
    background: var(--primary);
    transform: scale(1.01);
    box-shadow: 0 5px 30px rgba(255, 206, 0, 0.4);
}

.footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    border-top: 1px solid var(--glass-border);
}

/* Gallery / Carousel Section (Fade Transition) */
.gallery {
    padding: 80px 10%;
    position: relative;
    z-index: 1;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    /* Increased from 1000px */
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    background: var(--glass);
    height: 650px;
    /* Increased from 560px */
}

.carousel-track-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-indicator.active {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 15px var(--primary);
}

/* Membership Text Gradients */
:root {
    --patron-txt-gradient: linear-gradient(90deg, #ff5b94, #a362d6, #5d70f9);
    --premium-txt-gradient: linear-gradient(90deg, #faff00, #ff9b00, #ff0099);
    --legend-txt-gradient: linear-gradient(90deg, #ff0000, #ff7200, #ffb400);
}

.product-card.patron-theme h3,
.product-card.premium-theme h3,
.product-card.legend-theme h3 {
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
    display: inline-block;
    font-weight: 900;
}

@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }

    .server-status {
        flex-direction: column;
        border-radius: 20px;
    }

    .nav-links {
        display: none;
    }

    .carousel-container {
        height: 350px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* --- Forum Enhanced Styles --- */
.forum-container {
    max-width: 1600px;
    margin: 100px auto 100px;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.category-filter-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    will-change: transform;
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: #ffce00;
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 206, 0, 0.3);
}

.forum-breadcrumb {
    grid-column: 1 / -1;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
}

.forum-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

.forum-breadcrumb a:hover {
    text-decoration: underline;
}

.forum-header-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    will-change: transform;
}

.forum-search-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 25px;
    width: 400px;
    transition: 0.3s;
}

.forum-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 206, 0, 0.2);
}

.forum-search-bar input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.thread-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thread-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(15px);
}

.thread-item:hover {
    transform: translateX(10px) scale(1.02);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* .thread-avatar removed */

.thread-content {
    flex: 1;
}

.thread-top-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.badge {
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.badge-official {
    background: linear-gradient(135deg, #ff4d4d, #b30000);
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
    color: #fff;
}

.badge-hot {
    background: #ff9800;
    color: #fff;
}

.badge-normal {
    background: linear-gradient(135deg, #a88beb, #4e4376);
    box-shadow: 0 4px 15px rgba(168, 139, 235, 0.3);
    color: #fff;
}

.badge-recruit {
    background: linear-gradient(135deg, #00ff87, #00a050);
    box-shadow: 0 4px 15px rgba(0, 255, 135, 0.3);
    color: #000;
}

.badge-qa {
    background: linear-gradient(135deg, #6e8efb, #4a00e0);
    box-shadow: 0 4px 15px rgba(110, 142, 251, 0.4);
    color: #fff;
}

.badge-suggest {
    background: linear-gradient(135deg, #fceabb, #f8b500);
    box-shadow: 0 4px 15px rgba(248, 181, 0, 0.4);
    color: #000;
}

/* Category Select Styling */
.post-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ccc' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1.2rem) center;
}

.post-select:focus {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.06);
    outline: none;
}

.post-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.thread-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    transition: 0.3s;
}

.thread-item:hover .thread-title {
    color: var(--primary);
}

.thread-meta {
    font-size: 0.9rem;
    color: var(--text-dim);
    display: flex;
    gap: 15px;
}


.forum-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(20px);
}

.sidebar-widget h4 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-list-mini {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-item-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    transition: 0.3s;
}

.user-item-mini:hover {
    background: rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

/* .user-avatar-mini removed */

.post-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: 0.3s;
}

.post-modal.show {
    display: flex;
    opacity: 1;
}

.post-modal-content {
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    width: 90%;
    max-width: 800px;
    padding: 3.5rem;
    position: relative;
    box-shadow: 0 0 100px rgba(255, 206, 0, 0.1);
    transform: translateY(30px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post-modal.show .post-modal-content {
    transform: translateY(0);
}

.post-modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.post-modal-close:hover {
    opacity: 1;
    color: var(--primary);
}

.post-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-input,
.post-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.2rem;
    color: #fff;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.post-textarea {
    height: 250px;
    resize: none;
    line-height: 1.6;
}

.post-input:focus,
.post-textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    box-shadow: 0 0 20px rgba(255, 206, 0, 0.1);
}

#viewContent {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.moderation-msg {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.cooldown-info {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-align: right;
}

@media (max-width: 1100px) {
    .forum-container {
        grid-template-columns: 1fr;
    }

    .forum-sidebar {
        display: none;
    }
}

/* --- Enhanced Forum Buttons --- */
.btn-post {
    background: var(--gold-gradient);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 206, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-size: 200% auto;
    animation: galaxy-glow-btn 5s linear infinite;
}

.btn-post::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: rotate(45deg);
    transition: 0.6s;
    pointer-events: none;
}

.btn-post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 206, 0, 0.5);
    color: #000;
}

.btn-post:hover::before {
    left: 100%;
}

@keyframes galaxy-glow-btn {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- NEW: Authentication & User Profile --- */
.nav-user-area {
    display: flex;
    align-items: center;
}

.btn-nav-login {
    background: none;
    color: var(--text-dim);
    padding: 0;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    position: relative;
    text-transform: none;
}

.btn-join:hover {
    color: var(--primary);
    transform: none;
    box-shadow: none;
}

.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px 5px 5px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.nav-user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #000;
    font-weight: 900;
}

.user-info-text {
    display: flex;
    flex-direction: column;
}

.user-name-nav {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.auth-content {
    max-width: 450px;
    padding: 3rem;
    text-align: center;
}

.auth-step,
.auth-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-step.active,
.auth-view.active {
    display: block;
}

.auth-step h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-input-group {
    position: relative;
    margin-top: 2rem;
    display: flex;
    gap: 10px;
}

.auth-input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.auth-input-group input:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 206, 0, 0.1);
}

.btn-send-code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    padding: 0 15px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-send-code:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-auth-primary {
    width: 100%;
    background: var(--gold-gradient);
    border: none;
    color: #000;
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-auth-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 206, 0, 0.3);
}

.auth-footer-tip,
.auth-toggle-text {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.auth-toggle-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
}

.auth-toggle-text a:hover {
    text-decoration: underline;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Payment Modal Styles */
.payment-methods-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    /* Massive 100px gap as requested */
    margin-bottom: 2rem;
    padding: 0 20px;
}

.pay-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 10px;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
    color: #000;
    /* Contrast for white theme */
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pay-btn img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.pay-btn span {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    opacity: 0.9;
    color: #333;
}

.pay-btn:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pay-btn:hover img {
    transform: scale(1.15) rotate(5deg);
}

.wx-pay:hover {
    border-color: #07c160;
    color: #07c160;
    box-shadow: 0 0 25px rgba(7, 193, 96, 0.25);
}

.zfb-pay:hover {
    border-color: #1677ff;
    color: #1677ff;
    box-shadow: 0 0 25px rgba(22, 119, 255, 0.25);
}

/* Copy Toast Enhancements */
#copyToast {
    animation: slideDownIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transition: opacity 0.3s ease;
}

@keyframes slideDownIn {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -15px);
    }
}

/* Command block enhancement */
#commandDisplayArea {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 206, 0, 0.1);
    margin-top: 1rem;
}

#commandDisplayArea p {
    font-size: 1rem !important;
}

#commandDisplayArea:hover {
    border-color: rgba(255, 206, 0, 0.4);
    background: rgba(10, 5, 0, 0.7) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}