/* Landing Page - Minimalist Tech Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Decorations */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Animated Grid */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

/* Gradient Orbs */
.bg-gradient-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float1 15s ease-in-out infinite;
}

.bg-gradient-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float2 18s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.15);
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 20% 80% 60% 40% / 70% 30% 70% 30%;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    animation: morphFloat1 20s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 200px;
    height: 200px;
    animation: morphFloat2 25s ease-in-out infinite;
}

.shape-3 {
    bottom: 15%;
    left: 50%;
    width: 120px;
    height: 120px;
    animation: morphFloat3 22s ease-in-out infinite;
}

@keyframes morphFloat1 {

    0%,
    100% {
        border-radius: 20% 80% 60% 40% / 70% 30% 70% 30%;
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

@keyframes morphFloat2 {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: translate(-40px, 40px) rotate(180deg);
    }
}

@keyframes morphFloat3 {

    0%,
    100% {
        border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%;
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        border-radius: 30% 70% 50% 50% / 70% 30% 50% 50%;
        transform: translate(25px, -25px) rotate(90deg);
    }

    66% {
        border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%;
        transform: translate(-25px, 25px) rotate(270deg);
    }
}

/* Ensure content is above background */
.top-nav,
.main-content {
    position: relative;
    z-index: 1;
}

/* Top Navigation */
.top-nav {
    background: transparent;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666666;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #000000;
}

.nav-link.active {
    color: #000000;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #000000;
}

.nav-right {
    display: flex;
    gap: 1rem;
}

.login-btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.login-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem 0;
}

