/* ===== GENERAL PAGE SETTINGS ===== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #ffc1df;
    color: #c94383;

    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
}


/* ===== TITLE SCREEN ===== */

header {
    min-height: 85vh;
    padding: 100px 20px 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

header h1 {
    max-width: 900px;
    margin: 0;

    font-family: "Trebuchet MS", sans-serif;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 1.15;

    background: linear-gradient(
        90deg,
        #ed5599,
        #ff91c6,
        #d82e80
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

    text-shadow: 0 3px 15px #ffffff55;
}

header h2 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: normal;
}

header p {
    max-width: 600px;
    margin-top: 45px;

    font-style: italic;
    font-size: 20px;
}


/* ===== MAIN CONTENT ===== */

main {
    width: 90%;
    max-width: 1050px;
    margin: auto;
}

section {
    padding: 75px 20px;
    margin-bottom: 35px;
}

section h2 {
    font-family: "Trebuchet MS", sans-serif;
    font-size: clamp(20px, 4vw, 30px);
    line-height: 1.3;
}


/* ===== DECORATIVE DIVIDERS ===== */

section::before {
    content: "～ ✦ ～";
    display: block;

    text-align: center;
    font-size: 32px;
    letter-spacing: 12px;

    color: #e65b9b;
    margin-bottom: 35px;
}


/* ===== SECTION CARDS ===== */

#case-one,
#case-two,
#translator,
#qna,
#conclusion {
    background: #ffd5e9;
    border-radius: 25px;

    box-shadow: 0 8px 25px #c9438320;
}


/* ===== FOOTER ===== */

footer {
    padding: 80px 20px;
    text-align: center;
}

footer h2 {
    font-size: 35px;
}


/* ===== TITLE DECORATIONS ===== */

#title {
    position: relative;
    overflow: hidden;
}

.decoration {
    position: absolute;
    color: #e64d91;
    pointer-events: none;
}

.sparkle {
    animation: sparkle 2s ease-in-out infinite alternate;
}

.sparkle-one {
    top: 15%;
    left: 15%;
    font-size: 55px;
}

.sparkle-two {
    top: 25%;
    right: 16%;
    font-size: 40px;
    animation-delay: 0.5s;
}

.sparkle-three {
    bottom: 22%;
    left: 22%;
    font-size: 30px;
    animation-delay: 1s;
}

@keyframes sparkle {
    from {
        opacity: 0.35;
        transform: scale(0.8) rotate(0deg);
    }

    to {
        opacity: 1;
        transform: scale(1.2) rotate(25deg);
    }
}


/* ===== LITTLE CORNER NOTES ===== */

.corner-note {
    position: absolute;
    color: #bd3976;
    font-size: 13px;
    font-style: italic;
    opacity: 0.85;
}

.note-one {
    top: 12%;
    right: 12%;
    transform: rotate(10deg);
}

.note-two {
    top: 20%;
    left: 9%;
    transform: rotate(-9deg);
}

.note-three {
    bottom: 18%;
    right: 8%;
    transform: rotate(7deg);
    text-align: right;
}

.note-four {
    bottom: 5%;
    left: 50%;
    width: 90%;
    transform: translateX(-50%) rotate(-3deg);
    text-align: center;
    font-size: 12px;
}


/* ===== TITLE DIVIDER ===== */

.title-line {
    margin-top: 25px;
    font-size: 25px;
    letter-spacing: 8px;
    color: #e64d91;
}


/* ===== START BUTTON ===== */

.start-button {
    display: inline-block;
    margin-top: 35px;
    padding: 12px 25px;

    background: #e95b9c;
    color: white;
    text-decoration: none;

    border-radius: 30px;
    box-shadow: 0 5px 15px #c9438340;

    transition: 0.25s;
}

.start-button:hover {
    transform: translateY(-4px) scale(1.04);
    background: #d83c85;
}


/* ===== CASE ONE ===== */

.section-intro {
    font-style: italic;
    margin-bottom: 35px;
}


/* ===== SCREENSHOT PYRAMID ===== */

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 25px;

    width: 100%;
    max-width: 750px;
    margin: 35px auto 60px;
}

.screenshot-placeholder {
    position: relative;

    width: 100%;
    min-width: 0;
    min-height: 190px;

    padding: 20px;

    background: #fff0f7;
    border: 2px dashed #e875a8;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #bd3976;

    overflow: hidden;
}

.screenshot-gallery .screenshot-placeholder:nth-child(3) {
    grid-column: 1 / -1;
    width: 50%;
}


/* ===== SCREENSHOT IMAGES ===== */

.screenshot-placeholder img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    border-radius: 10px;
}


/* ===== CATS FOR SCREENSHOTS ===== */

