:root {
    --color-bg: #f8faff;
    --color-surface: #ffffff;
    --color-text: #1f2937;
    --color-heading: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e1;
    --color-primary: #7c3aed;
    --color-primary-dark: #6d28d9;
    --color-primary-darker: #5b21b6;
    --color-accent: #ec4899;
    --color-accent-hover: #db2777;
    --color-blue: #0ea5e9;
    --color-gold: #f59e0b;
    --color-blue-personality: #3b82f6;
    --color-green: #10b981;
    --color-orange: #f97316;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 0 4px rgba(124, 58, 237, 0.15);
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-bg: linear-gradient(180deg, #faf5ff 0%, #f8faff 40%, #ffffff 100%);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--gradient-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
    background-color: #f5f3ff;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-lines,
.hamburger-lines::before,
.hamburger-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #7c3aed;
    position: absolute;
    left: 10px;
    border-radius: 2px;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.hamburger-lines {
    top: 50%;
    margin-top: -1px;
}

.hamburger-lines::before {
    content: '';
    top: -6px;
}

.hamburger-lines::after {
    content: '';
    bottom: -6px;
}

.hamburger.active .hamburger-lines {
    background-color: transparent;
}

.hamburger.active .hamburger-lines::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger.active .hamburger-lines::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 64px;
    width: 100%;
    flex-grow: 1;
    align-items: flex-start;
    gap: 36px;
}

.content {
    flex: 1;
    min-width: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.sidebar {
    flex: 0 0 280px;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    color: var(--color-heading);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-left: 0;
    border: 1px solid var(--color-border);
    align-self: flex-start;
    box-shadow: var(--shadow-md);
}

.sidebar h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    border-bottom: none;
    padding-bottom: 0;
    text-align: left;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 28px;
}

.sidebar ul:last-child {
    margin-bottom: 0;
}

.sidebar ul li {
    margin-bottom: 3px;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.sidebar ul li a:hover {
    background-color: #f5f3ff;
    color: var(--color-primary-dark);
    transform: translateX(3px);
}

h1 {
    margin-top: 0;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    color: var(--color-heading);
    font-weight: 800;
}

.content > p:first-of-type {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

#info {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
}

#info h2 {
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-top: 44px;
    margin-bottom: 14px;
    color: var(--color-heading);
    font-weight: 800;
    position: relative;
    padding-left: 18px;
}

#info h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 5px;
    border-radius: 4px;
    background: var(--gradient-primary);
}

#info h2:first-child {
    margin-top: 0;
}

#info h3 {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 10px;
    color: var(--color-heading);
    font-weight: 700;
}

#info h4 {
    font-size: 16px;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
    font-weight: 700;
}

#info p {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--color-text-muted);
    line-height: 1.75;
}

#info ol,
#info ul {
    padding-left: 22px;
    margin: 14px 0 22px;
    list-style-position: outside;
}

#info ol li,
#info ul li {
    padding-left: 0;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

#info ul li::marker {
    color: var(--color-primary);
    font-weight: 700;
}

#info ol li::marker {
    color: var(--color-primary);
    font-weight: 700;
}

#info strong {
    color: var(--color-heading);
    font-weight: 700;
}

#info em {
    color: var(--color-text);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
}

th,
td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    vertical-align: top;
}

th {
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    font-weight: 700;
    color: var(--color-primary-darker);
    font-size: 14px;
    letter-spacing: 0.01em;
}

tbody tr {
    transition: background-color 0.15s ease;
}

tbody tr:hover {
    background-color: #faf5ff;
}

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

.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-table th,
.product-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.product-table th {
    background-color: #f9fafb;
}

.product-table-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transition: transform 0.2s;
}

.product-table-image:hover {
    transform: scale(1.05);
}

.table-amazon-button {
    display: inline-block;
    padding: 9px 18px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: opacity 0.2s, transform 0.15s;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.table-amazon-button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.product-title {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 2.8em;
    margin-bottom: 10px;
    text-overflow: ellipsis;
}

.product-title:hover {
    color: var(--color-primary);
}

.number-cell {
    font-weight: 700;
    color: var(--color-primary);
    width: 50px;
}

.image-cell {
    width: 170px;
}

.button-cell {
    width: 150px;
}

.calculator-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 32px;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.calculator-container input {
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-border);
    font-size: 16px;
    color: var(--color-text);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator-container input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.measurement-input {
    margin-bottom: 22px;
}

.measurement-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-heading);
}

.measurement-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 16px;
}

