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

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(160deg, #050d1a 0%, #0a1a2e 40%, #0d2233 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.timer {
    font-size: 22px;
    font-weight: 800;
    color: #00d4c8;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #00d4c8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00d4c8;
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
} */
.particle {
    position: absolute;
    background: #00d4c8;
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0.6;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}
#pfp-input {
    display: none;
}
@media (min-width: 601px) {
    .card {
        padding: 40px;
    }
    .container {
        max-width: 600px;
    }
}
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin: 30px auto;

}

@media (max-width: 600px) {
    body {
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        overflow-y: auto;
    }

    .container {
        padding: 15px;
        margin: 20px auto;
    }

    .card {
        padding: 25px;
    }
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(0, 212, 200, 0.25);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #00d4c8;
    letter-spacing: 1px;
}

.logo-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00d4c8, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    font-size: 14px;
}

input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 212, 200, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    margin-bottom: 16px;
    outline: none;
    transition: border 0.3s;
}

input[type="text"]:focus {
    border-color: #00d4c8;
}

.pfp-upload {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px dashed rgba(0, 212, 200, 0.3);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.pfp-upload:hover {
    border-color: #00d4c8;
    background: rgba(0, 212, 200, 0.05);
}

.pfp-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00d4c8;
    display: none;
    margin: 0 auto 10px;
}

.btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00d4c8, #0099ff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 200, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4c8, #0099ff);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.question-number {
    font-size: 13px;
    color: #00d4c8;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.option:hover {
    border-color: #00d4c8;
    background: rgba(0, 212, 200, 0.08);
}

.option.correct {
    border-color: #00c853;
    background: rgba(0, 200, 83, 0.15);
}

.option.wrong {
    border-color: #ff3d71;
    background: rgba(255, 61, 113, 0.15);
}

.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 200, 0.2);
    border-top-color: #00d4c8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.result-card {
    text-align: center;
}

.result-pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00d4c8;
    margin: 0 auto 20px;
    display: block;
}

.result-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.result-score {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4c8, #0099ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.result-score-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 25px;
}

.newbie {
    background: rgba(100, 200, 100, 0.15);
    color: #64c864;
    border: 1px solid #64c864;
}

.builder {
    background: rgba(255, 180, 0, 0.15);
    color: #ffb400;
    border: 1px solid #ffb400;
}

.master {
    background: rgba(160, 100, 255, 0.15);
    color: #a064ff;
    border: 1px solid #a064ff;
}

.og-footer {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.og-footer span {
    color: #00d4c8;
}
