
        :root {
            --primary-color: #25D366;
            --bg-dark: #0a0a0b;
            --accent-purple: #ea3434;
            /* 调整为更接近图片的紫色 */
            --glass-dark: rgba(20, 19, 18, 0.95);
            --btn-gradient: linear-gradient(135deg, #ea3434, #f64e4e);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', sans-serif;
        }

        body {
            background: var(--bg-dark);
            color: #fff;
            background: linear-gradient(135deg, #0a0a0b 0%, #1a0b2e 100%);
        }

        /* 顶部通知 */
        .notification-bar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 11, 0.8);
            backdrop-filter: blur(10px);
            padding: 10px;
            font-size: 11px;
            text-align: center;
            z-index: 100;
            color: #e0b0ff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .hero {
            padding: 70px 20px 10px;
            text-align: center;
        }

        .hero h1 {
            font-size: 1.5rem;
            background: linear-gradient(to right, #fff, #e0b0ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* 网格布局 */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 15px 15px 120px;
        }

        .grid-item {
            position: relative;
            height: 170px;
            border-radius: 12px;
            overflow: hidden;
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .grid-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: blur(1px) brightness(0.7);
        }

        .lock-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lock-icon {
            font-size: 20px;
            opacity: 0.6;
        }

        /* 底部固定常驻栏 */
        .fixed-bottom-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: var(--glass-dark);
            backdrop-filter: blur(20px);
            padding: 15px 20px 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 900;
            text-align: center;
        }

        .cta-btn {
            display: block;
            background: #f64e4e;
            color: #fff;
            text-decoration: none;
            padding: 14px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 16px;
            margin-top: 10px;
        }

        /* --- 新增：图片同款输入框样式 --- */
        .blur-bg {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 1000;
        }

        .overlay {
            position: fixed;
            bottom: -100%;
            left: 0;
            width: 100%;
            background: #121214;
            border-radius: 24px 24px 0 0;
            padding: 30px 20px 40px;
            transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            text-align: center;
        }

        .overlay.active {
            bottom: 0;
        }

        .login-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .login-subtitle {
            font-size: 16px;
            color: #ccc;
            margin-bottom: 25px;
        }

        .input-card {
            /* background: rgba(45, 27, 78, 0.4);
            border: 2px solid var(--accent-purple); */
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .input-label {
            display: block;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .phone-input-wrap {
            display: flex;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            overflow: hidden;
            align-items: center;
            height: 50px;
        }

        .country-code {
            display: flex;
            align-items: center;
            padding: 0 10px;
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            gap: 5px;
            color: #fff;
        }

        .flag {
            width: 20px;
            height: 14px;
            background: #de2910;
            position: relative;
        }

        /* 简易国旗图标 */

        .phone-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            padding: 0 15px;
            font-size: 16px;
        }

        .continue-btn {
            display: block;
            width: 100%;
            background: var(--accent-purple);
            color: #fff;
            border: none;
            padding: 16px;
            border-radius: 50px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.2s;
        }

        .continue-btn:active {
            transform: scale(0.98);
            opacity: 0.9;
        }


        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            backdrop-filter: blur(5px);
        }

        .loading-ring {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(191, 149, 247, 0.1);
            border-top-color: #f64e4e;
            border-radius: 50%;
            animation: spin 1s infinite linear;
            margin-bottom: 15px;
        }

        @keyframes spin {
            100% {
                transform: rotate(360deg);
            }
        }

        #screen-loading {
            display: flex;
            height: 100vh;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: var(--bg);
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .loader-ring {
            width: 60px;
            height: 60px;
            border: 3px solid rgba(0, 242, 255, 0.1);
            border-top-color: var(--neon);
            border-radius: 50%;
            animation: spin 1s infinite linear;
            margin-bottom: 25px;
        }

        .loading-text {
            color: var(--neon);
            font-family: monospace;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .input-label {
            font-size: 1.25rem !important;
            color: #fff !important;
            display: block;
            margin-bottom: 12px;
            text-align: center;
            font-weight: 700 !important;
        }

        .iti {
            width: 100%;
        }

        .iti__flag-container {
            padding: 2px;
            border-right: 1px solid #444;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 8px 0 0 8px;
        }

        .iti__selected-flag {
            background-color: transparent !important;
        }

        #phone {
            width: 100%;
            height: 50px;
            background: transparent;
            border: 1px solid #333;
            color: #fff;
            border-radius: 8px;
            font-size: 16px;
            padding-left: 105px !important;
            outline: none;
            border: 2px solid rgba(191, 149, 247, 0.3);
        }

        .iti__country-list {
            background-color: #1a1a1a !important;
            color: #fff !important;
            border: 1px solid var(--primary) !important;
            border-radius: 8px;
            width: 90vw !important;
            max-width: 500px !important;
            min-width: 280px !important;
            position: fixed !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            box-shadow: 0 8px 32px rgba(118, 52, 234, 0.3) !important;
            z-index: 1000 !important;
            top: 50px !important;
            bottom: 50px !important;
        }

        .iti__search-wrapper {
            background: #1a1a1a;
            padding: 10px;
            position: sticky;
            top: 0;
            z-index: 9999;
            border-bottom: 1px solid rgba(118, 52, 234, 0.2);
        }

        .iti__search-field {
            width: 100% !important;
            height: 40px !important;
            background: #222 !important;
            border: 1px solid rgba(250, 0, 0, 0.4) !important;
            color: #fff !important;
            border-radius: 6px !important;
            padding: 0 12px !important;
            box-sizing: border-box !important;
            font-size: 14px !important;
            transition: all 0.3s ease !important;
        }

        .iti__search-field:focus {
            background: #2a2a2a !important;
            border-color: var(--primary) !important;
            box-shadow: 0 0 10px rgba(118, 52, 234, 0.2) !important;
        }

        .iti__country {
            display: flex !important;
            align-items: center !important;
            padding: 10px 12px !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
            transition: all 0.2s ease !important;
        }

        .iti__country:hover {
            background-color: rgba(118, 52, 234, 0.2) !important;
            padding-left: 16px;
        }

        .iti__country-name {
            color: #fff !important;
            font-size: 14px !important;
        }

        .iti__dial-code {
            color: var(--primary) !important;
            font-size: 12px !important;
            margin-left: auto;
            font-weight: 600;
        }

        /* .iti__flag {
            margin-right: 10px !important;
            width: 28px !important;
            height: 20px !important;
            object-fit: cover !important;
            border-radius: 2px !important;
        } */

        .iti__search-input {
            background: #333;
            color: white;
            border: 1px solid #555;
        }

        #custom-toast {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(-100px);
            background: rgba(255, 77, 77, 0.95);
            color: white;
            padding: 12px 25px;
            border-radius: 50px;
            font-weight: bold;
            z-index: 10000;
            transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }

        #custom-toast.show {
            transform: translateX(-50%) translateY(0);
        }

         .code-display-container {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin: 20px 0;
        }

        .code-char {
            width: 32px;
            height: 42px;
            border: 1px solid var(--primary);
            border-radius: 6px;
            background: rgba(0, 210, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            font-weight: bold;
            color: #fff;
            text-shadow: 0 0 5px var(--primary);
        }

        .copy-btn {
            width: 100%;
            max-width: 360px;
            height: 55px;
            background: var(--btn-gradient) !important;
            border: none;
            border-radius: 30px;
            color: white;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(118, 52, 234, 0.4);
        }

        .copy-btn:active {
            background: var(--primary);
            color: #000;
        }

        .tip-img {
            width: 100%;
            max-width: 240px;
            border-radius: 10px;
            margin: 15px 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .verification-box {
            background: rgba(255, 255, 255, 0.05);
            border: 1px dashed var(--primary);
            padding: 10px;
            margin: 15px 0;
            border-radius: 8px;
        }

        .retry-btn {
            width: 100%;
            background: var(--btn-gradient) !important;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 12px 0;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 800;
            cursor: pointer;
            margin-top: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(118, 52, 234, 0.4);
        }

        /* Modal */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .modal {
            width: 90%;
            /* max-width: 320px; */
            background: rgba(20, 20, 20, 0.8);
            padding: 35px 25px;
            border-radius: 20px;
            text-align: center;
            border: 2px solid var(--purple-border);
            z-index: 2002;
            position: relative;
        }

        .modal-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 50%;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .modal .prize-val {
            font-size: 4.5rem;
            font-weight: 900;
            color: #fff;
            margin: 15px 0;
        }