.measurement-input input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.calc-btn {
    display: block;
    margin: 1.8rem auto;
    padding: 14px 36px;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    width: fit-content;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.calc-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.calc-btn:active {
    transform: translateY(0);
}

.result-container {
    margin-top: 24px;
    padding: 28px;
    background: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.calculator-cards {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.calculator-cards ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.calculator-cards li {
    background: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.calculator-cards li a {
    display: block;
    padding: 22px;
    color: var(--color-heading);
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
}

.calculator-cards li:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.conversion-options {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    justify-content: center;
}

.radio-group {
    position: relative;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-group label {
    display: inline-block;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    background-color: #f1f5f9;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    user-select: none;
}

.radio-group input[type="radio"]:checked + label {
    background-color: #f5f3ff;
    color: var(--color-primary-darker);
    border-color: var(--color-primary);
}

.radio-group label:hover {
    background-color: #ede9fe;
}

.radio-group input[type="radio"]:focus + label {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.radio-group input[type="radio"]:disabled + label {
    opacity: 0.5;
    cursor: not-allowed;
}

.input-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.input-group input[type="checkbox"]:checked {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
}

.input-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gender-selection {
    margin: 28px 0;
    text-align: center;
}

.gender-selection h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-heading);
}

.gender-btn {
    padding: 13px 32px;
    margin: 0 8px;
    background-color: #ffffff;
    border: 2px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.gender-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gender-btn.selected {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.quiz-container {
    display: none;
    max-width: 720px;
    margin: 0 auto;
}

.question {
    margin: 24px 0;
    padding: 28px;
    background-color: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    animation: fadeIn 0.3s ease-out;
    box-shadow: var(--shadow-sm);
}

.question h3 {
    color: var(--color-heading);
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.45;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.option {
    padding: 15px 18px;
    background-color: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
}

.option:hover {
    border-color: var(--color-primary);
    background-color: #faf5ff;
    transform: translateX(4px);
}

.option.selected {
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    color: var(--color-primary-darker);
    border-color: var(--color-primary);
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

#result {
    display: none;
    padding: 36px 32px;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    margin-top: 36px;
    animation: fadeIn 0.4s ease-out;
    box-shadow: var(--shadow-lg);
}

#result h2 {
    margin-top: 0;
    font-size: 26px;
    color: var(--color-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.trait-results {
    margin-top: 28px;
}

.trait-result {
    margin-bottom: 28px;
}

.trait-result h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--color-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trait-result h3 span {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

.trait-bar {
    width: 100%;
    height: 10px;
    background-color: #ede9fe;
    border-radius: 6px;
    overflow: hidden;
}

.trait-bar > div {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trait-result p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 10px 0 0;
    line-height: 1.65;
}

.type-description {
    margin-top: 1.5rem;
    line-height: 1.6;
}

.type-description h3 {
    color: var(--color-primary-darker);
    margin: 1.2rem 0 0.5rem;
}

.progress-container {
    width: 100%;
    background-color: #ede9fe;
    border-radius: 6px;
    margin: 20px 0;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    width: 0%;
    transition: width 0.4s ease;
}

.likert-scale {
    display: flex;
    justify-content: space-between;
    margin: 24px 0;
    gap: 10px;
}

.likert-option {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.likert-option:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.likert-option.selected {
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
    color: var(--color-primary-darker);
    border-color: var(--color-primary);
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    text-align: center;
    padding: 28px 16px;
    border-top: 1px solid var(--color-border);
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.6);
}

.footer p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer p a {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0;
}

.footer p a:hover {
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .header {
        margin-bottom: 0;
    }

    .nav-container {
        height: 62px;
        padding: 0 16px;
    }

    .logo {
        font-size: 17px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 62px;
        right: 16px;
        background-color: #ffffff;
        width: 220px;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 10px;
        z-index: 20;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 11px 14px;
    }

    .hamburger {
        display: block;
    }

    .container {
        flex-direction: column;
        padding: 28px 16px 48px;
        gap: 28px;
        margin: 0;
    }

    .sidebar {
        flex: 0 0 auto;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        order: 1;
        padding: 22px;
    }

    .content {
        order: 0;
        margin-bottom: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 27px;
        margin-bottom: 14px;
    }

    .content > p:first-of-type {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .sidebar h3 {
        font-size: 12px;
    }

    #info {
        margin-top: 40px;
        padding-top: 28px;
    }

    #info h2 {
        font-size: 21px;
        margin-top: 36px;
        padding-left: 16px;
    }

    #info h3 {
        font-size: 17px;
        margin-top: 26px;
    }

    #info p,
    #info li {
        font-size: 15px;
    }

    label,
    select,
    button {
        font-size: 16px;
    }

    .calculator-container {
        padding: 28px 18px;
    }

    #result-name {
        font-size: 28px;
    }

    #common-link h2 {
        font-size: 18px;
    }

    #common-link li {
        flex: 1 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .calculator-cards {
        padding: 10px;
    }

    .calculator-cards ul {
        grid-template-columns: 1fr;
    }

    .size-option {
        padding: 8px 15px;
        min-width: 70px;
    }

    .primary-size {
        font-size: 2.5em;
    }

    .product-table thead {
        display: none;
    }

    .product-table,
    .product-table tbody,
    .product-table tr,
    .product-table td {
        display: block;
        width: 100%;
        text-align: center;
    }

    .product-table tr {
        margin-bottom: 22px;
        border: 2px solid var(--color-border);
        border-radius: var(--radius-lg);
        padding: 18px;
        box-shadow: var(--shadow-sm);
    }

    .product-table td {
        border: none;
        padding: 8px;
    }

    .number-cell {
        font-size: 1.1em;
        color: var(--color-primary);
        margin-bottom: 10px;
    }

    .number-cell::before {
        content: "#";
    }

    .image-cell {
        margin: 0 auto;
    }

    .product-table-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .product-title {
        font-size: 1.05em;
        margin: 12px auto;
        max-width: 300px;
    }

    .button-cell {
        margin-top: 12px;
    }

    .table-amazon-button {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
        padding: 12px 22px;
    }

    .gender-selection {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .gender-btn {
        margin: 0;
        width: 100%;
        padding: 15px;
    }

    .options {
        flex-direction: column;
    }

    .option {
        padding: 15px;
    }

    .question {
        padding: 20px;
        margin: 18px 0;
    }

    #result {
        padding: 28px 20px;
    }

    .calc-btn {
        width: 100%;
        padding: 16px;
    }

    .likert-scale {
        flex-direction: column;
        gap: 10px;
    }

    .likert-option {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .product-table-image {
        width: 150px;
        height: 150px;
    }

    .product-table tr {
        padding: 14px;
    }

    .product-title {
        font-size: 1em;
        max-width: 250px;
    }

    h1 {
        font-size: 23px;
    }

    #info h2 {
        font-size: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
