:root {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-purple-600: oklch(55.8% 0.288 302.321);
    --color-purple-700: oklch(49.6% 0.265 301.924);
    --color-pink-500: oklch(65.6% 0.241 354.308);
    --color-pink-600: oklch(59.2% 0.249 0.584);
    --color-neutral-900: oklch(20.5% 0 0);
    --color-neutral-950: oklch(14.5% 0 0);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-border-dark: oklch(35% 0.15 300);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-btn: 0.4rem;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --progress-width: 0%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%; /* Ensure full viewport height so fixed video covers */
}

body {
    font-family: var(--default-font-family);
    background-color: var(--color-neutral-950);
    color: white;
    line-height: 1.5;
    font-feature-settings: normal;
    position: relative;
    overflow-x: hidden;
}

/* Background Video Styles */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    /* Ensure video covers entire viewport */
    min-width: 100%;
    min-height: 100%;
}

.background-video.loaded {
    opacity: 0.7;
}

/* Ensure content is above video */
.header,
.promo-bar,
.main-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.1);
}

/* Enhanced overlay for better text readability */
.header {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
}

.promo-bar {
    background-image: linear-gradient(to right in oklab, rgba(42, 27, 68, 0.9), rgba(85, 36, 47, 0.9), rgba(42, 27, 68, 0.9));
    backdrop-filter: blur(3px);
}

.question-container {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 40, 40, 0.8);
}

button, .style-card {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

button:focus, .style-card:focus,
button:focus:not(:focus-visible), .style-card:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

button::-moz-focus-inner {
    border: 0;
}

*:focus {
    outline: none !important;
}

/* =====  HEADER & PROMO ===== */
.header {
    padding: 15px 20px;
    background-color: var(--color-neutral-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid oklch(27.4% 0.006 286.033);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 1px 2px oklch(0 0 0 / 0.15));
}

.promo-bar {
    --tw-gradient-from: #2A1B44;
    --tw-gradient-via: #55242F;
    --tw-gradient-to: #2A1B44;
    background-image: linear-gradient(to right in oklab, var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to));
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

.diamond-icon {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.diamond-icon img {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 0 5px oklch(65.6% 0.241 354.308 / 0.5));
}

.promo-text, .discount-text {
    color: white;
    font-weight: var(--font-weight-bold);
    font-size: 25px;
    margin-right: 15px;
}

.timer {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.timer-block {
    text-align: center;
    margin: 0 5px;
    position: relative;
    padding: 0 5px;
}

.timer-block:not(:last-child):after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: oklch(87% 0 0 / 0.3);
}

.timer-value {
    font-weight: var(--font-weight-bold);
    font-size: 18px;
}

.timer-label {
    font-size: 12px;
    color: oklch(70.8% 0 0);
    font-weight: var(--font-weight-normal);
}

.join-btn {
    background-color: var(--color-pink-500);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--radius-xl);
    font-weight: var(--font-weight-semibold);
    font-family: var(--default-font-family);
    cursor: pointer;
    box-shadow: var(--shadow-md), 0 0 10px oklch(65.6% 0.241 354.308 / 0.5);
    transition: all 150ms var(--ease-out);
}

