/* Dark Theme */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

.swipey-app {
    background-color: #000000;
    color: #E0E0E0;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    background: linear-gradient(90deg, #4A1E5C 0%, #2D1B3D 100%);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}



.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFFFF;
}

.banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
}

.banner-text {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 0.9em;
}

.gem-icon {
    font-size: 1.2em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
}

#timer-minutes,
#timer-seconds {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 35px;
    text-align: center;
}

#timer-ms {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 35px;
    text-align: center;
    font-size: 0.9em;
}

.timer-separator {
    color: #FFFFFF;
}

.join-btn {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.join-btn:hover {
    transform: scale(1.05);
}

/* Main Content */
.swipey-app main {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-size: 2.5em;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-align: center;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    width: 100%;
    max-width: 800px;
}

.progress-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #333;
    border: 2px solid #555;
    transition: all 0.3s ease;
}

.progress-node.active {
    background: linear-gradient(135deg, #FF1493 0%, #9C27B0 100%);
    border-color: #FF1493;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
}

.progress-line {
    width: 80px;
    height: 2px;
    background-color: #333;
}

/* Stage Container */
#stage-container {
    width: 100%;
    max-width: 900px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.stage {
    text-align: center;
}

.stage-title {
    font-size: 1.8em;
    margin-bottom: 40px;
    color: #FFFFFF;
    text-align: center;
}

/* Card Selection Area */
.card-selection {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 30px;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 0;
    width: 280px;
    height: 350px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px);
}

.card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.card-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #2D1B3D 0%, #1A1A1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    overflow: hidden;
}

.card-image-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-name {
    padding: 20px;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFFFFF;
}

/* Continue Button */
.continue-btn {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    color: white;
    border: none;
    padding: 18px 80px;
    font-size: 1.2em;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.continue-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6);
}

.continue-btn:disabled {
    background: #333;
    cursor: not-allowed;
    box-shadow: none;
}

/* Summary Page */
.summary {
    background-color: #1E1E1E;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    margin: 20px auto;
}

.summary p {
    margin: 15px 0;
    font-size: 1.1em;
}

/* Stage 2 Specific Styles */
.stage-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.selection-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-align: center;
}

/* Ethnicity Cards */
.ethnicity-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ethnicity-card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 12px;
    width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ethnicity-card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px);
}

.ethnicity-card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #FF1493;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
}

.ethnicity-card.selected .check-icon,
.eye-card.selected .check-icon {
    display: flex;
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image-placeholder-content  {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-label {
    padding: 10px;
    text-align: center;
    font-size: 0.95em;
    font-weight: bold;
    color: #FFFFFF;
}

/* Age Buttons */
.age-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.age-btn {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1em;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.age-btn:hover {
    border-color: #FF1493;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.age-btn.selected {
    background: linear-gradient(135deg, #FF1493 0%, #9C27B0 100%);
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

/* Eye Color Cards */
.eye-color-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.eye-card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 12px;
    width: 140px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.eye-card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px);
}

.eye-card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.eye-color-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    position: relative;
}

.eye-color-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #555;
}

.eye-color-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid #555;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 0;
}

.back-btn {
    background: transparent;
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 40px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.next-btn {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    border: none;
    color: white;
    padding: 12px 40px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.next-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6);
}

.next-btn:disabled {
    background: #333;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.5;
}

/* Progress Line Active State */
.progress-line.active {
    background: linear-gradient(90deg, #FF1493 0%, #9C27B0 100%);
}

/* Stage 3 Specific Styles */
.hair-style-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-items: center;
    margin-bottom: 20px;
}

.hair-card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 12px;
    width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hair-card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px);
}

.hair-card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.hair-card .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #FF1493;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
}

.hair-card.selected .check-icon {
    display: flex;
}

.hair-card .card-image-placeholder {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.hair-card .card-image-placeholder-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hair-card .card-label {
    padding: 10px;
    text-align: center;
    font-size: 0.95em;
    font-weight: bold;
    color: #FFFFFF;
}

/* Hair Color Buttons */
.hair-color-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hair-color-btn {
    border: 3px solid #333;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1em;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hair-color-btn:hover {
    border-color: #FF1493;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    transform: scale(1.05);
}

.hair-color-btn.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
    transform: scale(1.05);
}

/* Stage 4 Specific Styles */
.body-type-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.body-card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 12px;
    width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.body-card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px) scale(1.02);
}