.screenshot-placeholder .screenshot-cat {
    position: absolute;

    width: 45px !important;
    height: auto !important;

    top: -25px;
    right: -12px;

    opacity: 0.85;

    object-fit: contain;

    z-index: 2;
}


/* ===== EXPLANATION ===== */

.explanation {
    padding: 25px;
    background: #ffe8f3;
    border-radius: 20px;
}

.explanation h3 {
    font-size: 23px;
    margin-top: 0;
}

.explanation-item {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 18px 0;
}

.explanation-item span {
    min-width: 38px;
    height: 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #fff0f7;
    color: #e64d91;

    border: 1px solid #f5a2c6;
    border-radius: 50%;

    font-size: 25px;

    box-shadow:
        0 0 8px #ff91c6,
        0 0 16px #ff91c655;

    animation: sparkle 2s ease-in-out infinite alternate;
}

.explanation-item p {
    margin: 0;
}


/* ===== SAD CAT GIF ===== */

.cat-apology {
    margin-top: 40px;

    text-align: center;

    font-size: 30px;
    font-style: italic;
}

.sad-cat {
    display: block;

    width: 180px;
    height: auto;

    margin: 15px auto 0;

    border-radius: 15px;
}


/* ===== CASE TWO ===== */

.chart-note {
    display: inline-block;

    margin: 5px 0 30px;
    padding: 6px 12px;

    background: #fff0f7;
    border: 1px dashed #e875a8;

    font-size: 13px;
    font-style: italic;
}


/* ===== COMMUNICATION CHART ===== */

.communication-chart {
    width: 100%;
    max-width: 800px;

    margin: 30px auto 50px;
}

.chart-row {
    display: grid;

    grid-template-columns: 150px 1fr 150px;

    align-items: center;

    gap: 15px;

    margin: 25px 0;
}

.chart-label {
    font-weight: bold;
    text-align: right;
}


/* ===== MEASURING BAR ===== */

.chart-bar {
    width: 100%;
    height: 24px;

    background: #fff0f7;

    border: 2px solid #c94383;

    border-radius: 20px;

    overflow: hidden;
}


/* ===== FILLED PART OF BAR ===== */

.chart-fill {
    display: block;

    height: 100%;

    background: #e875a8;

    border-radius: 15px;
}


/* ===== BAR AMOUNTS ===== */

.sarcasm-fill {
    width: 90%;
}

.dramatic-fill {
    width: 80%;
}

.normal-fill {
    width: 35%;
}

.quiet-fill {
    width: 20%;
}


/* ===== CHART TEXT ===== */

.chart-text {
    font-size: 14px;
    font-style: italic;
}


/* ===== CASE TWO NOTE ===== */

.case-two-note {
    max-width: 650px;

    margin: auto;
    padding: 20px 25px;

    background: #ffe8f3;

    border-radius: 20px;

    text-align: center;

}


/* ===== MOBILE ADJUSTMENTS ===== */

@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    header {
        min-height: 75vh;
        padding: 70px 15px;
    }

    section {
        padding: 45px 15px;
    }

    section::before {
        font-size: 24px;
    }


    /* title */

    .sparkle-one {
        left: 5%;
        top: 8%;
        font-size: 35px;
    }

    .sparkle-two {
        right: 5%;
        top: 12%;
        font-size: 30px;
    }

    .sparkle-three {
        left: 8%;
        bottom: 25%;
    }

    .corner-note {
        font-size: 10px;
    }

    .note-one {
        top: 5%;
        right: 5%;
    }

    .note-two {
        top: 17%;
        left: 4%;
    }

    .note-three {
        bottom: 15%;
        right: 4%;
    }

    .note-four {
        bottom: 3%;
    }


    /* screenshot gallery */

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .screenshot-gallery .screenshot-placeholder:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    .screenshot-placeholder {
        min-height: 150px;
    }


    /* explanation */

    .explanation {
        padding: 18px;
    }


    /* chart */

    .chart-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .chart-label {
        text-align: left;
    }

    .chart-text {
        text-align: right;
    }
}
/* ===== LAZZY TRANSLATOR ===== */

.translator-box {
    max-width: 750px;
    margin: 35px auto;
}

.translation-row {
    margin: 20px 0;
}

.translation-button {
    width: 100%;
    padding: 16px 20px;

    background: #fff0f7;
    color: #c94383;

    border: 2px dashed #e875a8;
    border-radius: 15px;

    font-family: Georgia, serif;
    font-size: 17px;
    font-style: italic;

    text-align: left;

    cursor: pointer;

    transition: 0.2s;
}

.translation-button:hover {
    transform: translateX(5px);
    background: #ffe8f3;
}