.join-btn:hover, .join-btn:focus, .join-btn:active {
    background-color: var(--color-pink-600);
    transform: translateY(-1px);
    outline: none !important;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.create-title {
    display: flex;
    align-items: center;
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 40px;
}

.create-icon {
    margin-right: 10px;
    color: #888888;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 700px;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: oklch(27.4% 0.006 286.033);
    z-index: 1;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: var(--color-purple-500);
    z-index: 1;
    width: var(--progress-width);
    transition: width 0.4s var(--ease-out);
}

.progress-step {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: oklch(27.4% 0.006 286.033);
    z-index: 2;
    position: relative;
    transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.progress-step.active {
    background-color: var(--color-purple-500);
    box-shadow: 0 0 0 3px oklch(62.7% 0.265 303.9 / 0.3);
}

/* ===== QUESTION CONTAINER ===== */
.question-container {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 700px;
    min-height: 600px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    position: relative;
    border: 1px solid #282828;
}

.question-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.5px;
}

.style-title {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.5px;
}

.question-description {
    color: oklch(80% 0 0 / 0.9);
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
}

/* ===== BUTTONS - SHARED STYLES ===== */
.next-btn, .cta-button, .back-btn {
    border: none;
    border-radius: var(--radius-btn);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease-out);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.next-btn, .cta-button {
    background-color: var(--color-pink-500);
    color: white;
    box-shadow: var(--shadow-md);
}

.next-btn:hover, .cta-button:hover,
.next-btn:focus, .cta-button:focus {
    background-color: var(--color-pink-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    animation: buttonPulse 2s infinite;
}

.next-btn:active, .cta-button:active {
    background-color: var(--color-pink-600);
    transform: translateY(0px) scale(0.96);
    transition: all 0.1s var(--ease-out);
}

.next-btn {
    padding: 14px 45px;
    min-width: 140px;
    font-size: 16px;
    margin-left: auto;
    margin-top: auto;
    align-self: flex-end;
}

.cta-button {
    padding: 14px 190px;
    font-size: 25px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    z-index: 10;
    min-width: 240px;
}

.cta-button:hover, .cta-button:focus {
    transform: translateX(-50%) translateY(-2px);
}

.cta-button:active {
    transform: translateX(-50%) translateY(0px) scale(0.96);
}

.back-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 35px;
    min-width: 140px;
    font-size: 16px;
    box-shadow: none;
}

.back-btn:hover, .back-btn:focus {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    animation: backButtonPulse 2s infinite;
}

.back-btn:active {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(0px) scale(0.96);
    transition: all 0.1s var(--ease-out);
}

/* Button Icons */
.next-btn-icon, .cta-button-icon {
    margin-left: 5px;
    transition: transform 0.2s var(--ease-out);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.cta-button-icon {
    margin-left: 10px;
}

.back-btn-icon {
    margin-right: 5px;
    transition: transform 0.2s var(--ease-out);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.next-btn:hover .next-btn-icon,
.cta-button:hover .cta-button-icon {
    transform: translateX(3px);
}

.back-btn:hover .back-btn-icon {
    transform: translateX(-3px);
}

.next-btn:active .next-btn-icon,
.cta-button:active .cta-button-icon {
    transform: translateX(1px);
    transition: transform 0.1s var(--ease-out);
}

.back-btn:active .back-btn-icon {
    transform: translateX(-1px);
    transition: transform 0.1s var(--ease-out);
}

/* ===== STYLE OPTIONS ===== */
.style-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 20px 0 100px;
    flex-grow: 1;
}

.style-card {
    width: 280px;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.style-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px oklch(65.6% 0.241 354.308 / 0.4);
}

.style-card img, .style-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: var(--font-weight-bold);
    color: white;
    font-size: 35px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 25px 0 15px;
}

/* ===== QUESTION CARDS - SHARED STYLES ===== */
.question-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0 30px;
    flex-grow: 1;
    flex-wrap: wrap;
}

.question-card {
    background-color: oklch(25% 0 0 / 0.6);
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    overflow: hidden;
    position: relative;
}

.question-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px oklch(65.6% 0.241 354.308 / 0.4);
}

.question-card.selected {
    outline: 3px solid oklch(65.6% 0.241 354.308);
    box-shadow: 0 0 15px oklch(65.6% 0.241 354.308 / 0.5);
}

.question-card.selected::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: oklch(65.6% 0.241 354.308);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Question card image hover effects */
.question-card:hover .ethnicity-img,
.question-card:hover .eye-color-img,
.question-card:hover .hair-style-img,
.question-card:hover .body-type-img,
.question-card:hover .breast-size-img,
.question-card:hover .butt-size-img {
    transform: scale(1.1);
}

/* ===== APPEARANCE SECTIONS ===== */
.appearance-section {
    margin-bottom: 30px;
    width: 100%;
}

.appearance-section:first-of-type {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.appearance-section:first-of-type .question-options {
    padding-bottom: 5px;
}

.appearance-section:last-child {
    margin-bottom: 10px;
}

/* ===== SPECIFIC CARD TYPES ===== */
/* Ethnicity cards */
.ethnicity-card {
    width: 110px;
    text-align: center;
    padding: 0;
    position: relative;
    height: 150px;
    overflow: hidden;
}

.ethnicity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
}

