@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0095f6;
    --meta-gradient: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --bg-dark: #000000;
}

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

body {
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    color: white;
}

/* Animated Mesh Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, #1a1a2e 0%, transparent 50%),
                radial-gradient(circle at 100% 0%, #16213e 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, #0f3460 0%, transparent 50%),
                radial-gradient(circle at 0% 100%, #1a1a2e 0%, transparent 50%);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #405de6, #c13584);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.2;
    animation: move 20s infinite alternate;
}

.blob-2 {
    background: linear-gradient(45deg, #f56040, #5851db);
    right: -100px;
    bottom: -100px;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(-10%, -10%) scale(1); }
    to { transform: translate(10%, 10%) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    z-index: 10;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo-section {
    margin-bottom: 30px;
}

.badge-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 149, 246, 0.6));
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 20px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0, 149, 246, 0.2);
}

.btn-verify {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 149, 246, 0.3);
}

.btn-verify:hover {
    background: #0084db;
    box-shadow: 0 15px 30px rgba(0, 149, 246, 0.5);
    transform: scale(1.02);
}

.btn-verify:active {
    transform: scale(0.98);
}

.footer {
    margin-top: 35px;
    font-size: 13px;
    color: #888;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Responsiveness */

/* Large screens (Desktop) */
@media (min-width: 1024px) {
    .container {
        max-width: 450px;
    }
    .card {
        padding: 60px 50px;
    }
}

/* Medium screens (Tablets) */
@media (max-width: 768px) {
    .container {
        max-width: 380px;
    }
    .card {
        padding: 40px 30px;
    }
    h1 { font-size: 24px; }
}

/* Small screens (Mobile) */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    .card {
        padding: 35px 25px;
        border-radius: 24px;
    }
    .badge-img {
        width: 100px;
        height: 100px;
    }
    h1 { font-size: 22px; }
    p.desc { font-size: 14px; }
    input { padding: 14px 18px; }
}

/* Custom Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.modal-content p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-close {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 149, 246, 0.4);
}

@keyframes scaleUp {
    to { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
