:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --bg-dark: #0a0a0c;
    --card-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: #a0a0a8;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --cf-bg: #ffffff;
    --cf-text: #1d1d1f;
    --cf-blue: #0052FF;
    --cf-gray: #6e6e73;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#app {
    height: 100vh;
    width: 100vw;
}

/* Security Check Overlay */
#security-check {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--cf-bg);
    color: var(--cf-text);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: opacity 0.8s ease-out;
}

.cf-container {
    max-width: 600px;
    width: 100%;
    text-align: left;
}

.cf-icon {
    margin-bottom: 2rem;
}

#security-check h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
    letter-spacing: -0.5px;
}

#security-check p {
    font-size: 1.15rem;
    color: #313131;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.cf-loading-bar {
    width: 100%;
    height: 4px;
    background: #f5f5f5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.cf-progress {
    width: 25%;
    height: 100%;
    background: #0052FF;
    animation: progressMove 1.5s infinite ease-in-out;
}

@keyframes progressMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(450%); }
}

.cf-footer {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 2.5rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cf-checkbox {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    user-select: none;
}

.cf-checkbox .box {
    width: 28px;
    height: 28px;
    border: 1.5px solid #d1d1d1;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cf-checkbox span {
    font-size: 1.1rem;
    color: #1d1d1f;
    font-weight: 500;
}

.cf-checkbox:hover .box {
    border-color: #0052FF;
}

.cf-subtext {
    font-size: 0.85rem;
    color: var(--cf-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cf-ray {
    font-size: 0.8rem;
    color: #999;
    font-family: monospace;
}