.hero-label {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-light {
    font-weight: 300;
    font-size: inherit;
}

.hero-title-bold {
    font-weight: 700;
    font-size: inherit;
}

.hero-description {
    font-size: 1.25rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Hero Feature Tags */
.hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-tag:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.feature-tag svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Hero CTA */
.hero-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.primary-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.primary-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.primary-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.primary-cta-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.primary-cta-btn .btn-text {
    position: relative;
    z-index: 1;
}

.primary-cta-btn svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.primary-cta-btn:hover svg {
    transform: translateX(4px);
}

.cta-hint {
    font-size: 0.875rem;
    color: #999999;
    margin: 0;
}

/* Input Section */
.input-section {
    margin-bottom: 4rem;
}

.input-container {
    max-width: 100%;
    margin: 0 auto;
}

.input-wrapper {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.input-wrapper:focus-within {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.main-input {
    width: 100%;
    border: none;
    resize: none;
    font-size: 1rem;
    font-family: inherit;
    color: #000000;
    outline: none;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.main-input::placeholder {
    color: #999999;
}

.input-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.file-input-hidden {
    display: none;
}

.icon-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    color: #666666;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.icon-btn:hover {
    color: #000000;
}

.ratio-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.ratio-selector-wrapper svg {
    width: 18px;
    height: 18px;
    color: #666666;
}

.ratio-selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
    padding-right: 1.25rem;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.ratio-selector:hover {
    color: #000000;
}

.generate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.generate-btn svg {
    width: 18px;
    height: 18px;
}

.generate-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Preview Section */
.preview-section {
    margin-bottom: 3rem;
}

.preview-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.preview-card {
    width: 200px;
    flex-shrink: 0;
    background: #ffffff;
    border: 2px dashed #e5e5e5;
    border-radius: 1rem;
    aspect-ratio: 1;
    overflow: hidden;
    transition: all 0.2s;
}

.preview-card:hover {
    border-color: #d5d5d5;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #cccccc;
}

.preview-placeholder svg {
    width: 48px;
    height: 48px;
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #999999;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.arrow-indicator {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    color: #ff6b35;
    /* 橘色 */
}

.arrow-indicator svg {
    width: 48px;
    /* 从 32px 增加到 48px */
    height: 48px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
    /* 添加橘色阴影 */
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
        /* 从 8px 增加到 12px，更明显的跳动 */
    }
}

/* Gallery Section */
.gallery-section {
    margin-top: 4rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 360px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e5e5;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #d5d5d5;
}

.gallery-card.card-tall {
    grid-row: span 2;
}

.gallery-card.card-wide {
    grid-column: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
}

.card-label {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-label.light {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        gap: 1.5rem;
    }

    .feature-tag {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        grid-auto-rows: 320px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .hero-section {
        padding: 2rem 0;
        margin-bottom: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        gap: 1rem;
        margin: 2rem auto;
    }

    .feature-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .feature-tag svg {
        width: 16px;
        height: 16px;
    }

    .primary-cta-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .primary-cta-btn svg {
        width: 18px;
        height: 18px;
    }

    .input-wrapper {
        padding: 1.5rem;
    }

    .input-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group {
        flex-direction: column;
        align-items: stretch;
    }

    .generate-btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 400px;
    }

    .gallery-card.card-tall,
    .gallery-card.card-wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

/* Builder Page Specific Styles */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.identification-report,
.prompt-cards-section {
    position: relative;
    z-index: 1;
}

.upload-preview {
    margin-bottom: 1rem;
}

.upload-preview.hidden {
    display: none;
}

/* Override body padding for landing page */
body.landing-page {
    padding: 0;
}

/* Fix input container - remove duplicate borders */
.input-wrapper {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 2rem;
}

.input-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Remove any nested input-container borders */
.input-section .input-container {
    background: transparent;
    border: none;
    padding: 0;
}

/* Override styles.css input-container for landing page */
.landing-page .input-container {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
}

.landing-page .input-container:focus-within {
    border: none !important;
    box-shadow: none !important;
}

.landing-page .input-controls {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}

/* Ensure upload preview uses styles.css styles */
.landing-page .upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.landing-page .preview-item {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #F8FAFC;
    padding: 2px;
}

.landing-page .preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.landing-page .preview-delete-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #E2E8F0;
    color: #64748B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.landing-page .preview-delete-btn:hover {
    background: #EF4444;
    color: white;
}

.landing-page .preview-filename {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 20;
}

.landing-page .preview-item:hover .preview-filename {
    opacity: 1;
}

/* Optional badge for preview cards */
.optional-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff6b35;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.preview-card {
    position: relative;
}

/* Scenario Carousel */
.scenario-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.scenario-slide {
    display: block;
    min-width: 100%;
    /* animation: fadeInSlide removed */
}

.scenario-slide.active {
    display: block;
}

/* Smart Arrow Visibility */
.scenario-slide:first-child .prev-scenario {
    visibility: hidden;
    pointer-events: none;
}

.scenario-slide:last-child .next-scenario {
    visibility: hidden;
    pointer-events: none;
}

/* Text Input Preview for Scenario 2 */
.text-input-preview {
    max-width: 600px;
    margin: 0 auto;
}

.text-preview-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.preview-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    text-align: left;
    margin: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.indicator:hover {
    border-color: #999999;
}

.indicator.active {
    background: #000000;
    border-color: #000000;
    width: 32px;
    border-radius: 6px;
}

/* Usage Guide Section */
.usage-guide-section {
    margin-bottom: 4rem;
}

.usage-guide-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
}

/* Scenario Header */
/* Scenario Header */
.scenario-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.scenario-text {
    flex: 1;
    text-align: center;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #666;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: #ffffff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

.scenario-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.scenario-subtitle {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
}

/* Adjust section spacing within scenarios */
.scenario-slide .preview-section {
    margin-bottom: 2rem;
}

.scenario-slide .gallery-section {
    margin-top: 2rem;
}

/* Plus sign between preview cards */
.preview-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 300;
    color: #cccccc;
    margin: 0 1rem;
}

/* Update text preview to remove card background */
.text-input-preview .preview-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333333;
    text-align: center;
    margin: 0;
    padding: 2rem;
    font-style: italic;
}

/* User Profile Styles */
.user-profile {
    position: relative;
    z-index: 1000;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem;
    /* Reduced horizontal padding */
    background: transparent;
    /* Remove background */
    border: none;
    /* Remove border */
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none;
    /* Remove shadow */
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    /* Subtle hover effect */
    transform: translateY(-1px);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF6B35, #FF9F2E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-phone {
    color: #ffffff;
    /* White text for contrast on dark background */
    font-size: 0.95rem;
    font-weight: 500;
}

/* User Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 280px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform-origin: top right;
    animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-header {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.user-info-large {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.info-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: #64748b;
    background: #e2e8f0;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    width: fit-content;
}

.dropdown-body {
    padding: 1.5rem;
}

.points-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.points-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.points-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
}

.dropdown-footer {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: #fee2e2;
}

.hidden {
    display: none !important;
}

.btn-points-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}

.btn-points-badge .points-icon-svg {
    width: 14px;
    height: 14px;
}

/* Image Preview Modal */
.image-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.image-preview-modal.active {
    display: flex;
}

.image-preview-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}