* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0a0f1a;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a3e, #0a0f1a);
    opacity: 0.95;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(0, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 10s infinite linear;
}

.login-container {
    background: rgba(15, 20, 30, 0.95);
    border: 2px solid rgba(0, 200, 255, 0.5);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    min-height: 550px;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite alternate;
    z-index: -1;
}

.logo {
    font-size: 3rem;
    color: #00c8ff;
    text-shadow: 0 0 20px #00c8ff;
    margin-bottom: 1rem;
    animation: neonPulse 2s infinite alternate;
}

h2 {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00c8ff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notice-message {
    color: #00e1ff;
    background: rgba(0, 225, 255, 0.1);
    padding: 0.7rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border: 1px solid #00e1ff;
    animation: slideUp 1s ease-out;
    text-align: left;
    padding-left: 1.2rem;
}

.telegram-login-container {
    margin: 1.5rem 0;
}

.option-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #00c8ff;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.4s ease;
    margin: 0.5rem 0.3rem;
    border: 1px solid #00c8ff;
    cursor: pointer;
    width: 48%;
    max-width: 180px;
}

.option-btn:hover {
    background: rgba(0, 200, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.option-btn.green {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border-color: #00ff00;
}

.option-btn.green:hover {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
}

.feature-btn {
    background: rgba(15, 20, 30, 0.8);
    color: #00c8ff;
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 1px solid #00c8ff;
    width: 30%;
    max-width: 130px;
    cursor: pointer;
    word-wrap: break-word;
}

.feature-btn:hover {
    background: rgba(0, 200, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.feature-btn i {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    display: block;
}

.footer {
    color: #99ccff;
    font-size: 0.75rem;
    margin-top: 0.8rem;
    text-align: center;
}

.timestamp {
    color: #99ccff;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    text-align: center;
}

.security-info, .info-collect {
    color: #99ccff;
    font-size: 0.85rem;
    text-align: left;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.security-info h3, .info-collect h3 {
    color: #00c8ff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.2); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes neonPulse {
    0% { text-shadow: 0 0 10px #00c8ff, 0 0 20px #00c8ff; }
    100% { text-shadow: 0 0 20px #ff00cc, 0 0 30px #ff00cc; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
        max-width: 90%;
        width: 90%;
        overflow-y: auto;
        max-height: 90vh;
        min-height: 500px;
    }
    .logo {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .notice-message {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    .option-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        max-width: 170px;
    }
    .feature-btn {
        padding: 0.8rem;
        font-size: 0.85rem;
        max-width: 120px;
    }
    .security-info, .info-collect {
        font-size: 0.8rem;
    }
    .security-info h3, .info-collect h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 1.2rem;
        max-width: 95%;
        width: 95%;
        overflow-y: auto;
        max-height: 85vh;
        min-height: 450px;
    }
    .logo {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    .notice-message {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    .option-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        max-width: 150px;
    }
    .feature-btn {
        padding: 0.7rem;
        font-size: 0.8rem;
        max-width: 110px;
    }
    .footer {
        font-size: 0.7rem;
    }
    .security-info, .info-collect {
        font-size: 0.75rem;
    }
    .security-info h3, .info-collect h3 {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .login-container {
        padding: 1rem;
        width: 98%;
        overflow-y: auto;
        max-height: 80vh;
        min-height: 400px;
    }
    .logo {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .notice-message {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
    .option-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        max-width: 130px;
    }
    .feature-btn {
        padding: 0.6rem;
        font-size: 0.75rem;
        max-width: 100px;
    }
    .footer {
        font-size: 0.65rem;
    }
    .security-info, .info-collect {
        font-size: 0.7rem;
    }
    .security-info h3, .info-collect h3 {
        font-size: 0.8rem;
    }
}