/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #09090b;
    --bg-card: rgba(24, 24, 27, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #ffffff;
    --accent-dark: #18181b;
}

html, body {
    font-family: "Inter", sans-serif;
    background: #0f172a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1s ease-in;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-dark);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Auth Pages */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.none {
    display: none;
}







.quiz-card { max-width: 900px; margin: 0 auto; }

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

.question-item {
    align-content: center;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px; border-radius: 12px; border: 1px solid #334155;
    background: #1e293b24;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
    flex-direction: column;
}

.question-text { font-weight: 600; }

.question-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.radio-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 10px; border-radius: 10px; border: 1px solid #334155;
    background: var(--surface);
    cursor: pointer; user-select: none;
    font-weight: 600; color: var(--text-main);
}

.radio-pill input { accent-color: #4f46e5; cursor: pointer; }

input[type="radio"]:focus, input[type="radio"]:focus-visible{
    outline: none;
    box-shadow: none;
}

@media (max-width: 700px) {
    .question-item { flex-direction: column; }
}





.fx-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.fx-bg .grid {
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(to right, rgba(125,211,252,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125,211,252,.12) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: .22;
    filter: blur(.2px);
    mask-image: radial-gradient(circle at 50% 45%, #000, transparent 62%);
    -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 62%);
    
    transform: rotate(18deg) scale(1.6);
    transform-origin: center;
    
    animation: drift 22s linear infinite;
}

@keyframes drift {
    from { transform: rotate(18deg) scale(1.6) translate3d(0,0,0); }
    to   { transform: rotate(18deg) scale(1.6) translate3d(-10%,10%,0); }
}

.fx-bg .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: .55;
    mix-blend-mode: screen;
    will-change: transform;
}

.fx-bg .blob.b1 {
    width:  clamp(260px, 45vw, 540px);
    height: clamp(260px, 45vw, 540px);
    
    top: 0;
    right: 0;
    transform: translate(35%, -35%);
    
    background: radial-gradient(
    circle at 30% 30%,
        rgba(125,211,252,.34),
        rgba(56,189,248,.09) 55%,
        transparent 72%
    );
    animation: swapBlob1 14s ease-in-out infinite;
}

.fx-bg .blob.b2 {
    width:  clamp(220px, 40vw, 460px);
    height: clamp(220px, 40vw, 460px);

    bottom: 0;
    left: 0;
    transform: translate(-35%, 35%);
    
    background: radial-gradient(
        circle at 65% 35%,
        rgba(96,165,250,.30),
        rgba(165,243,252,.07) 55%,
        transparent 72%
    );
    
    animation: swapBlob2 14s ease-in-out infinite;
}

@keyframes swapBlob1 {
    0%, 100% { transform: translate(35%, -35%) translate(0,0) scale(1); }
    50%      { transform: translate(35%, -35%) translate(-60vw, 35vh) scale(1.05); }
}

@keyframes swapBlob2 {
    0%, 100% { transform: translate(-35%, 35%) translate(0,0) scale(1); }
    50%      { transform: translate(-35%, 35%) translate(60vw, -35vh) scale(1.05); }
}