.body-card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.body-card .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #FF1493;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
}

.body-card.selected .check-icon {
    display: flex;
}

.body-card .card-image-placeholder {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.body-card .card-image-placeholder-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.body-card .card-label {
    padding: 10px;
    text-align: center;
    font-size: 0.95em;
    font-weight: bold;
    color: #FFFFFF;
}

/* Stage 5 Specific Styles */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    margin-bottom: 20px;
}

.personality-card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.personality-card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px) scale(1.02);
}

.personality-card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.personality-card .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #FF1493;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
}

.personality-card.selected .check-icon {
    display: flex;
}

.personality-icon-content  {
    width: 3em;
    height: 3em;
    margin-bottom: 15px;
}

.personality-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.personality-description {
    font-size: 0.9em;
    color: #B0B0B0;
    line-height: 1.4;
    text-align: center;
}

/* Stage 6 Specific Styles */
.section-description {
    font-size: 0.95em;
    color: #B0B0B0;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.relationship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-items: stretch;
    margin-bottom: 20px;
}

.relationship-card {
    background: #1A1A1A;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.relationship-card:hover {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
    transform: translateY(-5px) scale(1.05);
}

.relationship-card.selected {
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.8);
}

.relationship-card .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #FF1493;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
}

.relationship-card.selected .check-icon {
    display: flex;
}

.relationship-icon-content {
    width: 3em;
    height: 3em;
    margin-bottom: 15px;
}

.relationship-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.relationship-description {
    font-size: 0.9em;
    color: #B0B0B0;
    line-height: 1.4;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .banner {
        order: -1;
    }

    .header-right {
        flex-direction: column;
        gap: 10px;
    }

    .main-title {
        font-size: 1.8em;
    }

    .progress-bar {
        max-width: 100%;
        overflow-x: auto;
        padding: 10px 0;
    }

    .progress-line {
        width: 40px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card {
        width: 90%;
        max-width: 300px;
    }

    .card-selection {
        padding: 40px 20px;
    }

    .continue-btn {
        padding: 15px 60px;
        font-size: 1em;
    }

    .personality-grid {
        grid-template-columns: 1fr;
    }

    .relationship-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2em;
    }

    .banner-text {
        font-size: 0.8em;
    }

    .timer-display {
        font-size: 1em;
    }

    .main-title {
        font-size: 1.5em;
    }

    .stage-title {
        font-size: 1.4em;
    }
}

/* Stage 7 - Summary Page Styles */
.swipey-app {
    font-family: 'Poppins', 'Arial', sans-serif;
}

.summary-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.summary-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);
    border: 1px solid #333;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.summary-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.summary-item {
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid #333;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.summary-item:hover {
    border-color: #FF1493;
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
    transform: translateY(-3px);
}

.summary-item-image {
    min-width: 80px;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #2D1B3D 0%, #1A1A1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.summary-item-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-image-content[src$=".svg"] {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 10px;
    filter: brightness(0) invert(1);
}

.summary-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
}

.summary-item-content {
    flex: 1;
}

.summary-item-category {
    font-size: 0.85em;
    color: #999;
    font-weight: 400;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item-value {
    font-size: 1.2em;
    color: #FFFFFF;
    font-weight: 600;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.create-ai-btn {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.3em;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.create-ai-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.7);
}

.create-ai-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.back-btn-summary {
    background: transparent;
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn-summary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Responsive for Summary Page */
@media (max-width: 768px) {
    .summary-card {
        padding: 40px 25px;
    }

    .summary-title {
        font-size: 2em;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .summary-item {
        padding: 15px;
    }

    .summary-item-icon {
        font-size: 2em;
        min-width: 50px;
    }

    .summary-item-value {
        font-size: 1.1em;
    }

    .create-ai-btn {
        font-size: 1.1em;
        padding: 16px 30px;
    }

    .back-btn-summary {
        font-size: 1em;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .summary-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .summary-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .summary-item {
        padding: 12px;
        gap: 10px;
    }

    .summary-item-icon {
        font-size: 1.8em;
        min-width: 45px;
    }

    .summary-item-category {
        font-size: 0.75em;
    }

    .summary-item-value {
        font-size: 1em;
    }

    .create-ai-btn {
        font-size: 1em;
        padding: 15px 25px;
    }

    .back-btn-summary {
        font-size: 0.95em;
        padding: 12px 25px;
    }
}