/* Eye cards */
.eye-card {
    width: 100px;
    text-align: center;
    padding: 0;
    position: relative;
    height: 120px;
    overflow: hidden;
}

.eye-color-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
}

/* Hair style cards */
.hair-card {
    width: 110px;
    text-align: center;
    padding: 0;
    position: relative;
    height: 120px;
    overflow: hidden;
}

.hair-style-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
}

/* Body type cards */
.body-card, .breast-card, .butt-card {
    width: 110px;
    text-align: center;
    padding: 0;
    position: relative;
    height: 150px;
    overflow: hidden;
}

.body-type-img, .breast-size-img, .butt-size-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
}

/* Age and Hair color cards */
.age-card {
    width: 90px;
    text-align: center;
    padding: 10px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(to bottom, oklch(28% 0 0 / 0.8), oklch(22% 0 0 / 0.8));
    border: 1px solid #4a4a4a;
    border-radius: var(--radius-btn);
}
.hair-color-card {
    width: 90px;
    text-align: center;
    padding: 10px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: none;
    border: 1px solid #4a4a4a;
    border-radius: var(--radius-btn);
}

/* Card labels - shared styles */
.ethnicity-card h3, .eye-card h3, .hair-card h3, 
.body-card h3, .breast-card h3, .butt-card h3 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 4px 12px;
    background: rgba(128, 128, 128, 0.9);
    border-radius: 8px;
    transition: background 0.3s var(--ease-out);
    white-space: nowrap;
    width: auto;
    max-width: calc(100% - 20px);
    text-align: center;
}

.ethnicity-card.selected h3, .eye-card.selected h3, .hair-card.selected h3,
.body-card.selected h3, .breast-card.selected h3, .butt-card.selected h3 {
    background: oklch(65.6% 0.241 354.308 / 0.8);
}

.age-card h3, .hair-color-card h3 {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== PERSONALITY CARDS ===== */
.personality-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 30px;
}

.personality-card {
    width: 180px;
    height: 160px;
    background-image: linear-gradient(to bottom, oklch(28% 0 0 / 0.8), oklch(22% 0 0 / 0.8));
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 15px;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    overflow: hidden;
    position: relative;
    border: 1px solid #4a4a4a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.personality-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px oklch(65.6% 0.241 354.308 / 0.4);
    border-color: oklch(65.6% 0.241 354.308 / 0.7);
}

.personality-card.selected {
    outline: 3px solid oklch(65.6% 0.241 354.308);
    box-shadow: 0 0 15px oklch(65.6% 0.241 354.308 / 0.5);
    border-color: oklch(65.6% 0.241 354.308);
}

.personality-card.selected::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: oklch(65.6% 0.241 354.308);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

.personality-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.personality-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.personality-description {
    font-size: 14px;
    color: oklch(80% 0 0 / 0.9);
    line-height: 1.3;
}

/* ===== RELATIONSHIP CARDS ===== */
.relationship-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0 30px;
    justify-content: center;
    width: 100%;
}

.relationship-card {
    background-image: linear-gradient(to bottom, oklch(28% 0 0 / 0.8), oklch(22% 0 0 / 0.8));
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 15px;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #4a4a4a;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    text-align: center;
}

.relationship-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px oklch(65.6% 0.241 354.308 / 0.4);
    border-color: oklch(65.6% 0.241 354.308 / 0.7);
}

.relationship-card.selected {
    outline: 3px solid oklch(65.6% 0.241 354.308);
    box-shadow: 0 0 15px oklch(65.6% 0.241 354.308 / 0.5);
    border-color: oklch(65.6% 0.241 354.308);
}

.relationship-card.selected::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: oklch(65.6% 0.241 354.308);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

.relationship-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.relationship-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 20px 10px 10px;
}

/* ===== PREMIUM OPTIONS ===== */
.premium-option {
    position: relative;
    overflow: visible;
    background-image: linear-gradient(to bottom, oklch(30% 0.05 303.9 / 0.8), oklch(22% 0.03 303.9 / 0.8));
}

.premium-option:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, oklch(62.7% 0.265 303.9), oklch(65.6% 0.241 354.308));
    border-radius: calc(var(--radius-btn) + 1px);
    z-index: -1;
    opacity: 0.7;
}

