:root {
    --text-main: #fff;
    --text-muted: #d1d5db;
    --gold-accent: #d4af37;
    --red-accent: #ff0033;
    --main-cr1：#1a1e34;
    --main-cr2：#7d92fe; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text-main);
    overflow-x: hidden;
    background: /*linear-gradient(to bottom, rgba(26, 30, 52, 0.1) 0%, rgba(26, 30, 52, 1) 70%, #1a1e34 100%), */
                #1a1e34 url('../images/APP-topBG.webp') no-repeat center top;
    background-size: 480px auto;
    background-attachment: fixed;
}

#casino-effect-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.lang-selector {
    position: absolute;
    top: 30px;
    right: 46%;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.lang-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,.65);
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.lang-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.lang-btn.active {
    color: var(--text-main);
    border-color: var(--text-main);
    font-weight: 600;
}

.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px; /* RWD 平板/PC 限制寬度 */
    padding: 300px 20px 0;
    text-align: center;
}

.logo-area {
    width: 85%;
    max-width: 320px;
    margin-bottom: 25px;
}

.main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.text-area {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
    letter-spacing: -0.25px;
}

.button-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px); /* 毛玻璃質感 */
    color: var(--text-main);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.action-btn i {
    font-size: 22px;
}

.action-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.action-btn:hover {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    border-radius: 12px 30px 12px 30px; 
}

.action-btn:hover::after {
    left: 100%;
}
.footer-area {
    width: 100%;
    text-align: center;
    padding: 20px 10px;
    margin-top: auto; /* 彈性佈局下，自動將元素推向最底部 */
    z-index: 10;
}

.footer-area p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif; 
}

@media (max-width: 768px) {
    .lang-selector { right: 20px;}
    .text-area {
        font-size: 11.5px;
    }
    .action-btn {
        padding: 16px 20px;
        font-size: 17px;
    }
    .lang-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .footer-area p { font-size: 10px; letter-spacing: -0.5px;}
}