.translation-answer {
    display: none;

    margin-top: 8px;
    padding: 15px 20px;

    background: #fff8fc;

    border-left: 4px solid #e875a8;
    border-radius: 0 12px 12px 0;

    align-items: center;
    gap: 12px;
}

.translation-answer span {
    font-size: 25px;
    color: #e64d91;
}

.translation-answer p {
    margin: 0;
    font-size: 16px;
}

.translation-row.active .translation-answer {
    display: flex;
}

.translation-row.active .translation-button {
    background: #ffe8f3;
    border-style: solid;
}

.translator-note {
    margin-top: 35px;

    text-align: center;

    font-size: 13px;
    font-style: italic;

    opacity: 0.7;

}
/* ===== QNA ===== */

.qna-list {
    max-width: 800px;
    margin: 35px auto;
}

.qna-item {
    margin: 18px 0;

    background: #fff0f7;

    border: 2px solid #f0a0c4;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 5px 15px #c9438315;
}

.qna-question {
    width: 100%;

    padding: 20px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: transparent;
    color: #c94383;

    border: none;

    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;

    text-align: left;

    cursor: pointer;
}

.qna-question:hover {
    background: #ffe8f3;
}

.qna-symbol {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e875a8;
    color: white;

    font-size: 22px;
    font-weight: normal;

    transition: transform 0.2s;
}

.qna-answer {
    display: none;

    padding: 5px 25px 22px;

    color: #bd3976;
}

.qna-answer p {
    margin: 10px 0;
}

.qna-item.active .qna-answer {
    display: block;
}

.qna-item.active .qna-symbol {
    transform: rotate(45deg);
}

.qna-item.active .qna-question {
    background: #ffe8f3;
}


/* ===== QNA LITTLE GAG ===== */

.qna-cat {
    margin-top: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    font-size: 14px;
    font-style: italic;

    opacity: 0.7;
}

.qna-cat span:first-child {
    font-size: 35px;
}


/* ===== FINAL QUESTION ===== */

.final-question {
    margin-top: 40px;

    border-style: dashed;
}

.final-question .qna-question {
    font-size: 20px;
}

.big-answer {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}
/* ===== QNA MOBILE ===== */

@media (max-width: 600px) {

    .qna-question {
        padding: 16px;
        font-size: 16px;
    }

    .qna-answer {
        padding: 5px 18px 18px;
    }

    .final-question .qna-question {
        font-size: 17px;
    }

}
/* ===== CONCLUSION ===== */

#conclusion {
    background: #ffd5e9;
    border-radius: 25px;
    box-shadow: 0 8px 25px #c9438320;
}

.conclusion-intro {
    max-width: 700px;

    margin: 0 auto 45px;
    padding: 20px 25px;

    background: #ffe8f3;

    border-radius: 18px;

    text-align: center;

    transform: rotate(-1deg);
}

.conclusion-intro p {
    margin: 8px 0;
}


/* ===== YES / NO PAIRS ===== */

.guidelines {
    max-width: 900px;
    margin: auto;
}

.guideline-pair {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin: 25px 0;
}


/* ===== INDIVIDUAL CARDS ===== */

.guideline-card {
    padding: 25px;

    border-radius: 20px;

    min-height: 190px;
}

.yes-card {
    background: #fff0f7;

    border: 2px solid #e875a8;
}

.no-card {
    background: #ffe8f3;

    border: 2px dashed #d979a5;
}


/* ===== LABELS ===== */

.guideline-label {
    display: inline-block;

    margin-bottom: 10px;
    padding: 5px 11px;

    border-radius: 20px;

    font-family: "Trebuchet MS", sans-serif;
    font-size: 13px;
    font-weight: bold;
}

.yes-card .guideline-label {
    background: #e875a8;
    color: white;
}

.no-card .guideline-label {
    background: #fff0f7;
    color: #bd3976;

    border: 1px solid #e875a8;
}


/* ===== CARD TEXT ===== */

.guideline-card h3 {
    margin: 5px 0 10px;

    font-family: "Trebuchet MS", sans-serif;
    color: #c94383;
}

.guideline-card p {
    margin: 0;
}


/* ===== FINAL CONCLUSION ===== */

.conclusion-bottom {
    max-width: 700px;

    margin: 50px auto 0;

    text-align: center;
}

.conclusion-bottom p {
    margin: 10px 0;
}

.sunshine {
    font-style: italic;
}

.final-stars {
    margin-top: 25px;

    font-size: 25px;

    color: #e64d91;

    letter-spacing: 8px;
}
/* ===== CONCLUSION MOBILE ===== */

@media (max-width: 600px) {

    .guideline-pair {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .guideline-card {
        min-height: auto;
        padding: 20px;
    }

    .no-card {
        margin-bottom: 10px;
    }

}