.premium-lock {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    z-index: 5;
    animation: pulse 2s infinite;
}

.lock-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.5));
}

/* ===== NAVIGATION ===== */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
}

/* Step 7 navigation buttons */
#step7 .navigation-buttons {
    flex-direction: column-reverse;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

#step7 .back-btn, 
#step7 .next-btn {
    width: 100%;
    justify-content: center;
}

#step7 .next-btn {
    padding: 16px 45px;
    font-size: 18px;
}

#step7 .back-btn {
    padding: 14px 35px;
    font-size: 16px;
}

/* ===== VALIDATION & NOTIFICATIONS ===== */
.step-notification {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-btn);
    border: 1px solid;
    animation: slideInNotification 0.3s ease-out;
}

.step-notification-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.1));
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.step-notification-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-message {
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.selection-required {
    position: relative;
    animation: highlightPulse 1.5s ease-in-out;
}

.selection-required::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ef4444;
    border-radius: calc(var(--radius-btn) + 4px);
    background: rgba(239, 68, 68, 0.1);
    animation: highlightGlow 1.5s ease-in-out;
    pointer-events: none;
    z-index: -1;
}

.option-card.selected, .style-card.selected {
    border-color: var(--color-purple-500);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(126, 34, 206, 0.2));
}

/* ===== SUMMARY STYLES ===== */
.summary-container {
    width: 100%;
    overflow: hidden;
    padding: 0 5px;
    box-sizing: border-box;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 100%;
    justify-items: center;
    margin: 0 auto;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
}

.summary-label {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: white;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.summary-card {
    width: 110px;
    height: 120px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    background-color: oklch(25% 0 0 / 0.6);
}

.summary-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px oklch(65.6% 0.241 354.308 / 0.4);
}

.summary-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.summary-img, .color-swatch {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
}

.summary-card:hover .summary-img {
    transform: scale(1.1);
}

.color-swatch {
    border-radius: var(--radius-btn);
    margin: 0 auto;
}

#style-value, #ethnicity-value, #age-value, #eyecolor-value,
#hairstyle-value, #haircolor-value, #bodytype-value, 
#breastsize-value, #buttsize-value, #personality-value, #relationship-value {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    z-index: 10;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#summary-age {
    display: flex;
    align-items: center;
    justify-content: center;
}

#summary-age #age-value {
    position: static !important;
    background: none !important;
    padding: 0 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

#personality-img, #relationship-img {
    width: 60% !important;
    height: 60% !important;
    object-fit: contain !important;
}

#summary-style-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(255,255,255,0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
    }
}

@keyframes buttonPulse {
    0% { 
        box-shadow: var(--shadow-md), 0 0 0 0 oklch(65.6% 0.241 354.308 / 0.4);
    }
    50% { 
        box-shadow: var(--shadow-md), 0 0 0 8px oklch(65.6% 0.241 354.308 / 0);
    }
    100% { 
        box-shadow: var(--shadow-md), 0 0 0 0 oklch(65.6% 0.241 354.308 / 0);
    }
}

