* {
box-sizing: border-box;
}
:root {
--quiz-brand: #fb5404;
--quiz-brand-dark: #e04b04;
--quiz-brand-rgb: 251, 84, 4;
--quiz-dark: #1a1a1a;
--quiz-surface: #ffffff;
--quiz-card: #ffffff;
--quiz-border: #eeeeee;
--quiz-text: #1a1a1a;
--quiz-text-dim: #666666;
--quiz-radius: 16px;
--quiz-shadow: 0 10px 30px rgba(0,0,0,0.05);
--quiz-font: 'Montserrat', sans-serif;
} .hatch-quiz-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10000;
display: none; align-items: center;
justify-content: center;
padding: 20px;
}
.hatch-quiz-modal.active {
display: flex;
}
.quiz-modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
}
.quiz-modal-container {
position: relative;
width: 100%;
max-width: 1100px;
background: #fff;
border-radius: 30px;
z-index: 2;
box-shadow: 0 30px 60px rgba(0,0,0,0.3);
overflow: hidden;
max-height: 95vh;
display: flex;
flex-direction: column;
animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
from { opacity: 0; transform: translateY(40px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.quiz-modal-close {
position: absolute;
top: 25px;
right: 25px;
background: #f5f5f5;
border: none;
width: 36px;
height: 36px;
border-radius: 50%;
font-size: 20px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 2000;
transition: all 0.2s ease;
color: #111;
pointer-events: auto;
}
.quiz-modal-close:hover {
background: #eee;
color: #111;
transform: rotate(90deg);
}
.quiz-modal-content {
overflow-y: auto;
flex: 1;
max-height: 90vh;
padding: 60px 45px 45px;
scrollbar-width: thin;
} @media (max-width: 768px) {
.quiz-modal-container {
border-radius: 0;
height: 100vh;
height: 100dvh;
max-height: 100dvh;
}
.quiz-modal-close {
top: 15px;
right: 15px;
width: 32px;
height: 32px;
font-size: 18px;
}
.quiz-modal-content {
padding: 60px 20px 30px;
}
.hatch-results-container {
grid-template-columns: 1fr;
}
} .hatch-quiz-app {
max-width: 100%;
margin: 0 auto;
font-family: var(--quiz-font);
color: var(--quiz-text);
scroll-margin-top: 130px; } .quiz-screen {
display: none;
animation: quizAppFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-screen.active {
display: block;
}
@keyframes quizAppFadeIn {
from { opacity: 0; transform: translateY(20px); }
to   { opacity: 1; transform: translateY(0); }
} .quiz-hero {
text-align: center;
margin-bottom: 40px;
}
.quiz-main-title {
font-size: 32px;
font-weight: 800;
color: var(--quiz-dark);
margin: 0 0 10px;
text-transform: uppercase;
}
.quiz-subtitle {
font-size: 16px;
color: var(--quiz-text-dim);
line-height: 1.5;
max-width: 800px;
margin: 0 auto;
}
.quiz-levels-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
@media (max-width: 600px) {
.quiz-levels-grid {
grid-template-columns: 1fr;
}
}
.quiz-level-card {
display: flex;
align-items: center;
gap: 20px;
padding: 24px;
background: var(--quiz-card);
border: 2px solid var(--quiz-border);
border-radius: var(--quiz-radius);
cursor: pointer;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
text-align: left;
width: 100%;
}
.quiz-level-card:hover {
border-color: var(--quiz-brand);
background: #fff;
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(var(--quiz-brand-rgb), 0.1);
}
.level-icon-wrapper {
font-size: 28px;
background: #f8f8f8;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
flex-shrink: 0;
}
.level-content {
flex: 1;
}
.level-name {
display: block;
font-size: 18px;
font-weight: 800;
color: var(--quiz-dark);
margin-bottom: 4px;
}
.level-desc {
display: block;
font-size: 13px;
color: var(--quiz-text-dim);
line-height: 1.4;
} .quiz-topbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.quiz-topbar-level {
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1.5px;
color: var(--quiz-brand);
background: rgba(var(--quiz-brand-rgb), 0.08);
padding: 6px 15px;
border-radius: 20px;
}
@media (max-width: 600px) {
.quiz-topbar {
margin-bottom: 10px;
}
}
.quiz-topbar-timer {
font-size: 15px;
font-weight: 700;
color: var(--quiz-text-dim);
}
.quiz-progress-bar {
width: 100%;
height: 8px;
background: #f0f0f0;
border-radius: 10px;
margin-bottom: 30px;
overflow: hidden;
}
.quiz-progress-fill {
height: 100%;
background: var(--quiz-brand);
transition: width 0.5s ease;
}
.quiz-question-card {
margin-bottom: 25px;
}
.quiz-question-number {
font-size: 12px;
font-weight: 800;
color: var(--quiz-brand);
text-transform: uppercase;
margin-bottom: 10px;
}
.quiz-question-text {
font-size: 24px;
font-weight: 800;
line-height: 1.3;
margin: 0;
color: #111;
}
.quiz-options-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
@media (max-width: 600px) {
.quiz-options-grid {
grid-template-columns: 1fr;
gap: 8px;
}
.quiz-question-text {
font-size: 14px;
}
.quiz-question-card {
margin-bottom: 15px;
}
.quiz-progress-bar {
margin-bottom: 15px;
}
}
.quiz-option-btn {
background: var(--quiz-card);
border: 2px solid var(--quiz-border);
border-radius: 12px;
padding: 18px 20px;
color: var(--quiz-text);
font-family: inherit;
font-size: 15px;
font-weight: 600;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
transition: all 0.2s ease;
text-align: left;
}
@media (max-width: 600px) {
.quiz-option-btn {
padding: 10px 12px;
font-size: 13px;
gap: 10px;
}
}
.quiz-option-btn:hover {
border-color: var(--quiz-brand);
background: rgba(var(--quiz-brand-rgb), 0.02);
}
.quiz-option-btn.selected {
border-color: var(--quiz-brand);
background: var(--quiz-brand);
color: #fff;
box-shadow: 0 5px 15px rgba(var(--quiz-brand-rgb), 0.2);
}
.quiz-option-btn:disabled {
cursor: default;
opacity: 0.5;
}
.quiz-option-btn.selected:disabled {
opacity: 1;
}
.option-letter {
width: 28px;
height: 28px;
background: #f5f5f5;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 12px;
color: #888;
flex-shrink: 0;
}
.quiz-option-btn.selected .option-letter {
background: rgba(255,255,255,0.2);
color: #fff;
}  .hatch-results-container {
display: grid;
grid-template-columns: 340px 1fr;
background: #ffffff;
border-radius: 24px;
overflow: hidden;
border: 2px solid #f2f2f2;
box-shadow: 0 40px 100px rgba(0,0,0,0.08);
min-height: 520px;
animation: quizAppFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hatch-results-sidebar {
background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
padding: 50px 40px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-right: 1px solid #eee;
text-align: center;
}
.results-badge-wrapper {
position: relative;
margin-bottom: 40px;
z-index: 2;
}
.badge-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 220px;
height: 220px;
background: radial-gradient(circle, rgba(var(--quiz-brand-rgb), 0.15) 0%, rgba(var(--quiz-brand-rgb), 0) 70%);
z-index: -1;
animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}
.quiz-badge {
width: 170px;
height: 170px;
background: linear-gradient(135deg, var(--quiz-brand) 0%, #ff8400 100%);
border-radius: 50%;
padding: 10px;
box-shadow: 0 20px 40px rgba(var(--quiz-brand-rgb), 0.3);
}
.badge-inner {
width: 100%;
height: 100%;
background: #fff;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.badge-label {
font-size: 10px;
font-weight: 800;
letter-spacing: 2.5px;
color: #bbb;
margin-bottom: 4px;
}
.badge-rank {
font-size: 22px;
font-weight: 900;
color: var(--quiz-brand);
text-transform: uppercase;
}
.results-metrics-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
width: 100%;
}
.metric-item {
background: #fff;
padding: 15px 10px;
border-radius: 12px;
border: 1px solid #eee;
box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.metric-icon { font-size: 18px; display: block; margin-bottom: 5px; }
.metric-label {
display: block;
font-size: 9px;
font-weight: 800;
text-transform: uppercase;
color: #999;
margin-bottom: 3px;
}
.metric-value {
display: block;
font-size: 24px;
font-weight: 900;
color: #111;
} .hatch-results-main {
padding: 60px 50px;
display: flex;
flex-direction: column;
}
@media (max-width: 768px) {
.hatch-results-main {
padding: 40px 20px;
}
.hatch-results-sidebar {
padding: 30px 20px;
}
}
.results-header {
margin-bottom: 25px;
}
.quiz-results-title {
font-size: 42px;
font-weight: 900;
color: #111;
margin: 0 0 15px;
letter-spacing: -1px;
}
.quiz-results-phrase {
font-size: 20px;
line-height: 1.6;
color: #444;
max-width: 650px;
font-weight: 500;
margin-bottom: 30px;
}
.quiz-results-phrase a {
color: var(--quiz-brand);
font-weight: 800;
text-decoration: none;
border-bottom: 2px solid rgba(var(--quiz-brand-rgb), 0.2);
transition: all 0.2s ease;
}
.quiz-results-phrase a:hover {
background: rgba(var(--quiz-brand-rgb), 0.05);
border-bottom-color: var(--quiz-brand);
}
.share-box-premium {
background: #fcfcfc;
border: 1px solid #f0f0f0;
padding: 25px;
border-radius: 16px;
margin-bottom: 40px;
margin-top: auto;
}
.share-box-title {
display: block;
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
color: #888;
margin-bottom: 15px;
text-align: center;
}
.share-buttons-premium {
display: flex;
gap: 12px;
justify-content: center;
}
.share-btn-p {
width: 54px;
height: 54px;
border: none;
border-radius: 12px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
color: #fff;
}
.share-btn-p.x-link { background: #000; }
.share-btn-p.li-link { background: #0077b5; }
.share-btn-p.wa-link { background: #25d366; }
.share-btn-p:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
#quiz-registration-content {
margin-top: 20px;
padding-top: 30px;
border-top: 1px solid #f0f0f0;
}
.register-box-title {
font-size: 14px;
font-weight: 800;
margin-bottom: 25px;
color: #999;
text-align: center;
text-transform: uppercase;
letter-spacing: 1.5px;
}
.quiz-inline-form {
display: flex;
flex-direction: column;
gap: 12px;
}
.quiz-inline-form .quiz-form-group {
margin: 0;
padding: 0;
}
.quiz-form-row {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}
@media (max-width: 600px) {
.quiz-form-row { grid-template-columns: 1fr; }
}
.quiz-form-group input, 
.quiz-form-group textarea {
width: 100%;
padding: 14px 18px;
border: 2px solid #eee;
border-radius: 12px;
font-family: inherit;
font-size: 14px;
background: #fff;
transition: all 0.2s ease;
}
.quiz-form-group input:focus, 
.quiz-form-group textarea:focus {
border-color: var(--quiz-brand);
outline: none;
box-shadow: 0 0 0 4px rgba(var(--quiz-brand-rgb), 0.1);
}
.quiz-btn-text {
background: none;
border: none;
color: #999;
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
cursor: pointer;
margin-top: 10px;
letter-spacing: 1px;
transition: color 0.2s ease;
}
.quiz-btn-text:hover {
color: var(--quiz-brand);
}
.share-box-premium.sidebar-share {
background: none;
border: none;
padding: 0;
margin-top: 50px;
width: 100%;
}
.share-box-premium.sidebar-share .share-buttons-premium {
gap: 15px;
}
.share-box-premium.sidebar-share .share-btn-p {
width: 48px;
height: 48px;
border-radius: 10px;
}
.share-box-premium.sidebar-share .share-box-title {
text-align: center;
margin-bottom: 20px;
}
.share-buttons {
display: flex;
justify-content: center;
gap: 10px;
}
.share-btn {
border: none;
padding: 10px 18px;
border-radius: 8px;
font-family: inherit;
font-weight: 700;
font-size: 13px;
cursor: pointer;
transition: all 0.2s ease;
}
.share-btn.x-share { background: #000000; color: #fff; }
.share-btn.li-share { background: #0077b5; color: #fff; }
.share-btn.wa-share { background: #25d366; color: #fff; }
.share-btn:hover { transform: translateY(-2px); } .quiz-leaderboard-card {
background: #ffffff;
border-radius: 24px;
padding: 30px;
border: 2px solid #f5f5f5;
box-shadow: var(--quiz-shadow);
}
.quiz-tab {
background: #f5f5f5;
border: none;
color: #888;
padding: 10px 20px;
border-radius: 8px;
font-weight: 700;
cursor: pointer;
font-family: inherit;
transition: all 0.2s ease;
font-size: 13px;
}
.quiz-tab.active {
background: var(--quiz-brand);
color: #fff;
box-shadow: 0 5px 15px rgba(var(--quiz-brand-rgb), 0.2);
}
.quiz-lb-table {
width: 100%;
margin-top: 20px;
border-collapse: collapse;
}
.quiz-lb-table th {
text-align: left;
padding: 12px;
color: #999;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 2px solid #f5f5f5;
}
.quiz-lb-table td {
padding: 15px 12px;
border-bottom: 1px solid #f9f9f9;
}
.lb-pos { font-weight: 800; font-size: 16px; color: var(--quiz-brand); }
.lb-name { font-weight: 700; }
.lb-score { font-weight: 800; }
.lb-time { color: #888; font-size: 12px; } .quiz-btn {
border: none;
padding: 15px 30px;
border-radius: 10px;
font-family: var(--quiz-font);
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.5px;
cursor: pointer;
transition: all 0.2s ease;
font-size: 14px;
}
.quiz-nav {
display: flex;
justify-content: flex-end;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #f9f9f9;
}
@media (max-width: 600px) {
.quiz-nav {
position: sticky;
bottom: 0;
background: #fff;
margin: 20px -20px 0 -20px;
padding: 15px 20px;
border-top: 1px solid #eee;
z-index: 10;
justify-content: stretch;
box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}
.quiz-nav .quiz-btn {
width: 100%;
text-align: center;
}
}
.quiz-btn-primary {
background: var(--quiz-brand);
color: #fff;
box-shadow: 0 8px 20px rgba(var(--quiz-brand-rgb), 0.25);
}
.quiz-btn-primary:hover {
background: var(--quiz-brand-dark);
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(var(--quiz-brand-rgb), 0.35);
}
.quiz-btn-secondary {
background: #f0f0f0;
color: #555;
}
.quiz-btn-secondary:hover { background: #e8e8e8; }
.quiz-warning {
color: #e74c3c;
font-weight: 600;
margin-bottom: 15px;
text-align: center;
}
.quiz-inline-error {
display: none;
background: #fff3f0;
border: 1px solid rgba(251,84,4,0.3);
color: #c0392b;
font-size: 14px;
font-weight: 600;
padding: 12px 16px;
border-radius: 10px;
margin-bottom: 20px;
text-align: center;
} .quiz-form-card {
background: #fff;
border-radius: 20px;
padding: 35px;
border: 2px solid #f5f5f5;
max-width: 500px;
margin: 0 auto;
}
.quiz-form-group input, .quiz-form-group textarea {
width: 100%;
padding: 12px;
border: 2px solid #eee;
border-radius: 8px;
font-family: inherit;
margin-bottom: 15px;
}
.quiz-form-group input:focus {
border-color: var(--quiz-brand);
outline: none;
} @media screen and (max-height: 800px) {
.results-left-col { flex: 0 0 260px; padding: 25px; }
.results-right-col { padding: 30px; }
.quiz-results-title { font-size: 26px; }
.quiz-badge { width: 120px; height: 120px; }
.quiz-results-phrase { font-size: 14px; margin-bottom: 15px; }
.quiz-stat-value { font-size: 22px; }
.quiz-share-section { padding: 15px; }
}
@media (max-width: 768px) {
.results-top-row { flex-direction: column; }
.results-left-col { flex: 1 0 auto; border-right: none; border-bottom: 1px solid #eee; }
} .quiz-results-phrase a {
color: var(--quiz-brand);
font-weight: 700;
text-decoration: none;
border-bottom: 1px solid rgba(var(--quiz-brand-rgb), 0.3);
transition: all 0.2s ease;
}
.quiz-results-phrase a:hover {
color: var(--quiz-brand-dark);
border-bottom-color: var(--quiz-brand-dark);
background: rgba(var(--quiz-brand-rgb), 0.05);
} #quiz-screen-active.active {
display: flex;
flex-direction: column;
}  #quiz-registration-content {
animation: quizAppFadeIn 0.5s ease;
}
.quiz-form-success {
text-align: center;
padding: 10px 0;
animation: quizAppFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
display: none; }
.quiz-form-success .success-icon {
font-size: 54px;
margin-bottom: 15px;
display: block;
}
.quiz-form-success h3 {
font-size: 22px;
font-weight: 900;
color: #111;
margin: 0 0 10px;
}
.quiz-form-success p {
font-size: 15px;
color: #666;
margin-bottom: 25px;
}
#RANKING {
scroll-margin-top: 100px;
}
@media (max-width: 768px) {
.hatch-results-container { grid-template-columns: 1fr; }
.hatch-results-sidebar { border-right: none; border-bottom: 1px solid #eee; padding: 30px; }
.hatch-results-main { padding: 30px 20px; }
.quiz-results-title { font-size: 28px; }
}