* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    padding: 10px;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

body.light-mode {
    background: linear-gradient(135deg, #ffeef2 0%, #f0f0f0 100%);
    color: #333;
}

body.dark-mode {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #f0f0f0;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 1000;
}

.language-switcher a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

body.dark-mode .language-switcher a {
    background: rgba(0, 0, 0, 0.8);
    border-color: #555;
    color: #aaa;
}

.language-switcher a:hover {
    border-color: #ff6699;
    transform: scale(1.05);
}

body.dark-mode .language-switcher a:hover {
    border-color: #ff99aa;
}

.language-switcher a.active {
    background: linear-gradient(135deg, #ff6699 0%, #ff5588 100%);
    border-color: #ff6699;
    color: white;
}

body.dark-mode .language-switcher a.active {
    background: linear-gradient(135deg, #ff99aa 0%, #ff6699 100%);
    border-color: #ff99aa;
}

.lang-flag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .language-switcher {
        top: 8px;
        left: 8px;
    }

    .language-switcher a {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .lang-flag {
        font-size: 10px;
    }
}

.mode-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    background: none;
    border: 2px solid currentColor;
    font-size: 14px;
    cursor: pointer;
    z-index: 1000;
    padding: 8px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

body.light-mode .mode-toggle {
    color: #ff6699;
    background: rgba(255, 255, 255, 0.9);
    border-color: #ff6699;
}

body.dark-mode .mode-toggle {
    color: #ff99aa;
    background: rgba(0, 0, 0, 0.8);
    border-color: #ff99aa;
}

.mode-toggle:hover {
    transform: scale(1.05);
}

.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 102, 153, 0.15);
    width: 90%;
    max-width: 650px;
    min-height: 400px;
    text-align: center;
    z-index: 1;
    margin: 70px auto 30px auto;
    overflow-x: hidden;
    backdrop-filter: blur(10px);
}

body.dark-mode .container {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #ff6699;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #ff6699;
    font-weight: 600;
}

body.dark-mode h2 {
    color: #ff99aa;
}

h3 {
    font-size: 1.2em;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

label {
    display: block;
    font-size: 1.1em;
    margin: 15px 0 8px;
    font-weight: 500;
    text-align: left;
}

select, input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

body.dark-mode select,
body.dark-mode input[type="text"] {
    background: #3a3a3a;
    color: #f0f0f0;
    border-color: #555;
}

select:focus, input[type="text"]:focus {
    border-color: #ff6699;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 153, 0.2);
}

.hidden {
    display: none;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    height: 12px;
    position: relative;
}

body.dark-mode .progress-bar {
    background: #444;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6699 0%, #ff3366 100%);
    width: 0;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.question-number {
    font-size: 1em;
    font-weight: 700;
    color: #ff6699;
    white-space: nowrap;
    min-width: 55px;
}

body.dark-mode .question-number {
    color: #ff99aa;
}

.question {
    font-size: 1.15em;
    margin: 20px 0 25px 0;
    line-height: 1.5;
    font-weight: 500;
}

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

.answer-list button {
    padding: 16px 20px;
    font-size: 1em;
    background: linear-gradient(135deg, #ff6699 0%, #ff5588 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(255, 102, 153, 0.3);
}

.answer-list button:hover {
    background: linear-gradient(135deg, #ff5588 0%, #ff3366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 153, 0.4);
}

.answer-list button:active {
    transform: translateY(0);
}

.submit-btn {
    margin: 25px 0 10px 0;
    padding: 14px 32px;
    font-size: 1.1em;
    background: linear-gradient(135deg, #ff6699 0%, #ff5588 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 102, 153, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff5588 0%, #ff3366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 102, 153, 0.5);
}

.submit-btn i {
    font-size: 1em;
}

.back-btn, .export-btn, .start-over-btn {
    margin: 20px 10px;
    padding: 12px 24px;
    font-size: 1em;
    background: linear-gradient(135deg, #28a745 0%, #20903c 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.back-btn:hover, .export-btn:hover, .start-over-btn:hover {
    background: linear-gradient(135deg, #20903c 0%, #1a7a32 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.back-btn i, .export-btn i, .start-over-btn i {
    font-size: 1em;
}

.start-over-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.start-over-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.results-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.answers-log {
    max-height: 180px;
    overflow-y: auto;
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 102, 153, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 153, 0.15);
}

body.dark-mode .answers-log {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 153, 170, 0.2);
}

.instruction-note {
    font-size: 0.9em;
    font-weight: 500;
    color: #ff6699;
    margin-bottom: 12px;
    font-style: italic;
}

body.dark-mode .instruction-note {
    color: #ff99aa;
}

.answer-item {
    padding: 12px 16px;
    margin: 8px 0;
    background: #fff;
    border: 2px solid rgba(255, 102, 153, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 0.95em;
    text-align: left;
}

body.dark-mode .answer-item {
    background: #3a3a3a;
    border-color: rgba(255, 153, 170, 0.3);
}

.answer-item:hover {
    background: #fff5f8;
    border-color: #ff6699;
    transform: translateX(5px);
}

body.dark-mode .answer-item:hover {
    background: #444;
    border-color: #ff99aa;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 14px 12px;
    text-align: center;
}

th {
    background: linear-gradient(135deg, #ff6699 0%, #ff5588 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95em;
}

td {
    background: #fff;
    border-bottom: 1px solid #eee;
}

tr:last-child td {
    border-bottom: none;
}

body.dark-mode th {
    background: linear-gradient(135deg, #ff5588 0%, #ff3366 100%);
}

body.dark-mode td {
    background: #3a3a3a;
    border-bottom-color: #444;
}

.note {
    margin-top: 25px;
    padding: 20px;
    font-size: 1em;
    line-height: 1.6;
    text-align: left;
    background: rgba(255, 102, 153, 0.05);
    border-radius: 12px;
    border-left: 4px solid #ff6699;
}

body.dark-mode .note {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ff99aa;
}

.logo {
    display: block;
    margin: 0 auto 20px;
    width: 150px;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding: 8px;
    }

    .container {
        padding: 25px 20px;
        margin: 60px auto 20px auto;
        width: 95%;
        border-radius: 16px;
    }

    h1 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.1em;
    }

    label {
        font-size: 1em;
    }

    select, input[type="text"] {
        padding: 12px 14px;
        font-size: 16px;
    }

    .mode-toggle {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 10px;
    }

    .progress-bar {
        height: 10px;
    }

    .question {
        font-size: 1.05em;
        margin: 15px 0 20px 0;
    }

    .answer-list {
        gap: 10px;
    }

    .answer-list button {
        padding: 14px 16px;
        font-size: 0.95em;
        border-radius: 10px;
    }

    .submit-btn {
        padding: 12px 28px;
        font-size: 1em;
    }

    .back-btn, .export-btn, .start-over-btn {
        padding: 10px 20px;
        font-size: 0.95em;
        margin: 15px 8px;
    }

    .answers-log {
        max-height: 150px;
        padding: 12px;
    }

    .answer-item {
        padding: 10px 14px;
        font-size: 0.9em;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th, td {
        padding: 12px 10px;
        font-size: 0.9em;
        white-space: nowrap;
    }

    .note {
        font-size: 0.95em;
        padding: 15px;
    }

    .logo {
        width: 120px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .container {
        padding: 20px 15px;
        margin: 55px auto 15px auto;
        width: 98%;
        border-radius: 14px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }

    label {
        font-size: 0.95em;
    }

    select, input[type="text"] {
        padding: 12px;
        font-size: 16px;
        border-radius: 10px;
    }

    .mode-toggle {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 5px 8px;
    }

    .progress-container {
        gap: 8px;
    }

    .question-number {
        font-size: 0.9em;
        min-width: 50px;
    }

    .progress-bar {
        height: 8px;
    }

    .question {
        font-size: 1em;
        margin: 12px 0 18px 0;
    }

    .answer-list {
        gap: 8px;
    }

    .answer-list button {
        padding: 12px 14px;
        font-size: 0.9em;
        border-radius: 10px;
    }

    .submit-btn {
        padding: 12px 24px;
        font-size: 0.95em;
        margin: 20px 0 10px 0;
    }

    .back-btn, .export-btn, .start-over-btn {
        padding: 10px 18px;
        font-size: 0.9em;
        margin: 12px 5px;
    }

    .answers-log {
        max-height: 120px;
        padding: 10px;
        margin-top: 20px;
    }

    .answer-item {
        padding: 8px 12px;
        font-size: 0.85em;
        margin: 6px 0;
    }

    th, td {
        padding: 10px 8px;
        font-size: 0.85em;
    }

    .note {
        font-size: 0.9em;
        padding: 12px;
        margin-top: 20px;
    }

    .logo {
        width: 100px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .answer-list button {
        padding: 16px 18px;
    }

    .answer-list button:hover {
        transform: none;
    }

    .answer-list button:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, #ff5588 0%, #ff3366 100%);
    }

    .submit-btn:hover,
    .back-btn:hover,
    .export-btn:hover,
    .start-over-btn:hover,
    .mode-toggle:hover {
        transform: none;
    }

    .answer-item:hover {
        transform: none;
    }

    .answer-item:active {
        background: #fff5f8;
        border-color: #ff6699;
    }
}

/* Smooth scrolling for answers log */
.answers-log {
    scrollbar-width: thin;
    scrollbar-color: #ff6699 transparent;
}

.answers-log::-webkit-scrollbar {
    width: 6px;
}

.answers-log::-webkit-scrollbar-track {
    background: transparent;
}

.answers-log::-webkit-scrollbar-thumb {
    background-color: #ff6699;
    border-radius: 3px;
}

body.dark-mode .answers-log::-webkit-scrollbar-thumb {
    background-color: #ff99aa;
}

/* Disabled button state for export */
.export-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Site Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 102, 153, 0.1);
    z-index: 100;
    font-size: 0.9em;
    color: #666;
}

body.dark-mode .site-footer {
    background: rgba(30, 30, 30, 0.9);
    border-top-color: rgba(255, 153, 170, 0.15);
    color: #999;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #ff6699;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #ff3366;
}

body.dark-mode .site-footer a {
    color: #ff99aa;
}

body.dark-mode .site-footer a:hover {
    color: #ffb3c1;
}

.site-footer a i {
    margin-right: 4px;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Add bottom padding to body to account for fixed footer */
body {
    padding-bottom: 60px;
}

@media (max-width: 480px) {
    .site-footer {
        padding: 10px 15px;
        font-size: 0.85em;
    }

    body {
        padding-bottom: 50px;
    }
}

/* Love Language Hero Section */
#love-language-hero {
    margin-bottom: 30px;
}

.hero-single,
.hero-couple {
    text-align: center;
}

.hero-label {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

body.dark-mode .hero-label {
    color: #aaa;
}

.hero-card {
    background: linear-gradient(135deg, #ff6699 0%, #ff3366 100%);
    color: white;
    padding: 30px 25px;
    border-radius: 20px;
    margin: 0 auto 20px auto;
    max-width: 280px;
    box-shadow: 0 10px 40px rgba(255, 102, 153, 0.4);
    transform: scale(1);
    animation: cardPulse 2s ease-in-out infinite;
}

@keyframes cardPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-card i {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.hero-language {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-score {
    font-size: 2em;
    font-weight: 800;
    opacity: 0.9;
}

.hero-description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin: 20px 0;
    padding: 0 10px;
}

body.dark-mode .hero-description {
    color: #bbb;
}

.hero-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 102, 153, 0.1);
    border-radius: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

body.dark-mode .hero-secondary {
    background: rgba(255, 153, 170, 0.15);
}

.secondary-label {
    font-size: 0.9em;
    color: #888;
}

body.dark-mode .secondary-label {
    color: #999;
}

.secondary-language {
    font-size: 1em;
    font-weight: 600;
    color: #ff6699;
}

.secondary-language i {
    margin-right: 6px;
}

body.dark-mode .secondary-language {
    color: #ff99aa;
}

/* Couple Layout */
.hero-couple {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-person {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.hero-person .hero-card {
    padding: 20px 15px;
    max-width: none;
}

.hero-person .hero-card i {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.hero-person .hero-language {
    font-size: 1.1em;
}

.hero-person .hero-score {
    font-size: 1.5em;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6699;
    font-size: 1.5em;
    padding: 0 5px;
    margin-top: 60px;
}

body.dark-mode .hero-divider {
    color: #ff99aa;
}

.hero-match {
    background: linear-gradient(135deg, #28a745 0%, #20903c 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.hero-match i {
    margin-right: 8px;
}

/* Detailed Results Section */
#detailed-results {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 102, 153, 0.2);
}

#detailed-results h3 {
    color: #ff6699;
    margin-bottom: 15px;
}

body.dark-mode #detailed-results h3 {
    color: #ff99aa;
}

body.dark-mode #detailed-results {
    border-top-color: rgba(255, 153, 170, 0.2);
}

/* Single Breakdown */
.single-breakdown {
    max-width: 400px;
    margin: 0 auto;
}

.single-breakdown .breakdown-list {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.dark-mode .single-breakdown .breakdown-list {
    background: rgba(50, 50, 50, 0.8);
}

/* Couple Breakdown Side-by-Side */
.couple-breakdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.breakdown-person {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.dark-mode .breakdown-person {
    background: rgba(50, 50, 50, 0.8);
}

.breakdown-person h4 {
    margin: 0 0 15px 0;
    color: #ff6699;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 102, 153, 0.2);
}

body.dark-mode .breakdown-person h4 {
    color: #ff99aa;
    border-bottom-color: rgba(255, 153, 170, 0.2);
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    transition: all 0.2s ease;
}

body.dark-mode .breakdown-item {
    background: rgba(255, 255, 255, 0.05);
}

.breakdown-item.top-language {
    background: linear-gradient(135deg, rgba(255, 102, 153, 0.15) 0%, rgba(255, 51, 102, 0.15) 100%);
    border: 2px solid rgba(255, 102, 153, 0.3);
}

body.dark-mode .breakdown-item.top-language {
    background: linear-gradient(135deg, rgba(255, 102, 153, 0.2) 0%, rgba(255, 51, 102, 0.2) 100%);
    border-color: rgba(255, 153, 170, 0.4);
}

.breakdown-rank {
    font-weight: 700;
    color: #ff6699;
    min-width: 28px;
    font-size: 0.9em;
}

body.dark-mode .breakdown-rank {
    color: #ff99aa;
}

.breakdown-lang {
    flex: 1;
    font-size: 0.9em;
    font-weight: 500;
}

.breakdown-lang i {
    margin-right: 6px;
    color: #ff6699;
    width: 18px;
    text-align: center;
}

body.dark-mode .breakdown-lang i {
    color: #ff99aa;
}

.breakdown-score {
    font-weight: 700;
    color: #333;
    font-size: 0.95em;
}

body.dark-mode .breakdown-score {
    color: #f0f0f0;
}

/* Donation Section */
.donation-content {
    text-align: center;
    padding: 20px 0;
}

.donation-icon {
    font-size: 3em;
    color: #ff6699;
    margin-bottom: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

body.dark-mode .donation-icon {
    color: #ff99aa;
}

.donation-content h2 {
    color: #ff6699;
    margin-bottom: 20px;
}

body.dark-mode .donation-content h2 {
    color: #ff99aa;
}

.donation-message {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

body.dark-mode .donation-message {
    color: #ccc;
}

.donation-note {
    font-size: 0.95em;
    color: #777;
    font-style: italic;
    margin-bottom: 25px;
}

body.dark-mode .donation-note {
    color: #999;
}

.donation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1.15em;
    background: linear-gradient(135deg, #ff6699 0%, #ff3366 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(255, 102, 153, 0.4);
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ff5588 0%, #ff2255 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 102, 153, 0.5);
}

.donate-btn i {
    font-size: 1.1em;
}

.skip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1em;
    background: transparent;
    color: #888;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

body.dark-mode .skip-btn {
    color: #aaa;
    border-color: #555;
}

.skip-btn:hover {
    color: #666;
    border-color: #bbb;
    background: rgba(0, 0, 0, 0.03);
}

body.dark-mode .skip-btn:hover {
    color: #ccc;
    border-color: #777;
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile adjustments for donation */
@media (max-width: 480px) {
    .donation-icon {
        font-size: 2.5em;
    }

    .donation-message {
        font-size: 1em;
    }

    .donation-note {
        font-size: 0.9em;
    }

    .donate-btn {
        padding: 14px 28px;
        font-size: 1.05em;
    }

    .skip-btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

/* Mobile adjustments for hero */
@media (max-width: 768px) {
    .hero-card {
        padding: 25px 20px;
        max-width: 250px;
    }

    .hero-card i {
        font-size: 2.5em;
    }

    .hero-language {
        font-size: 1.2em;
    }

    .hero-score {
        font-size: 1.8em;
    }

    .hero-description {
        font-size: 0.95em;
    }

    .hero-couple {
        gap: 10px;
    }

    .hero-person {
        min-width: 120px;
    }

    .hero-person .hero-card {
        padding: 18px 12px;
    }

    .hero-person .hero-card i {
        font-size: 1.8em;
    }

    .hero-person .hero-language {
        font-size: 0.95em;
    }

    .hero-person .hero-score {
        font-size: 1.3em;
    }

    .hero-divider {
        font-size: 1.2em;
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 20px 15px;
        max-width: 220px;
    }

    .hero-card i {
        font-size: 2em;
    }

    .hero-language {
        font-size: 1.1em;
    }

    .hero-score {
        font-size: 1.5em;
    }

    .hero-label {
        font-size: 1em;
    }

    .hero-description {
        font-size: 0.9em;
        padding: 0 5px;
    }

    .hero-secondary {
        padding: 12px;
        gap: 8px;
    }

    .secondary-label,
    .secondary-language {
        font-size: 0.85em;
    }

    .hero-couple {
        flex-direction: column;
        align-items: center;
    }

    .hero-person {
        max-width: 200px;
        width: 100%;
    }

    .hero-divider {
        margin: 10px 0;
        transform: rotate(90deg);
    }

    .hero-match {
        padding: 12px 18px;
        font-size: 0.9em;
    }

    /* Couple breakdown mobile */
    .couple-breakdown {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .breakdown-person {
        width: 100%;
        max-width: none;
        padding: 15px;
    }

    .breakdown-person h4 {
        font-size: 1.1em;
    }

    .breakdown-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .breakdown-rank {
        font-size: 0.85em;
        min-width: 24px;
    }

    .breakdown-lang {
        font-size: 0.85em;
    }

    .breakdown-score {
        font-size: 0.9em;
    }
}