@keyframes backButtonPulse {
    0% { 
        box-shadow: none, 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% { 
        box-shadow: none, 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% { 
        box-shadow: none, 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes slideInNotification {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes highlightGlow {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 769px) {
    #step7 .navigation-buttons {
        padding-top: 30px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific background video adjustments */
    .background-video {
        /* Ensure proper scaling on mobile */
        object-position: center center;
        transform: translateZ(0); /* Force hardware acceleration */
    }
    
    .relationship-cards-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 10px;
    }
    
    .style-card {
        width: 140px;
        height: 200px;
    }
    
    .progress-bar {
        max-width: 90%;
        margin-bottom: 20px;
    }
    
    .progress-step {
        width: 15px;
        height: 15px;
    }
    
    .progress-bar::before {
        height: 1.5px;
    }
    
    .promo-bar {
        flex-wrap: wrap;
        padding: 10px;
        justify-content: center;
    }
    
    .timer {
        margin: 5px auto;
    }
    
    .promo-content {
        justify-content: center;
    }
    
    .promo-text, .join-btn {
        display: none;
    }
    
    .discount-text {
        margin: 5px;
    }
    
    .question-container {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .style-options {
        gap: 10px;
        margin: 15px 0 70px;
    }
    
    .style-label {
        font-size: 20px;
        padding: 20px 0 10px;
    }
    
    .style-title, .create-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .question-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .question-options {
        gap: 15px;
        margin: 15px 0 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .appearance-section:first-of-type .question-options {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .ethnicity-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .question-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 12px 60px;
        font-size: 19px;
        bottom: 18px;
        min-width: 200px;
    }
    
    #step1-cta-button {
        max-width: 290px;
        width: 290px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
        min-width: unset;
    }
    
    .ethnicity-card {
        width: 100%;
        padding: 0;
        height: 140px;
        position: relative;
    }
    
    .ethnicity-img {
        width: 100%;
        height: 100%;
    }
    
    .ethnicity-card h3 {
        font-size: 14px;
        padding: 4px 12px;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: calc(100% - 20px);
    }
    
    .appearance-section {
        margin-bottom: 20px;
    }
    
    .eye-card {
        width: 85px;
        height: 100px;
        padding: 0;
        position: relative;
    }
    
    .age-card, .hair-color-card {
        width: 75px;
        height: auto;
    }
    
    .age-card h3, .hair-color-card h3 {
        font-size: 13px;
    }
    
    .eye-card h3 {
        font-size: 14px;
        padding: 4px 12px;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: calc(100% - 20px);
    }
    
    .hair-card {
        width: calc(33.333% - 10px);
        height: 100px;
        margin-bottom: 10px;
        border: none;
    }
    
    .hair-style-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hair-card h3 {
        font-size: 13px;
        padding: 3px 8px;
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: calc(100% - 12px);
    }
    
    .body-card, .breast-card, .butt-card {
        width: 90px;
        height: 130px;
    }
    
    .body-card h3, .breast-card h3, .butt-card h3 {
        font-size: 13px;
        padding: 3px 8px;
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: calc(100% - 12px);
    }
    
    .premium-lock {
        width: 18px;
        height: 18px;
        top: 5px;
        right: 5px;
    }
    
    .question-card.selected {
        outline-width: 2px;
    }
    
    .question-card.selected::after {
        width: 16px;
        height: 16px;
        top: 5px;
        right: 5px;
    }
    
    .navigation-buttons {
        padding-top: 15px;
    }
    
    #step7 .navigation-buttons {
        flex-direction: column-reverse;
        gap: 15px;
        max-width: 1000px;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #step7 .back-btn, 
    #step7 .next-btn {
        width: 100%;
        justify-content: center;
    }
    
    .back-btn-icon, .next-btn-icon {
        align-items: center;
    }
    
    .relationship-card {
        padding: 10px;
    }
    
    .relationship-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 4px;
    }
    
    .relationship-card h3 {
        font-size: 13px;
        padding: 15px 5px 7px;
    }

    /* Summary responsive */
    .summary-container {
        padding: 0 10px;
    }
    
    .summary-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0;
    }
    
    .summary-item {
        margin-bottom: 10px;
    }
    
    .summary-label {
        font-size: 14px;
    }
    
    .summary-card {
        width: 100px;
        height: 110px;
    }
    
    #style-value, #ethnicity-value, #age-value, #eyecolor-value,
    #hairstyle-value, #haircolor-value, #bodytype-value, 
    #breastsize-value, #buttsize-value, #personality-value, #relationship-value {
        font-size: 12px;
        padding: 3px 8px;
    }
      #summary-age #age-value {
        font-size: 20px !important;
    }
    
    #step7 .next-btn {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .diamond-icon img {
        width: 24px;
        height: 24px;
    }
    
    .discount-text {
        font-size: 14px;
    }
    
    .timer-value {
        font-size: 14px;
    }
    
    .timer-label {
        font-size: 10px;
    }
    
    .appearance-section:first-of-type .question-options {
        padding: 0;
    }
    
    .appearance-section:first-of-type .ethnicity-card {
        height: 130px;
    }
    
    .ethnicity-card h3, .eye-card h3 {
        font-size: 13px;
        padding: 3px 10px;
        bottom: 8px;
        max-width: calc(100% - 16px);
    }

    .personality-card {
        width: 140px;
        height: 170px;
    }
    
    .personality-title {
        font-size: 16px;
    }
    
    .personality-description {
        font-size: 12px;
    }
    
    #step7 .navigation-buttons {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #step1-cta-button {
        max-width: 290px;
        width: 290px;
    }

    /* Summary extra small */
    .summary-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 2px;
    }
    
    .summary-item {
        margin-bottom: 8px;
    }
    
    .summary-label {
        font-size: 12px;
    }
    
    .summary-card {
        width: 90px;
        height: 100px;
    }
    
    #style-value, #ethnicity-value, #age-value, #eyecolor-value,
    #hairstyle-value, #haircolor-value, #bodytype-value, 
    #breastsize-value, #buttsize-value, #personality-value, #relationship-value {
        font-size: 11px;
        padding: 2px 5px;
    }
    
    #summary-age #age-value {
        font-size: 18px !important;
    }
}

