/* ========================================
   GM Peruzzo Link Bio - Premium Dark Theme
   ======================================== */

:root {
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #5a5a6a;
    --accent: #FFB800;
    --accent-light: #FFD54F;
    --accent-glow: rgba(255, 184, 0, 0.3);
    --accent-secondary: #FFC107;
    --accent-warm: #FFCA28;
    --gradient-1: linear-gradient(135deg, #FFB800, #FFD54F);
    --gradient-2: linear-gradient(135deg, #F5A623, #FFD700);
    --gradient-3: linear-gradient(135deg, #FFC107, #FFD54F);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 184, 0, 0.2);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 23, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 160, 23, 0.5);
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gradient-1);
    color: #000;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    box-shadow: 0 8px 32px rgba(212, 160, 23, 0.4);
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) saturate(1.1);
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.7) 70%,
            rgba(0, 0, 0, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px 60px;
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Profile Image */
.profile-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.profile-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-1);
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.3), 0 0 80px rgba(245, 158, 11, 0.15);
    animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(212, 160, 23, 0.3), 0 0 80px rgba(245, 158, 11, 0.15);
    }

    50% {
        box-shadow: 0 0 60px rgba(212, 160, 23, 0.5), 0 0 100px rgba(245, 158, 11, 0.25);
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 30%, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Stats */
.profile-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll Hint */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    opacity: 0.6;
}

@keyframes scrollBounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 12px;
    z-index: 100;
}

.tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab.active {
    background: var(--gradient-1);
    color: #000;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.tab svg {
    flex-shrink: 0;
}

/* Sections */
.section {
    display: none;
    animation: sectionFadeIn 0.4s ease-out;
}

.section.active {
    display: block;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.minimal-header-style {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 36px;
}

.minimal-header-style .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.minimal-header-style .section-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}



/* ========================================
   Prompts Grid
   ======================================== */
.prompts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.prompt-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
    transform: translateY(0);
}

.prompt-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.prompt-card:active {
    transform: translateY(-2px) scale(0.98);
}

.prompt-card-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.prompt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prompt-card:hover .prompt-card-img img {
    transform: scale(1.08);
}

.prompt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prompt-card:hover .prompt-overlay {
    opacity: 1;
}

.copy-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.prompt-card:hover .copy-icon {
    transform: translateY(0);
}

.copy-icon span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.prompt-info {
    padding: 14px 16px;
}

.prompt-info h3 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.prompt-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(212, 160, 23, 0.15);
    color: var(--accent-light);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

/* Copied state */
.prompt-card.copied .prompt-overlay {
    opacity: 1;
    background: rgba(255, 184, 0, 0.5);
}

.prompt-card.copied .copy-icon svg {
    stroke: var(--accent);
}

/* ========================================
   Courses Section
   ======================================== */
.courses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: var(--shadow-glow);
}

.course-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrapper img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 184, 0, 0.3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.course-badge.new {
    color: #a0ffcf;
    border-color: rgba(160, 255, 207, 0.25);
}

.course-badge.premium {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.15), rgba(255, 213, 79, 0.15));
    color: #FFD54F;
    border-color: rgba(255, 213, 79, 0.4);
    box-shadow: 0 2px 16px rgba(255, 184, 0, 0.15);
}

.course-info {
    padding: 24px;
}

.course-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.course-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-price {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: var(--transition);
}

.course-card:hover .course-cta {
    color: white;
    transform: translateX(4px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    margin-top: 60px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-1);
    color: #000;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        max-height: 700px;
    }

    .cover-img {
        object-position: 35% center;
    }

    .profile-ring {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.6rem;
    }

    .profile-bio {
        font-size: 0.85rem;
    }

    .profile-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .prompts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .prompt-info {
        padding: 10px 12px;
    }

    .prompt-info h3 {
        font-size: 0.8rem;
    }

    .tab {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .course-info {
        padding: 18px;
    }

    .course-name {
        font-size: 1.05rem;
    }
}

@media (max-width: 360px) {
    .prompts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations on Scroll (used via JS)
   ======================================== */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-in:nth-child(1) {
    transition-delay: 0s;
}

.animate-in:nth-child(2) {
    transition-delay: 0.08s;
}

.animate-in:nth-child(3) {
    transition-delay: 0.16s;
}

.animate-in:nth-child(4) {
    transition-delay: 0.24s;
}

.animate-in:nth-child(5) {
    transition-delay: 0.32s;
}

.animate-in:nth-child(6) {
    transition-delay: 0.4s;
}

/* Premium Course Card */
.premium-course-card {
    position: relative;
    display: block;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.6), rgba(255, 213, 79, 0.1), rgba(0, 0, 0, 0));
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.premium-course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.2);
}

.premium-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 184, 0, 0.5);
    filter: blur(90px);
    top: -80px;
    right: -80px;
    border-radius: 50%;
    animation: premiumPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes premiumPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

.premium-content {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.92), rgba(12, 12, 12, 0.98));
    backdrop-filter: blur(12px);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.premium-course-card.has-cover .premium-content {
    border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
    padding-top: 24px;
}

.premium-cover {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
}

.premium-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 12, 12, 0.98) 100%);
    pointer-events: none;
}

.premium-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-course-card:hover .premium-cover-img {
    transform: scale(1.05);
}

.premium-cover .premium-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.premium-badge {
    padding: 8px 18px;
    background: linear-gradient(90deg, #FFB800, #FFD54F);
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.4);
}

.premium-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #FFD54F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.premium-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.premium-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

.premium-course-card:hover .premium-cta {
    background: var(--gradient-1);
    color: #000;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(255, 184, 0, 0.4);
}

.premium-course-card:hover .premium-cta svg {
    transform: translateX(6px);
}

.premium-cta svg {
    transition: transform 0.3s ease;
}

/* Badge Animation */
.badge-animated {
    animation: badgePulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1) translateY(0); 
        box-shadow: var(--shadow-glow); 
    }
    50% { 
        transform: scale(1.05) translateY(-2px); 
        box-shadow: 0 0 30px rgba(255, 184, 0, 0.6); 
    }
}

/* Secondary Courses Section */
.secondary-courses-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.secondary-section-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 16px;
    margin-bottom: 8px;
    margin-left: 4px;
    text-align: left;
}

.secondary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(255, 184, 0, 0.03) 0%, var(--bg-card) 15%);
    border: 1px solid var(--glass-border);
    border-left: 3px solid rgba(255, 184, 0, 0.3);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.secondary-card:hover {
    background: linear-gradient(90deg, rgba(255, 184, 0, 0.08) 0%, rgba(255, 255, 255, 0.05) 50%);
    border-color: rgba(255, 184, 0, 0.3);
    border-left-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.15);
}

.secondary-card-icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.secondary-card:hover .secondary-card-icon {
    background: var(--gradient-1);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.secondary-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.secondary-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.secondary-card-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.secondary-card-arrow {
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.secondary-card:hover .secondary-card-arrow {
    color: var(--accent-light);
    transform: translateX(4px);
}

/* Desktop Overrides */
@media (min-width: 768px) {
    .premium-cover {
        height: 280px;
    }
}

/* ========================================
   Image Modal & Expand Button
   ======================================== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-fit: contain;
}

.image-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent);
    text-decoration: none;
}

/* Expand Button */
.prompt-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.prompt-info-header h3 {
    margin-bottom: 0;
}

.expand-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 4px;
}

.expand-btn:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}