* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f5;
    color: #111111;
    line-height: 1.5;
}


/* NAVIGATION */

nav {
    width: 100%;
    padding: 28px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1.5px;
    cursor: pointer;
    user-select: none;
}

.logo-container {
    position: relative;
}

.logo-message {
    position: absolute;
    top: 38px;
    left: 0;
    padding: 6px 10px;
    background: #111111;
    color: white;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.logo-message.show {
    opacity: 1;
    transform: translateY(0);
}

.logo-message.leaving {
    opacity: 0;
    transform: translateX(150px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.logo.leaving {
    opacity: 0;
    transform: translateX(150px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #111111;
    text-decoration: none;
    font-size: 15px;
}

.nav-links a:hover {
    opacity: 0.5;
}


/* HERO */

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(55px, 9vw, 120px);
    line-height: 0.95;
    letter-spacing: -6px;
    max-width: 1000px;
}

.hero-text {
    max-width: 550px;
    margin-top: 30px;
    font-size: 18px;
    opacity: 0.6;
}

.explore-button {
    margin-top: 35px;
    padding: 15px 25px;
    background: #111111;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.explore-button:hover {
    transform: translateY(-3px);
}


/* PROJECTS */

.projects {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 30px;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 48px;
    letter-spacing: -2px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    background: white;
    padding: 35px;
    border-radius: 25px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 38px;
    margin-bottom: 25px;
}

.project-card h3 {
    font-size: 26px;
    letter-spacing: -1px;
}

.project-card p {
    margin-top: 10px;
    max-width: 400px;
    opacity: 0.55;
}

.status {
    margin-top: auto;
    padding-top: 25px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.4;
}


/* ABOUT */

.about {
    max-width: 800px;
    margin: 0 auto;
    padding: 150px 30px;
    text-align: center;
}

.about h2 {
    font-size: 55px;
    letter-spacing: -3px;
}

.about p:last-child {
    margin-top: 20px;
    font-size: 20px;
    opacity: 0.55;
}


/* FOOTER */

footer {
    padding: 50px;
    text-align: center;
    font-size: 13px;
    opacity: 0.4;
}


/* MOBILE */

@media (max-width: 700px) {

    .nav-links {
        display: none;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .about h2 {
        font-size: 42px;
    }
}

/* =========================
   USELESS CALCULATOR
   ========================= */

.calculator-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 100px;
}


/* BACK BUTTON */

.back-button {
    color: #111111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.back-button:hover {
    opacity: 0.5;
}


/* CALCULATOR HERO */

.calculator-hero {
    text-align: center;
    padding: 100px 20px 80px;
}

.calculator-hero h1 {
    font-size: clamp(60px, 9vw, 110px);
    line-height: 0.9;
    letter-spacing: -6px;
}

.calculator-hero p:last-child {
    margin-top: 25px;
    font-size: 19px;
    opacity: 0.55;
}


/* CALCULATOR CARDS */

.calculator-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.calculator-card {
    background: white;
    padding: 35px;
    border-radius: 25px;
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.calculator-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.calculator-card .card-icon {
    font-size: 42px;
    margin-bottom: 25px;
}

.calculator-card h2 {
    font-size: 27px;
    letter-spacing: -1px;
}

.calculator-card p {
    margin-top: 10px;
    opacity: 0.55;
}

.calculator-card button {
    margin-top: auto;
    padding: 12px 18px;

    border: none;
    border-radius: 100px;

    background: #111111;
    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: transform 0.2s ease;
}

.calculator-card button:hover {
    transform: translateY(-2px);
}


/* DUCK CALCULATOR */

.duck-calculator {
    margin-top: 100px;
    padding: 60px 50px;

    background: white;
    border-radius: 30px;

    text-align: center;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.duck-calculator h2 {
    font-size: 45px;
    letter-spacing: -2px;
}

.duck-calculator > p:not(.eyebrow) {
    margin-top: 10px;
    opacity: 0.55;
}


/* INPUTS */

.inputs {
    max-width: 700px;
    margin: 40px auto 25px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.inputs label {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

.inputs input {
    width: 100%;
    margin-top: 7px;
    padding: 13px;

    border: 1px solid #dddddd;
    border-radius: 10px;

    font-size: 16px;
    outline: none;

    background: #fafafa;
}

.inputs input:focus {
    border-color: #111111;
}


/* CALCULATE BUTTON */

.calculate-button {
    padding: 15px 25px;

    border: none;
    border-radius: 100px;

    background: #111111;
    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.calculate-button:hover {
    transform: translateY(-3px);
}

.calculate-button:active {
    transform: translateY(0);
}


/* RESULT */

.result {
    margin-top: 40px;

    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

.result small {
    display: block;
    margin-top: 8px;

    font-size: 14px;
    font-weight: 400;

    opacity: 0.5;
    letter-spacing: 0;
}


/* MOBILE */

@media (max-width: 800px) {

    .calculator-options {
        grid-template-columns: 1fr;
    }

    .inputs {
        grid-template-columns: 1fr;
    }

    .duck-calculator {
        padding: 45px 25px;
    }

    .duck-calculator h2 {
        font-size: 35px;
        letter-spacing: -1px;
    }
}

.duck-number {
    font-size: clamp(35px, 6vw, 65px);
    font-weight: 800;
    letter-spacing: -3px;
    animation: duckAppear 0.5s ease;
}

.duck-status {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.55;
    font-weight: 400;
}

.duck-stats {
    max-width: 500px;
    margin: 35px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    text-align: left;
    font-size: 11px;
}

.duck-stats span {
    opacity: 0.4;
    font-weight: 700;
    letter-spacing: 1px;
}

.duck-stats strong {
    text-align: right;
    font-size: 11px;
}

@keyframes duckAppear {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-link {
    margin-top: auto;
    padding-top: 25px;

    color: #111111;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: transform 0.2s ease;
}

.project-link:hover {
    transform: translateX(5px);
}

.inputs select {
    width: 100%;
    margin-top: 7px;
    padding: 13px;

    border: 1px solid #dddddd;
    border-radius: 10px;

    font-size: 16px;
    outline: none;

    background: #fafafa;
    cursor: pointer;
}

.pickup-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 70px 40px;
    background: white;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.pickup-line {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.pickup-stats {
    margin-top: 30px;
    font-size: 13px;
    opacity: 0.5;
    line-height: 1.8;
}

.pickup-reaction-image {
    display: block;
    width: 360px;
    max-width: 80%;
    margin: 15px auto 0;
    border-radius: 12px;
}

.pickup-line.animate {
    animation: pickupPop 0.45s ease;
}

.pickup-stats.animate {
    animation: statsAppear 0.5s ease;
}

@keyframes pickupPop {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    60% {
        transform: translateY(-3px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statsAppear {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 0.5;
        transform: translateY(0);
    }
}

.pickup-warning {
    margin-top: 45px;
    font-size: 12px;
    opacity: 0.35;
    font-weight: 600;
}

.random-reveal {
    animation: randomReveal 0.6s ease;
}

@keyframes randomReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(15px);
        filter: blur(8px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-3px);
        filter: blur(0);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* =========================
   MYSTERY DEPARTMENT
   ========================= */

.mystery-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.case-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.35;
    margin-bottom: 15px;
}

.mystery-box > h2 {
    font-size: clamp(35px, 5vw, 55px);
    letter-spacing: -2px;
    line-height: 1;
}

.case-description {
    max-width: 650px;
    margin-top: 15px;
    opacity: 0.55;
    line-height: 1.6;
}

.mystery-section {
    margin-top: 55px;
}

.mystery-section h3,
.accusation-section h3 {
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.suspects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.suspect {
    padding: 20px;
    border: 1px solid #eeeeee;
    border-radius: 15px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.suspect:hover {
    transform: translateY(-3px);
    background: #fafafa;
}

.suspect-name {
    font-weight: 800;
    font-size: 17px;
}

.suspect-description {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.55;
    line-height: 1.5;
}

.clues {
    display: grid;
    gap: 10px;
}

.clue {
    padding: 18px 20px;
    background: #f8f8f8;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.5;
}

.clue-number {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.35;
    margin-bottom: 5px;
}

.accusation-section {
    margin-top: 60px;
    padding-top: 45px;
    border-top: 1px solid #eeeeee;
}

.accusation-section p {
    margin-top: -8px;
    margin-bottom: 20px;
    font-size: 13px;
    opacity: 0.5;
}

.accusations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.accusation-button {
    padding: 16px;
    border: 1px solid #dddddd;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accusation-button:hover {
    background: #111111;
    color: white;
    border-color: #111111;
    transform: translateY(-2px);
}

.accusation-button:disabled {
    cursor: default;
    opacity: 0.5;
}

.mystery-result {
    margin-top: 35px;
    text-align: center;
    min-height: 20px;
}

.mystery-result.success {
    padding: 30px;
    background: #f4f4f4;
    border-radius: 20px;
    animation: mysteryReveal 0.5s ease;
}

.mystery-result.failure {
    padding: 30px;
    background: #f4f4f4;
    border-radius: 20px;
    animation: mysteryReveal 0.5s ease;
}

.result-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.result-text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.6;
    line-height: 1.6;
}

.detective-rating {
    margin-top: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.new-case-button {
    display: block;
    margin: 35px auto 0;
}

@keyframes mysteryReveal {

    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@media (max-width: 700px) {

    .mystery-box {
        padding: 40px 25px;
    }

    .suspects,
    .accusations {
        grid-template-columns: 1fr;
    }

}

/* =========================
   PROCRASTINATION CALCULATOR
   ========================= */

.procrastination-number {
    font-size: clamp(35px, 6vw, 65px);
    font-weight: 800;
    letter-spacing: -3px;
    animation: procrastinationAppear 0.5s ease;
}

.procrastination-status {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.55;
    font-weight: 400;
}

.procrastination-breakdown {
    max-width: 500px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    font-size: 11px;
}

.procrastination-breakdown span {
    opacity: 0.4;
    font-weight: 700;
    letter-spacing: 1px;
}

.procrastination-breakdown strong {
    text-align: right;
}

@keyframes procrastinationAppear {

    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

/* =========================
   CAR → PIGEON CALCULATOR
   ========================= */

.pigeon-number {
    font-size: clamp(35px, 6vw, 65px);
    font-weight: 800;
    letter-spacing: -3px;
    animation: pigeonAppear 0.5s ease;
}

.pigeon-status {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.55;
    font-weight: 400;
}

.pigeon-breakdown {
    max-width: 500px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    font-size: 11px;
}

.pigeon-breakdown span {
    opacity: 0.4;
    font-weight: 700;
    letter-spacing: 1px;
}

.pigeon-breakdown strong {
    text-align: right;
}

@keyframes pigeonAppear {

    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

/* =========================
   SIDEQUESTS
   ========================= */

.sidequest-hero {
    text-align: center;
    padding: 100px 20px 70px;
}

.sidequest-hero h1 {
    font-size: clamp(50px, 10vw, 100px);
    letter-spacing: -5px;
    margin: 10px 0;
}

.sidequest-hero p:not(.eyebrow) {
    opacity: 0.55;
    font-size: 18px;
    margin-bottom: 30px;
}

.sidequest-card {
    max-width: 700px;
    margin: 30px auto;
    padding: 45px 30px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    text-align: center;
}

.sidequest-icon {
    font-size: 70px;
    margin-bottom: 10px;
}

.sidequest-card h2 {
    font-size: 32px;
    margin: 10px 0;
}

.sidequest-description {
    opacity: 0.6;
    margin: 10px auto 30px;
    max-width: 500px;
}

.sidequest-info {
    max-width: 400px;
    margin: 25px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    font-size: 12px;
}

.sidequest-info span {
    opacity: 0.4;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidequest-info strong {
    text-align: right;
}

.sidequest-timer {
    font-size: 55px;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 25px 0;
}

.sidequest-success {
    margin: 20px auto;
    font-weight: 700;
}

.sidequest-warning {
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    background: #f5f5f5;
    font-weight: 700;
}

.leaderboard-placeholder {
    margin-top: 30px;
    padding: 30px;
    border-radius: 12px;
    background: #f7f7f7;
}

.leaderboard-placeholder p {
    opacity: 0.5;
    font-size: 13px;
}

.honour-system {
    max-width: 700px;
    margin: 80px auto;
    padding: 35px 25px;
    text-align: center;
    border: 1px dashed #ccc;
    border-radius: 16px;
}

.honour-system p {
    opacity: 0.6;
}

.honour-system strong {
    display: block;
    margin-top: 15px;
}

.sidequest-category {
    display: inline-block;
    margin: 5px 0 10px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f1f1f1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================
   SIDEQUEST LEADERBOARD
   ========================= */

.leaderboard-list {
    margin-top: 25px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 45px 1fr 1fr 80px;
    gap: 10px;
    align-items: center;

    padding: 14px 10px;

    border-bottom: 1px solid #e5e5e5;

    text-align: left;
}

.leaderboard-rank {
    font-weight: 800;
    opacity: 0.45;
}

.leaderboard-name {
    font-weight: 700;
}

.leaderboard-quest {
    opacity: 0.5;
    font-size: 13px;
}

.leaderboard-time {
    text-align: right;
}

.leaderboard-note {
    margin-top: 25px;
    opacity: 0.5;
    font-size: 13px;
}

@media (max-width: 600px) {

    .leaderboard-row {
        grid-template-columns: 35px 1fr 75px;
    }

    .leaderboard-quest {
        display: none;
    }

}

.quest-leaderboards {
    margin-top: 30px;
}

.quest-leaderboard {
    margin-bottom: 35px;
}

.quest-leaderboard h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.quest-leaderboard .leaderboard-row {
    grid-template-columns: 45px 1fr 80px;
}

.logo {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.back-logo {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.5px;
}

.back-logo:hover {
    opacity: 0.6;
}

.pickup-line.final-pick {
    animation: pickupFinal 0.4s ease-out;
}

@keyframes pickupFinal {

    0% {
        transform: scale(1.08);
        opacity: 0.4;
    }

    60% {
        transform: scale(0.98);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pickup-comment {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    opacity: 0.75;
}

/* ============================= */
/* THE BORED GAME™ */
/* ============================= */

.bored-box {
    max-width: 750px;
    margin: 40px auto;
    padding: 45px 30px;
    text-align: center;
}

.bored-icon {
    font-size: 70px;
    margin-bottom: 10px;
}

.bored-box h2 {
    font-size: 38px;
    margin: 10px 0;
}

.bored-box > p {
    max-width: 500px;
    margin: 0 auto 30px;
    opacity: 0.7;
}

.bored-button {
    font-size: 22px;
    padding: 18px 35px;
    transition: transform 0.2s ease;
}

.bored-button:hover {
    transform: scale(1.04);
}

.bored-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bored-roller {
    min-height: 75px;
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 800;
}

.bored-game {
    margin-top: 30px;
}

.bored-game h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.bored-game p {
    opacity: 0.75;
}

.bored-result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
}


/* ============================= */
/* MEMORY TEST */
/* ============================= */

.memory-grid {
    display: grid;
    grid-template-columns: repeat(3, 70px);
    gap: 10px;
    justify-content: center;
    margin: 25px auto;
}

.memory-grid.large {
    grid-template-columns: repeat(4, 60px);
}

.memory-square {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 12px;
    background: #e5e5e5;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.memory-grid.large .memory-square {
    width: 60px;
    height: 60px;
}

.memory-square:hover {
    transform: scale(1.05);
}

.memory-square.highlighted {
    opacity: 1;
}

.memory-square.hidden {
    opacity: 0.35;
}

.memory-square.correct {
    transform: scale(0.92);
}

.memory-square.wrong {
    transform: scale(0.92);
}

.memory-round {
    font-size: 15px;
    font-weight: 800;
    opacity: 0.65;
    margin-bottom: 10px;
}


/* ============================= */
/* CLICK THE THING */
/* ============================= */

.click-game-area {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 25px auto;
    border: 2px solid currentColor;
    border-radius: 18px;
    overflow: hidden;
    cursor: crosshair;
}

.click-target {
    position: absolute;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition:
        width 0.2s ease,
        height 0.2s ease,
        transform 0.1s ease;
}

.click-target:hover {
    transform: scale(1.08);
}

.click-target:active {
    transform: scale(0.85);
}

.click-score {
    font-size: 18px;
    font-weight: 800;
    margin: 15px 0;
}

.click-timer {
    font-size: 15px;
    font-weight: 700;
    opacity: 0.65;
}


/* ============================= */
/* FROG CATCHER */
/* ============================= */

.frog-game-area {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 25px auto;
    border: 2px solid currentColor;
    border-radius: 18px;
    overflow: hidden;
}

.frog-target {
    position: absolute;
    border: none;
    background: transparent;
    font-size: 42px;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.frog-target:hover {
    transform: scale(1.15);
}

.frog-score {
    font-size: 18px;
    font-weight: 800;
    margin: 15px 0;
}


/* ============================= */
/* NUMBER GUESSING */
/* ============================= */

.number-input {
    width: 120px;
    padding: 12px;
    font-size: 20px;
    text-align: center;
    border: 2px solid currentColor;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    margin: 15px;
}

.number-feedback {
    min-height: 30px;
    font-weight: 800;
    margin: 15px 0;
}


/* ============================= */
/* USELESS QUIZ */
/* ============================= */

.quiz-question {
    font-size: 23px;
    font-weight: 800;
    margin: 25px auto;
    max-width: 600px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.quiz-option {
    padding: 14px 18px;
    border: 2px solid currentColor;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.quiz-option:hover {
    transform: scale(1.02);
}


/* ============================= */
/* DRAW SOMETHING */
/* ============================= */

.draw-canvas {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 20px auto;
    border: 2px solid currentColor;
    border-radius: 15px;
    background: white;
    cursor: crosshair;
    touch-action: none;
}

.draw-tools {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}


/* ============================= */
/* IMPOSSIBLE PATTERN */
/* ============================= */

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(4, 60px);
    gap: 10px;
    justify-content: center;
    margin: 25px auto;
}

.pattern-square {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 10px;
    background: #e5e5e5;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.pattern-square:hover {
    transform: scale(1.05);
}

.pattern-square.lit {
    opacity: 1;
}

.pattern-square.unlit {
    opacity: 0.35;
}

.pattern-square.selected {
    transform: scale(0.9);
}


/* ============================= */
/* BORED GAME MOBILE */
/* ============================= */

@media (max-width: 600px) {

    .bored-box {
        padding: 30px 15px;
    }

    .bored-box h2 {
        font-size: 30px;
    }

    .click-game-area,
    .frog-game-area {
        height: 300px;
    }

    .memory-square {
        width: 60px;
        height: 60px;
    }

    .memory-grid.large .memory-square {
        width: 50px;
        height: 50px;
    }

    .pattern-grid {
        grid-template-columns: repeat(4, 50px);
    }

    .pattern-square {
        width: 50px;
        height: 50px;
    }
}

.bored-game .calculate-button {
    margin-top: 18px;
}

/* ============================= */
/* CLICKBAIT TITLE GENERATOR™ */
/* ============================= */

.clickbait-box {
    max-width: 750px;
    margin: 40px auto;
    padding: 45px 30px;
    text-align: center;
}

.clickbait-icon {
    font-size: 70px;
    margin-bottom: 10px;
}

.clickbait-box h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.clickbait-input {
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
    padding: 16px 18px;
    font-size: 18px;
    border: 2px solid currentColor;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    outline: none;
    margin-bottom: 15px;
}

.clickbait-input:focus {
    transform: scale(1.01);
}

.clickbait-result {
    margin-top: 35px;
}

.clickbait-title {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.clickbait-score {
    font-size: 22px;
    font-weight: 800;
    margin-top: 20px;
}

.clickbait-verdict {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.7;
    font-weight: 700;
}

.clickbait-reaction-image {
    display: block;
    width: 360px;
    max-width: 80%;
    margin: 25px auto 0;
    border-radius: 12px;
}

/* ================================
   PICKUP LINE RATINGS
================================ */

#ratingArea {
    margin-top: 24px;
    text-align: center;
}

.rate-line-button {
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 10px 18px;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rate-line-button:hover {
    transform: translateY(-2px);
    opacity: 0.75;
}

.rating-prompt p {
    margin-bottom: 12px;
}

.rating-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rating-buttons button {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
    filter: grayscale(1);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.rating-buttons button:hover {
    transform: scale(1.2);
    filter: grayscale(0);
}

.rating-thanks {
    opacity: 0.7;
}

.rating-error {
    opacity: 0.7;
}


/* ================================
   TOP 3 PICKUP LINES
================================ */

.top-pickup-lines {
    width: min(700px, 90%);
    margin: 70px auto 40px;
}

.top-pickup-lines h2 {
    text-align: center;
    margin-bottom: 25px;
}

.top-line {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.top-line-rank {
    font-size: 28px;
    min-width: 42px;
    text-align: center;
}

.top-line-content {
    flex: 1;
}

.top-line-text {
    font-size: 16px;
    line-height: 1.5;
}

.top-line-rating {
    margin-top: 7px;
    font-size: 14px;
    opacity: 0.65;
}

@media (max-width: 600px) {

    .top-pickup-lines {
        width: 92%;
    }

    .top-line {
        gap: 10px;
    }

    .top-line-rank {
        min-width: 32px;
        font-size: 23px;
    }

    .top-line-text {
        font-size: 15px;
    }

}

.top-pickup-lines {
    width: min(700px, 90%);
    margin: 80px auto 50px;
}

.top-pickup-lines h2 {
    text-align: center;
    margin: 8px 0 35px;
}

.top-pickup-lines .eyebrow {
    text-align: center;
}

#topPickupLines {
    border-top: 1px solid rgba(128, 128, 128, 0.25);
}

.top-line {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 5px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.top-line-rank {
    font-size: 30px;
    min-width: 45px;
    text-align: center;
}

.top-line-content {
    flex: 1;
}

.top-line-text {
    font-size: 16px;
    line-height: 1.5;
}

.top-line-rating {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.6;
}

.leaderboard-empty {
    text-align: center;
    padding: 30px;
    opacity: 0.6;
}

@media (max-width: 600px) {

    .top-pickup-lines {
        width: 92%;
    }

    .top-line {
        gap: 10px;
    }

    .top-line-rank {
        min-width: 35px;
        font-size: 24px;
    }

    .top-line-text {
        font-size: 15px;
    }

}

.leaderboard-loading {
    text-align: center;
    padding: 30px;
    opacity: 0.6;
}

.loading-dots::after {
    content: "";
    display: inline-block;
    width: 20px;
    text-align: left;
    animation: loadingDots 1.4s infinite;
}

@keyframes loadingDots {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    75% {
        content: "...";
    }

    100% {
        content: "";
    }
}

/* =========================
   REVIEWS
========================= */

.reviews-section {
    width: 100%;
    margin-top: 90px;
    margin-bottom: 30px;
    overflow: hidden;
}

.reviews-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.reviews-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: reviewScroll 35s linear infinite;
}

.review-card {
    width: 280px;
    min-height: 145px;
    padding: 20px;
    border-radius: 18px;
    background: #f5f5f5;
    box-sizing: border-box;
    flex-shrink: 0;
}

.stars {
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.review-card p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.review-card span {
    font-size: 13px;
    opacity: 0.6;
}

@keyframes reviewScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }
}

/* Pause when someone hovers over the reviews */
.reviews-track:hover {
    animation-play-state: paused;
}

/* Mobile */
@media (max-width: 600px) {
    .reviews-section {
        margin-top: 60px;
    }

    .reviews-section h2 {
        font-size: 24px;
    }

    .review-card {
        width: 250px;
    }

    .reviews-track {
        animation-duration: 30s;
    }
}

.worst-lines-section {
    text-align: center;
}

.worst-lines-section h2 {
    text-align: center;
}

#worstPickupLines {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#worstPickupLines .top-line {
    width: 100%;
    max-width: 600px;
    text-align: left;
}

/* =========================
   SIDEQUEST VERIFICATION
   ========================= */

.sidequest-verification-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(8px);

    animation: verificationFade 0.18s ease-out;
}

.sidequest-verification-popup {
    width: min(410px, 100%);
    box-sizing: border-box;

    padding: 32px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.22);

    animation: verificationPop 0.2s ease-out;
}

.sidequest-verification-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: #f5f5f5;
    border-radius: 14px;

    font-size: 26px;
}

.sidequest-verification-popup h2 {
    margin: 0 0 8px;

    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.sidequest-verification-popup > p {
    margin: 7px 0;

    color: #666;
    line-height: 1.5;
}

.sidequest-verification-popup > p strong {
    color: #222;
}

/* Checkbox rows */

.verification-check {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 12px;
    padding: 14px 15px;

    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    color: #333;
    font-size: 0.92rem;
    text-align: left;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.verification-check:hover {
    background: #f5f5f5;
    border-color: #d5d5d5;
}

.verification-check:has(input:checked) {
    background: #f1f1f1;
    border-color: #bdbdbd;
}

.verification-check input {
    flex-shrink: 0;

    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #222;

    cursor: pointer;
}

/* Timer warning */

.verification-warning {
    margin: 18px 0;

    padding: 10px 12px;

    background: #fafafa;
    border-radius: 9px;

    color: #777;

    font-size: 0.82rem;
}

/* Buttons */

.sidequest-verification-popup .calculate-button {
    width: 100%;
    margin-top: 4px;
}

.sidequest-verification-popup .calculate-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.sidequest-verification-popup .sidequest-secondary-button {
    width: 100%;
    margin-top: 8px;

    background: transparent;
    border: none;

    color: #888;

    font-size: 0.85rem;
}

.sidequest-verification-popup .sidequest-secondary-button:hover {
    color: #333;
}

/* Animations */

@keyframes verificationFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes verificationPop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(5px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* =========================
   SIDEQUEST HONOUR SYSTEM
   ========================= */

.sidequest-oath-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(8px);

    animation: oathFade 0.18s ease-out;
}

.sidequest-oath-popup {
    width: min(440px, 100%);
    box-sizing: border-box;

    padding: 32px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;

    text-align: center;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);

    animation: oathPop 0.2s ease-out;
}

.sidequest-oath-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: #f5f5f5;
    border-radius: 14px;

    font-size: 26px;
}

.sidequest-oath-popup h2 {
    margin: 0 0 10px;

    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.sidequest-oath-popup > p {
    margin: 7px 0;

    color: #666;
    line-height: 1.5;
}

.sidequest-oath-terms {
    margin: 20px 0;

    padding: 16px;

    background: #fafafa;
    border-radius: 12px;

    text-align: left;

    color: #555;
    font-size: 0.88rem;
}

.sidequest-oath-terms strong {
    color: #222;
}

.sidequest-oath-terms ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.sidequest-oath-terms li {
    margin: 6px 0;
}

.oath-check {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 15px;

    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    color: #333;
    font-size: 0.92rem;
    text-align: left;

    cursor: pointer;
}

.oath-check input {
    flex-shrink: 0;

    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #222;

    cursor: pointer;
}

.sidequest-oath-popup .calculate-button {
    width: 100%;
    margin-top: 14px;
}

.sidequest-oath-popup .calculate-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@keyframes oathFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes oathPop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(5px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* =========================
   DO NOT PRESS
   ========================= */

.collection-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.do-not-press {
    text-align: right;
    margin-bottom: 4px;
}

.do-not-press-button {
    border: none;
    background: none;
    padding: 0;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.do-not-press-button:hover {
    transform: translateY(-2px);
    opacity: 0.55;
}

.do-not-press-button.explode {
    animation: tinyExplosion 0.4s ease forwards;
    pointer-events: none;
}

.do-not-press-button.already-pressed {
    cursor: default;
    opacity: 0.35;
}

.do-not-press-button.already-pressed:hover {
    transform: none;
    opacity: 0.35;
}

@keyframes tinyExplosion {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    40% {
        transform: scale(1.35) rotate(-5deg);
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.do-not-press-message {
    height: 20px;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.do-not-press-message.show {
    opacity: 1;
    transform: translateY(0);
}

.do-not-press-count {
    margin-top: 2px;
    font-size: 10px;
    opacity: 0.4;
}

#pressCount {
    font-weight: 700;
    opacity: 1;
}

@media (max-width: 600px) {

    .collection-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .do-not-press {
        text-align: left;
        margin-top: 5px;
    }

}

/* =========================================================
   SHOWER THOUGHT GEN™
   ========================================================= */

.shower-thought-page {
    max-width: 1100px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.shower-thought-hero {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 30px 50px;
}

.shower-thought-icon {
    font-size: 70px;
    margin-bottom: 20px;
    animation: showerThoughtFloat 3s ease-in-out infinite;
}

@keyframes showerThoughtFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }

}

.shower-thought-hero h1 {
    font-size: clamp(50px, 8vw, 95px);
    line-height: 0.95;
    letter-spacing: -5px;
    max-width: 900px;
}

.shower-thought-subtitle {
    max-width: 550px;
    margin-top: 25px;
    font-size: 18px;
    opacity: 0.55;
}


/* ---------------------------------------------------------
   GENERATOR
   --------------------------------------------------------- */

.shower-thought-generator {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}


/* ---------------------------------------------------------
   THOUGHT CARD
   --------------------------------------------------------- */

.shower-thought-card {
    background: white;
    border-radius: 30px;
    padding: 70px 50px;
    min-height: 280px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-shadow:
        0 5px 30px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.shower-thought-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);
}

.shower-thought-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.35;
    margin-bottom: 25px;
}

.shower-thought-text {
    max-width: 650px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.8px;
}


/* ---------------------------------------------------------
   ROLL ANIMATION
   --------------------------------------------------------- */

.shower-thought-card.shower-thought-changing {
    animation: showerThoughtChange 0.45s ease;
}

@keyframes showerThoughtChange {

    0% {
        opacity: 0.3;
        transform: scale(0.97) translateY(8px);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02) translateY(-3px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.shower-thought-button {
    margin-top: 30px;

    padding: 17px 30px;

    border: none;
    border-radius: 100px;

    background: #111111;
    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.shower-thought-button:hover {
    transform: translateY(-3px);
}

.shower-thought-button:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   COUNTER
   --------------------------------------------------------- */

.shower-thought-counter {
    margin-top: 15px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;

    opacity: 0.35;
}


/* ---------------------------------------------------------
   BOTTOM SECTION
   --------------------------------------------------------- */

.shower-thought-bottom {
    max-width: 700px;
    margin: 0 auto;

    padding: 150px 30px;

    text-align: center;
}

.shower-thought-bottom h2 {
    font-size: 45px;
    line-height: 1;
    letter-spacing: -2px;
}

.shower-thought-bottom p:last-child {
    margin-top: 20px;

    font-size: 18px;
    opacity: 0.5;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .shower-thought-hero {
        min-height: 55vh;
        padding: 60px 20px 30px;
    }

    .shower-thought-icon {
        font-size: 55px;
    }

    .shower-thought-hero h1 {
        letter-spacing: -3px;
    }

    .shower-thought-card {
        padding: 50px 25px;
        min-height: 250px;
    }

    .shower-thought-text {
        font-size: 24px;
    }

    .shower-thought-bottom {
        padding: 100px 25px;
    }

    .shower-thought-bottom h2 {
        font-size: 38px;
    }

}

/* =========================================================
   EARTH REVIEWS™
   ========================================================= */

.earth-page {
    max-width: 1100px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.earth-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 30px;
}

.earth-globe {
    font-size: 85px;
    margin-bottom: 25px;
    animation: earthFloat 3s ease-in-out infinite;
}

@keyframes earthFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.earth-hero h1 {
    font-size: clamp(55px, 9vw, 105px);
    line-height: 0.95;
    letter-spacing: -5px;
}

.earth-subtitle {
    max-width: 500px;
    margin-top: 25px;
    font-size: 18px;
    opacity: 0.55;
}


/* ---------------------------------------------------------
   MAIN RATING
   --------------------------------------------------------- */

.earth-main-rating {
    margin-top: 45px;
    text-align: center;
}

.earth-rating-number {
    font-size: 70px;
    font-weight: 800;
    letter-spacing: -4px;
}

.earth-stars {
    font-size: 30px;
    letter-spacing: 3px;
}

.earth-main-rating p {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.4;
}


/* ---------------------------------------------------------
   CATEGORIES
   --------------------------------------------------------- */

.earth-categories {
    padding: 100px 30px;
}

.earth-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.earth-category {
    background: white;
    padding: 25px;
    border-radius: 20px;

    display: flex;
    align-items: center;
    gap: 20px;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.earth-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

.earth-category > span {
    font-size: 35px;
}

.earth-category h3 {
    font-size: 20px;
}

.earth-category p {
    margin-top: 3px;
    font-size: 14px;
    opacity: 0.5;
}


/* ---------------------------------------------------------
   PLAYER RATING
   --------------------------------------------------------- */

.player-rating-section {
    padding: 100px 30px 50px;
    text-align: center;
}

.player-rating-section h2 {
    font-size: 55px;
    letter-spacing: -3px;
}

.player-rating-box {
    max-width: 500px;
    margin: 35px auto 0;

    background: white;
    padding: 45px;

    border-radius: 25px;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.player-rating-number {
    font-size: 60px;
    font-weight: 800;
    letter-spacing: -3px;
}

.player-rating-box p {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.45;
}


/* ---------------------------------------------------------
   WRITE REVIEW
   --------------------------------------------------------- */

.write-earth-review {
    max-width: 700px;
    margin: 0 auto;

    padding: 100px 30px;

    text-align: center;
}

.write-earth-review h2 {
    font-size: 55px;
    letter-spacing: -3px;
}

.earth-review-intro {
    margin-top: 15px;
    opacity: 0.5;
}

.earth-review-form {
    margin-top: 35px;

    background: white;
    padding: 40px;

    border-radius: 25px;

    text-align: left;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.earth-review-form label {
    display: block;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 25px;
}

.earth-review-form input,
.earth-review-form textarea {
    width: 100%;

    margin-top: 8px;

    padding: 14px 16px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    outline: none;

    background: #fafafa;

    transition:
        border 0.2s ease,
        background 0.2s ease;
}

.earth-review-form input:focus,
.earth-review-form textarea:focus {
    border-color: #111111;
    background: white;
}

.earth-review-form textarea {
    min-height: 130px;
    resize: vertical;
}


/* ---------------------------------------------------------
   STAR PICKER
   --------------------------------------------------------- */

.earth-star-picker {
    margin-bottom: 25px;
}

.earth-star-picker > span {
    display: block;

    font-size: 13px;
    font-weight: 600;
}

.earth-rating-buttons {
    display: flex;
    gap: 6px;

    margin-top: 10px;
}

.earth-rating-buttons button {
    border: none;
    background: transparent;

    font-size: 35px;

    cursor: pointer;

    color: #cccccc;

    padding: 0;

    transition:
        transform 0.15s ease,
        color 0.15s ease;
}

.earth-rating-buttons button:hover {
    transform: scale(1.15);
}

.earth-rating-buttons button.selected {
    color: #FFD700 !important;
}

#earthSelectedRating {
    margin-top: 8px;

    font-size: 12px;

    opacity: 0.5;
}


/* ---------------------------------------------------------
   CHARACTER COUNTER
   --------------------------------------------------------- */

.earth-review-form small {
    display: block;

    margin-top: 5px;

    font-size: 11px;

    opacity: 0.4;

    text-align: right;
}


/* ---------------------------------------------------------
   SUBMIT BUTTON
   --------------------------------------------------------- */

.earth-submit-button {
    width: 100%;

    padding: 16px;

    border: none;
    border-radius: 100px;

    background: #111111;
    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.earth-submit-button:hover {
    transform: translateY(-2px);
}

.earth-submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


/* ---------------------------------------------------------
   REVIEW MESSAGE
   --------------------------------------------------------- */

.earth-review-message {
    margin-top: 15px;

    text-align: center;

    font-size: 13px;

    min-height: 20px;

    opacity: 0;
}


/* ---------------------------------------------------------
   PLAYER REVIEWS
   --------------------------------------------------------- */

.earth-reviews-list,
.earth-funny-reviews {
    padding: 100px 30px;
}

.earth-review-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-top: 40px;
}

.earth-review-card {
    background: white;

    padding: 30px;

    border-radius: 22px;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.earth-review-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.earth-review-stars {
    font-size: 17px;

    letter-spacing: 2px;
}

.earth-review-top span {
    font-size: 12px;

    font-weight: 600;

    opacity: 0.5;
}

.earth-review-card p {
    font-size: 16px;

    line-height: 1.5;
}

.earth-review-card small {
    display: block;

    margin-top: 20px;

    font-size: 11px;

    opacity: 0.4;
}


/* ---------------------------------------------------------
   LOADING
   --------------------------------------------------------- */

.earth-loading {
    grid-column: 1 / -1;

    background: white;

    padding: 50px;

    border-radius: 22px;

    text-align: center;

    font-size: 14px;

    opacity: 0.5;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}


/* ---------------------------------------------------------
   FINAL SECTION
   --------------------------------------------------------- */

.earth-final {
    padding: 150px 30px;

    text-align: center;
}

.earth-globe-small {
    font-size: 55px;

    margin-bottom: 20px;
}

.earth-final h2 {
    font-size: 50px;

    letter-spacing: -3px;
}

.earth-final-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

.earth-final-buttons button {
    padding: 14px 25px;

    border: none;
    border-radius: 100px;

    background: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    transition: transform 0.2s ease;
}

.earth-final-buttons button:hover {
    transform: translateY(-3px);
}

#earthFinalMessage {
    margin-top: 20px;

    font-size: 13px;

    opacity: 0.5;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .earth-hero {
        min-height: 60vh;
        padding: 60px 20px;
    }

    .earth-globe {
        font-size: 65px;
    }

    .earth-hero h1 {
        letter-spacing: -3px;
    }

    .earth-category-grid {
        grid-template-columns: 1fr;
    }

    .earth-review-grid {
        grid-template-columns: 1fr;
    }

    .player-rating-section h2,
    .write-earth-review h2 {
        font-size: 45px;
    }

    .earth-review-form {
        padding: 30px 25px;
    }

    .earth-final h2 {
        font-size: 40px;
    }

}

/* =========================
   SPEND NEW ZEALAND'S GDP™
   ========================= */

.spend-gdp-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

/* ---------------------------------------------------------
   BALANCE
   --------------------------------------------------------- */

.earth-globe {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.spend-gdp-balance-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.35;
    margin-bottom: 12px;
}

.spend-gdp-balance {
    font-size: clamp(38px, 7vw, 70px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    word-break: break-word;
    transition: transform 0.15s ease;
}

.spend-gdp-balance.spend-gdp-money-change {
    transform: scale(1.02);
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.spend-gdp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.spend-gdp-stat {
    padding: 18px 20px;
    background: #f8f8f8;
    border-radius: 15px;
}

.spend-gdp-stat span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 6px;
}

.spend-gdp-stat strong {
    font-size: 20px;
    letter-spacing: -0.5px;
}


/* ---------------------------------------------------------
   ITEM SECTIONS
   --------------------------------------------------------- */

.spend-gdp-section {
    margin-top: 55px;
}

.spend-gdp-section h2 {
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   ITEM GRID
   --------------------------------------------------------- */

.spend-gdp-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}


/* ---------------------------------------------------------
   ITEM CARD
   --------------------------------------------------------- */

.spend-gdp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 18px;

    border: 1px solid #eeeeee;
    border-radius: 15px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.spend-gdp-item:hover {
    transform: translateY(-3px);
    background: #fafafa;
}


/* ---------------------------------------------------------
   ITEM INFORMATION
   --------------------------------------------------------- */

.spend-gdp-item-info {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.spend-gdp-item-emoji {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f5;
    border-radius: 12px;

    font-size: 21px;
    flex-shrink: 0;
}

.spend-gdp-item h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.spend-gdp-item-info p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.5;
}


/* ---------------------------------------------------------
   BUY / SELL CONTROLS
   --------------------------------------------------------- */

.spend-gdp-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.spend-gdp-minus,
.spend-gdp-plus {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dddddd;
    border-radius: 10px;

    background: white;
    color: #111111;

    font-size: 20px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.spend-gdp-minus:hover,
.spend-gdp-plus:hover {
    background: #111111;
    color: white;
    border-color: #111111;
    transform: translateY(-2px);
}

.spend-gdp-minus:active,
.spend-gdp-plus:active {
    transform: scale(0.92);
}

.spend-gdp-minus:disabled {
    opacity: 0.25;
    cursor: default;
    transform: none;
    background: white;
    color: #111111;
    border-color: #dddddd;
}

.spend-gdp-quantity {
    min-width: 28px;

    font-size: 14px;
    font-weight: 800;
    text-align: center;

    transition: transform 0.15s ease;
}

.spend-gdp-quantity.spend-gdp-cant-afford {
    animation: spendGdpShake 0.3s ease;
}

.spend-gdp-quantity.spend-gdp-sold {
    transform: scale(1.15);
}

@keyframes spendGdpShake {

    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }

}

/* ---------------------------------------------------------
   FINISHED STATE
   --------------------------------------------------------- */

.spend-gdp-finished {
    display: none;

    margin-top: 60px;
    padding: 40px 30px;

    background: #f7f7f7;
    border-radius: 22px;

    text-align: center;
}

.spend-gdp-finished.spend-gdp-finished-visible {
    display: block;
    animation: spendGdpReveal 0.5s ease;
}

.spend-gdp-finished-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.spend-gdp-finished h2 {
    margin: 0;

    font-size: clamp(30px, 5vw, 45px);
    letter-spacing: -2px;
}

.spend-gdp-finished p {
    max-width: 500px;
    margin: 12px auto 25px;

    font-size: 14px;
    line-height: 1.6;

    opacity: 0.55;
}


/* ---------------------------------------------------------
   ANIMATION
   --------------------------------------------------------- */

@keyframes spendGdpReveal {

    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .spend-gdp-box {
        padding: 40px 25px;
    }

    .spend-gdp-balance {
        font-size: clamp(32px, 10vw, 55px);
        letter-spacing: -2px;
    }

    .spend-gdp-stats {
        grid-template-columns: 1fr;
    }

    .spend-gdp-items {
        grid-template-columns: 1fr;
    }

    .spend-gdp-item {
        padding: 16px;
    }

}

@media (max-width: 450px) {

    .spend-gdp-item {
        align-items: flex-start;
    }

    .spend-gdp-item-controls {
        flex-direction: column;
        align-items: flex-end;
    }

}

/* =========================
   IMMORTAL™
   ========================= */

.immortal-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}


/* ---------------------------------------------------------
   CREATURE
   --------------------------------------------------------- */

.immortal-creature-section {
    text-align: center;
    margin-bottom: 35px;
}

.immortal-creature {
    width: 150px;
    height: 150px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f7f7f7;
    border-radius: 35px;

    font-size: 75px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.immortal-creature:hover {
    transform: translateY(-5px) rotate(2deg);
}

.immortal-speech {
    display: inline-block;

    max-width: 600px;

    padding: 14px 20px;

    background: #f7f7f7;
    border-radius: 15px;

    font-size: 15px;
    font-weight: 700;

    transition: transform 0.2s ease;
}

.immortal-speech-pop {
    animation: immortalSpeechPop 0.3s ease;
}

@keyframes immortalSpeechPop {

    0% {
        transform: scale(0.95);
    }

    60% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }

}


/* ---------------------------------------------------------
   MONEY
   --------------------------------------------------------- */

.immortal-money {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px;

    margin-bottom: 20px;

    background: #f8f8f8;
    border-radius: 15px;
}

.immortal-money span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    opacity: 0.45;
}

.immortal-money strong {
    font-size: 25px;
    letter-spacing: -1px;
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.immortal-stats {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-top: 25px;
}

.immortal-stat {
    padding: 18px 20px;

    background: #f8f8f8;

    border-radius: 15px;
}

.immortal-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
}

.immortal-stat-top span {
    font-size: 12px;
    font-weight: 800;
}

.immortal-stat-top strong {
    font-size: 13px;
}


/* ---------------------------------------------------------
   STAT BARS
   --------------------------------------------------------- */

.immortal-stat-bar {
    width: 100%;
    height: 8px;

    overflow: hidden;

    background: #e9e9e9;

    border-radius: 10px;
}

.immortal-stat-fill {
    width: 100%;
    height: 100%;

    background: #111111;

    border-radius: 10px;

    transition: width 0.4s ease;
}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.immortal-actions {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-top: 30px;
}

.immortal-actions .calculate-button {
    width: 100%;
}


/* ---------------------------------------------------------
   SHOP
   --------------------------------------------------------- */

.immortal-shop {
    margin-top: 55px;
}

.immortal-shop h2 {
    font-size: 13px;
    letter-spacing: 1.5px;

    margin-bottom: 18px;

    text-transform: uppercase;
}

.immortal-shop-items {
    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;
}

.immortal-shop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 18px;

    border: 1px solid #eeeeee;
    border-radius: 15px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.immortal-shop-item:hover {
    transform: translateY(-3px);

    background: #fafafa;

    border-color: #dddddd;
}

.immortal-shop-item strong {
    display: block;

    font-size: 15px;
    font-weight: 800;
}

.immortal-shop-item span {
    display: block;

    margin-top: 4px;

    font-size: 13px;

    opacity: 0.5;
}

.immortal-shop-item button {
    min-width: 65px;

    padding: 9px 14px;

    border: 1px solid #dddddd;
    border-radius: 10px;

    background: white;
    color: #111111;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.immortal-shop-item button:hover {
    background: #111111;
    color: white;

    border-color: #111111;

    transform: translateY(-2px);
}

.immortal-shop-item button:active {
    transform: scale(0.94);
}


/* ---------------------------------------------------------
   RECORDS
   --------------------------------------------------------- */

.immortal-records {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 45px;
}

.immortal-records > div {
    padding: 18px;

    background: #f8f8f8;

    border-radius: 15px;

    text-align: center;
}

.immortal-records span {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    opacity: 0.4;
}

.immortal-records strong {
    font-size: 20px;
}


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

.immortal-reset {
    margin-top: 30px;

    text-align: center;
}

.immortal-reset .calculate-button {
    opacity: 0.65;
}

.immortal-reset .calculate-button:hover {
    opacity: 1;
}


/* ---------------------------------------------------------
   LOW STAT EFFECT
   --------------------------------------------------------- */

.immortal-stat-fill.immortal-stat-low {
    animation: immortalStatPulse 1s infinite;
}

@keyframes immortalStatPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .immortal-box {
        padding: 40px 25px;
    }

    .immortal-stats {
        grid-template-columns: 1fr;
    }

    .immortal-actions {
        grid-template-columns: 1fr;
    }

    .immortal-records {
        grid-template-columns: 1fr;
    }

    .immortal-creature {
        width: 130px;
        height: 130px;

        font-size: 65px;
    }

}


@media (max-width: 450px) {

    .immortal-money {
        align-items: flex-start;

        gap: 10px;
    }

    .immortal-money strong {
        font-size: 21px;
    }

    .immortal-shop-item {
        align-items: flex-start;
    }

}

/* =========================================================
   THE PASSWORD™
   Noah.What
   ========================================================= */

.password-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
}

.password-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.password-input-area {
    margin-bottom: 35px;
}

.password-input-area label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #777;
}

#passwordInput {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e5e5e2;
    border-radius: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#passwordInput:focus {
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.password-rules {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-rule {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    background: #f7f7f5;
    border-radius: 15px;
    transition: 0.2s;
}

.password-rule-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    background: #e5e5e2;
}

.password-rule-text {
    font-size: 15px;
    line-height: 1.4;
}

.password-rule.completed {
    background: #f1f8f1;
}

.password-rule.completed .password-rule-icon {
    background: #111;
    color: white;
}

.password-rule.failed .password-rule-icon {
    background: #e5e5e2;
}

.password-success {
    text-align: center;
    padding: 50px 20px 20px;
}

.password-success-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.password-success h2 {
    margin: 0 0 15px;
    font-size: 32px;
}

.password-success p {
    color: #666;
    max-width: 500px;
    margin: 0 auto 15px;
}

.password-final-message {
    font-weight: 700;
    color: #111 !important;
}

.password-success .calculate-button {
    margin-top: 20px;
}


@media (max-width: 700px) {

    .password-box {
        padding: 30px 25px;
    }

    .password-rule {
        padding: 14px;
    }

    .password-rule-text {
        font-size: 14px;
    }

}


@media (max-width: 450px) {

    .password-box {
        padding: 25px 18px;
        border-radius: 22px;
    }

    #passwordInput {
        font-size: 16px;
    }

}

/* =========================================================
   THE PASSWORD™ ANIMATIONS
   ========================================================= */

.password-rule {
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}


/* New rule slides in */

.password-rule-new {
    animation: passwordRuleAppear 0.45s ease;
}


@keyframes passwordRuleAppear {

    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.97);
    }

    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* Completed rule gets a tiny pop */

.password-rule.completed {
    animation: passwordRuleComplete 0.2s ease;
}


@keyframes passwordRuleComplete {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }

    100% {
        transform: scale(1);
    }

}


/* Success screen */

.password-success-show {
    animation: passwordSuccessAppear 0.5s ease;
}


@keyframes passwordSuccessAppear {

    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

/* =========================================================
   THE PASSWORD™ — CERTIFICATE
   Noah.What
   ========================================================= */


/* ---------------------------------------------------------
   CERTIFICATE CONTAINER
   --------------------------------------------------------- */

.password-certificate {
    display: none;
    margin-top: 40px;
}

.password-certificate-show {
    display: block;
    animation: certificateAppear 0.7s ease;
}


/* ---------------------------------------------------------
   CERTIFICATE
   --------------------------------------------------------- */

.certificate-inner {
    position: relative;
    padding: 55px 50px;
    background: white;
    border: 8px solid #111111;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
}


/* Small TM in the corner */

.certificate-inner::before {
    content: "™";
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 18px;
    font-weight: 700;
    color: #ddddda;
}


/* Giant Noah.What watermark */

.certificate-inner::after {
    content: "NOAH.WHAT";
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 70px;
    font-weight: 900;
    color: #f3f3f1;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}


/* ---------------------------------------------------------
   CERTIFICATE CONTENT
   --------------------------------------------------------- */

.certificate-eyebrow {
    position: relative;
    z-index: 1;

    margin: 0 0 20px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;

    color: #777777;
}


.certificate-trophy {
    position: relative;
    z-index: 1;

    font-size: 55px;

    margin-bottom: 15px;
}


.certificate-inner h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 20px;

    font-size: 30px;
    line-height: 1.1;

    letter-spacing: -0.02em;
}


.certificate-intro {
    position: relative;
    z-index: 1;

    margin: 0 0 12px;

    color: #666666;
}


/* ---------------------------------------------------------
   PASSWORD DISPLAY
   --------------------------------------------------------- */

.certificate-password {
    position: relative;
    z-index: 1;

    display: inline-block;

    max-width: 100%;

    margin: 0 auto 20px;
    padding: 12px 20px;

    background: #f7f7f5;

    border-radius: 10px;

    font-family: monospace;
    font-size: 17px;
    font-weight: 700;

    word-break: break-all;
}


.certificate-text {
    position: relative;
    z-index: 1;

    max-width: 600px;

    margin: 0 auto 30px;

    color: #555555;

    line-height: 1.6;
}


/* ---------------------------------------------------------
   CERTIFICATE STATS
   --------------------------------------------------------- */

.certificate-stats {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;

    gap: 50px;

    margin: 30px 0;
}


.certificate-stats div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.certificate-stats strong {
    font-size: 22px;
}


.certificate-stats span {
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.1em;

    color: #888888;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.certificate-footer {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    margin-top: 35px;
    padding-top: 15px;

    border-top: 1px solid #dddddd;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   DOWNLOAD BUTTON
   --------------------------------------------------------- */

.certificate-download-button {
    display: none;

    margin: 20px auto 0;
}


.certificate-download-button-show {
    display: block;
}


/* ---------------------------------------------------------
   CERTIFICATE ANIMATION
   --------------------------------------------------------- */

@keyframes certificateAppear {

    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.94) rotate(-1deg);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.01) rotate(0.3deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .certificate-inner {
        padding: 40px 25px;
        border-width: 5px;
    }


    .certificate-inner h2 {
        font-size: 24px;
    }


    .certificate-trophy {
        font-size: 45px;
    }


    .certificate-stats {
        gap: 25px;
    }


    .certificate-footer {
        flex-direction: column;
        gap: 8px;
    }


    .certificate-inner::after {
        font-size: 45px;
    }

}