@media (max-width: 360px) {
    .summary-container {
        padding: 0 2px;
    }
    
    .summary-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .summary-card {
        width: 80px;
        height: 90px;
        margin: 0 auto;
    }
    
    .summary-label {
        font-size: 11px;
        max-width: 80px;
    }
    
    #style-value, #ethnicity-value, #age-value, #eyecolor-value,
    #hairstyle-value, #haircolor-value, #bodytype-value, 
    #breastsize-value, #buttsize-value, #personality-value, #relationship-value {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    #summary-age #age-value {
        font-size: 16px !important;
    }
}

@media (max-width: 320px) {
    .summary-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .summary-card {
        width: 65px;
        height: 75px;
    }
    
    .summary-label {
        font-size: 10px;
        max-width: 65px;
    }
    
    #summary-age #age-value {
        font-size: 14px !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    /* Landscape-specific background video adjustments */
    .background-video {
        object-position: center center;
        /* Ensure video fills landscape properly */
        width: 100vw;
        height: 100vh;
    }
    
    .question-container {
        max-width: 95%;
        padding: 20px;
        min-height: auto;
        background-color: rgba(26, 26, 26, 0.98);
    }
    
    #step6.question-container {
        max-width: 98%;
        padding: 15px;
    }
    
    .ethnicity-card {
        width: 90px;
        height: 130px;
    }
    
    .ethnicity-card h3, .eye-card h3 {
        font-size: 14px;
        padding: 3px 8px;
        max-width: calc(100% - 12px);
        bottom: 8px;
    }

    .ethnicity-options {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hair-card {
        width: 90px;
        height: 110px;
        margin-bottom: 5px;
    }
    
    .hair-card h3 {
        font-size: 14px;
        padding: 3px 8px;
        max-width: calc(100% - 12px);
        bottom: 8px;
    }
    
    .body-card, .breast-card, .butt-card {
        width: 90px;
        height: 130px;
        margin-bottom: 5px;
    }
    
    .body-card h3, .breast-card h3, .butt-card h3 {
        font-size: 14px;
        padding: 3px 8px;
        max-width: calc(100% - 12px);
        bottom: 8px;
    }
    
    .style-options {
        gap: 20px;
        margin: 15px 0 60px;
    }
    
    .style-card {
        width: 180px;
        height: 240px;
    }
    
    .appearance-section {
        margin-bottom: 15px;
    }
    
    .navigation-buttons {
        padding-top: 10px;
        margin-top: 15px;
    }
    
    .cta-button {
        padding: 10px 40px;
        font-size: 18px;
        bottom: 15px;
    }
    
    .question-options {
        margin: 10px 0 15px;
    }
    
    .personality-cards-container {
        gap: 10px;
        margin: 10px 0 15px;
    }
    
    .personality-card {
        width: 135px;
        height: 130px;
        padding: 10px;
        margin-bottom: 5px;
    }
    
    .personality-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 5px;
    }
    
    .personality-title {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .personality-description {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .relationship-cards-container {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 12px;
        margin: 10px 0 15px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .relationship-card {
        padding: 15px;
        width: auto;
        height: 140px;
    }

    .relationship-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .relationship-card h3 {
        font-size: 15px;
        padding: 15px 8px 10px;
        line-height: 1.3;
    }
}