:root {
    /* Fibonacci-based spacing (in rem) */
    --space-1: 0.1rem;
    --space-2: 0.2rem;
    --space-3: 0.3rem;
    --space-5: 0.5rem;
    --space-8: 0.8rem;
    --space-9: 0.9rem;
    --space-13: 1.3rem;
    --space-21: 2.1rem;
    --space-34: 3.4rem;
    --space-55: 3.4rem;
    --space-11: 1.1rem;
    
    /* Colors based on golden ratio harmonies */
    --color-primary: #E88D67;    /* Warm orange */
    --color-secondary: #BB8588;  /* Dusty rose */
    --color-accent: #6E7582;     /* Cool gray */
    --color-background: #FFF8F3; /* Warm white */
    --color-text: #2A2B2E;       /* Soft black */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.618;
    position: relative;
    overflow-x: hidden;
}

/* Add background pattern */
.bg-pattern {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.05;
}

.container {
    max-width: 55rem; /* ~89vh based on Fibonacci */
    margin: 0 auto;
    padding: var(--space-21);
}

.profile {
    text-align: center;
    margin-bottom: var(--space-34);
}

.profile-image {
    width: 16.9rem;
    height: 16.9rem;
    border-radius: 50%;
    margin-bottom: var(--space-21);
    border: var(--space-3) solid var(--color-primary);
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--color-primary) 0deg,
        var(--color-secondary) 90deg,
        var(--color-primary) 180deg,
        var(--color-secondary) 270deg,
        var(--color-primary) 360deg
    );
    z-index: -1;
    animation: rotateGradient 8s linear infinite;
    clip-path: path('M 50,0 C 50,0 100,25 100,50 C 100,75 50,100 50,100 C 50,100 0,75 0,50 C 0,25 50,0 50,0 Z');
}

.profile-image::after {
    content: '';
    position: absolute;
    top: -13px;
    left: -13px;
    right: -13px;
    bottom: -13px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        var(--color-primary) 0deg 10deg,
        transparent 10deg 20deg
    );
    z-index: -2;
    animation: rotateGradient 12s linear infinite reverse;
    filter: blur(1px);
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.profile-image:hover {
    transform: scale(1.034); /* Fibonacci-based scale */
}

.profile h1 {
    font-size: var(--space-34);
    margin-bottom: var(--space-8);
}

.bio {
    font-size: var(--space-13);
    color: var(--color-accent);
    max-width: 34rem;
    margin: 0 auto;
}

.links {
    display: flex;
    flex-direction: column;
    gap: var(--space-13);
}

.link-item {
    display: flex;
    align-items: center;
    padding: var(--space-13);
    background-color: white;
    border-radius: var(--space-8);
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 var(--space-2) var(--space-8) rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    font-size: var(--space-13);
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 0;
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 var(--space-5) var(--space-13) rgba(0,0,0,0.15);
}

/* Remove favicon background effect */
.link-item::before {
    /* content: ''; */ /* Commented out to remove the icon */
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    background-image: url('../assets/favicon.svg');
    background-size: contain;
    opacity: 0.1;
    transition: transform 0.3s ease;
}

/* Remove hover effect for the icon */
.link-item:hover::before {
    /* transform: translateY(-50%) rotate(10deg); */ /* Commented out to remove hover effect */
}

.link-item.instagram {
    animation: gradientBorder 3s ease infinite;
    border: 2px solid transparent;
    background-clip: padding-box;
}

@keyframes gradientBorder {
    0% { border-color: var(--color-primary); }
    50% { border-color: var(--color-secondary); }
    100% { border-color: var(--color-primary); }
}

.icon {
    width: var(--space-21);
    height: var(--space-21);
    margin-right: var(--space-13);
}

.icon-animate {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cta {
    background-color: var(--color-primary);
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-13);
    margin-top: var(--space-34);
    opacity: 0.8;
}

.social-item {
    padding: var(--space-8);
    border-radius: 50%;
    background: white;
    width: var(--space-55);
    height: var(--space-55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: var(--color-primary);
}

.social-item:hover {
    transform: translateY(-2px);
    opacity: 1;
    color: var(--color-secondary);
}

.social-item .icon {
    width: var(--space-34);
    height: var(--space-34);
    margin-right: 0;
}

.featured {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.business {
    border: 2px solid var(--color-primary);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 34rem;
    margin: var(--space-21) auto;
    padding: var(--space-21);
    border-radius: var(--space-8);
    position: relative;
    box-shadow: 0 var(--space-5) var(--space-21) rgba(0,0,0,0.2);
}

.modal h2 {
    margin-bottom: var(--space-13);
    color: var(--color-text);
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: var(--space-13);
}

.modal input,
.modal select,
.modal textarea {
    padding: var(--space-8);
    border: 1px solid var(--color-accent);
    border-radius: var(--space-5);
    font-family: inherit;
}

.modal textarea {
    min-height: 8rem;
    resize: vertical;
}

.modal button[type="submit"] {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: var(--space-13);
    border-radius: var(--space-5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal button[type="submit"]:hover {
    background: var(--color-secondary);
}

.close-modal {
    position: absolute;
    top: var(--space-8);
    right: var(--space-8);
    background: none;
    border: none;
    font-size: var(--space-21);
    cursor: pointer;
    color: var(--color-accent);
}

@media (max-width: 34rem) {
    .container {
        padding: var(--space-13);
    }
    
    .profile-image {
        width: 10.4rem;
        height: 10.4rem;
    }
    
    .profile h1 {
        font-size: var(--space-21);
    }
}

/* Update icon styles for link items */
.link-item .icon {
    width: var(--space-34); /* Bigger size */
    height: var(--space-34); /* Bigger size */
    margin-right: var(--space-13);
    color: var(--color-secondary); /* Default dusty rose color */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Special colors for different link types */
.featured .icon {
    color: white; /* White icon for featured items */
}

.business .icon {
    color: var(--color-primary); /* Warm orange for business */
}

/* Add hover effect for icons */
.link-item:hover .icon {
    transform: scale(1.1);
}

/* Update icon animation */
.icon-animate {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.13); } /* Fibonacci-based scale */
    100% { transform: scale(1); }
}

/* Add these new styles */
.modal-description {
    color: var(--color-accent);
    text-align: center;
    margin-bottom: var(--space-21);
    font-size: var(--space-13);
    line-height: 1.618;
}

.date-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.date-group label {
    color: var(--color-text);
    font-size: var(--space-13);
}

.date-hint {
    color: var(--color-accent);
    font-size: var(--space-8);
    margin-top: var(--space-3);
}

.payment-note {
    color: var(--color-accent);
    font-size: var(--space-8);
    font-style: italic;
    margin-top: var(--space-8);
    text-align: center;
}

/* Add these styles */
.budget-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.budget-group label {
    color: var(--color-text);
    font-size: var(--space-13);
}

.budget-group input[type="number"] {
    padding: var(--space-8);
    border: 1px solid var(--color-accent);
    border-radius: var(--space-5);
    font-family: inherit;
}

/* Update modal-description for business modal */
#business-modal .modal-description {
    color: var(--color-accent);
    text-align: center;
    margin-bottom: var(--space-21);
    font-size: var(--space-13);
    line-height: 1.618;
    font-weight: 500;
}

/* Add this new style for smaller labels */
.small-label {
    color: var(--color-text);
    font-size: var(--space-11); /* New size between placeholder and normal label */
}

/* Add heart icon animation */
.icon-heart {
    vertical-align: middle;
    margin-left: 0.2rem;
    color: var(--color-primary);
    animation: heartBeat 5s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.25); }
    60% { transform: scale(1); }
}

/* Add new modal styles */
.modal {
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 var(--space-8) var(--space-34) rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content h2 {
    text-align: center;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced form styles */
.modal form {
    gap: var(--space-21);
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.modal input,
.modal select,
.modal textarea {
    padding: var(--space-13);
    background: rgba(255,255,255,0.9);
    border: 2px solid transparent;
    border-radius: var(--space-8);
    font-size: var(--space-13);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    border-color: var(--color-primary);
    background: white;
    outline: none;
    box-shadow: 0 2px 13px rgba(232,141,103,0.15);
}

.modal input:hover,
.modal select:hover,
.modal textarea:hover {
    background: white;
}

.modal button[type="submit"] {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: var(--space-13) var(--space-21);
    font-size: var(--space-13);
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 var(--space-5) var(--space-13) rgba(232,141,103,0.3);
}

/* Modal description enhancement */
.modal-description {
    background: linear-gradient(135deg, rgba(232,141,103,0.1), rgba(187,133,136,0.1));
    padding: var(--space-13);
    border-radius: var(--space-8);
    margin: var(--space-13) 0 var(--space-21);
    font-weight: 500;
}

/* Close button enhancement */
.close-modal {
    width: var(--space-34);
    height: var(--space-34);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: white;
    transform: rotate(90deg);
}

/* Form field animations */
@keyframes formFieldFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: formFieldFadeIn 0.5s ease forwards;
}

.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.3s; }

/* Add these CSS variables for different themes */
:root {
    /* Original theme */
    --color-primary: #E88D67;    /* Warm orange */
    --color-secondary: #BB8588;  /* Dusty rose */
    --color-accent: #6E7582;     /* Cool gray */
    --color-background: #FFF8F3; /* Warm white */
    --color-text: #2A2B2E;       /* Soft black */
}

/* Theme switcher styles */
.theme-switcher {
    position: fixed;
    top: var(--space-13);
    left: var(--space-13);
    display: flex;
    gap: var(--space-8);
    z-index: 100;
}

.theme-btn {
    width: var(--space-21);
    height: var(--space-21);
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.theme-btn:hover {
    transform: scale(1.13);
    box-shadow: 0 3px 13px rgba(0,0,0,0.2);
}

/* Theme 1 - Original */
.theme-1 {
    background: linear-gradient(135deg, #E88D67, #BB8588);
}

/* Theme 2 - Vibrant */
.theme-2 {
    background: linear-gradient(135deg, #FF3366, #8A2BE2);
}

/* Theme 3 - Tropical */
.theme-3 {
    background: linear-gradient(135deg, #00C9FF, #92FE9D);
}

/* Theme color classes */
.theme-vibrant {
    --color-primary: #FF3366;    /* Hot pink */
    --color-secondary: #8A2BE2;  /* Electric purple */
    --color-accent: #4A90E2;     /* Bright blue */
    --color-background: #FAFAFA; /* Cool white */
    --color-text: #2C003E;       /* Deep purple */
}

.theme-tropical {
    --color-primary: #00C9FF;    /* Cyan */
    --color-secondary: #92FE9D;  /* Mint green */
    --color-accent: #FF9966;     /* Coral */
    --color-background: #F0FFF4; /* Mint white */
    --color-text: #004D40;       /* Deep teal */
}

/* Add new theme button style */
.theme-4 {
    background: linear-gradient(135deg, #000000, #1A1A1A);
    border: 2px solid #00FF94 !important;
}

/* Add new theme color class */
.theme-dark {
    --color-primary: #00FF94;    /* Neon green */
    --color-secondary: #FF00FF;  /* Neon pink */
    --color-accent: #00FFFF;     /* Cyan */
    --color-background: #0A0A0A; /* Almost black */
    --color-text: #FFFFFF;       /* White */
}

/* Add dark theme specific overrides */
.theme-dark .link-item {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .link-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

.theme-dark .social-item {
    background-color: rgba(255, 255, 255, 0.05);
}

.theme-dark .modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.98));
    border: 1px solid var(--color-primary);
}

.theme-dark .modal input,
.theme-dark .modal select,
.theme-dark .modal textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.theme-dark .modal input:focus,
.theme-dark .modal select:focus,
.theme-dark .modal textarea:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.theme-dark .modal input::placeholder,
.theme-dark .modal textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.theme-dark .close-modal {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.theme-dark .modal-description {
    background: linear-gradient(135deg, rgba(0, 255, 148, 0.1), rgba(255, 0, 255, 0.1));
}

.theme-dark .bg-pattern {
    opacity: 0.1;
}


/* Link title styles */
.link-title {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.link-title s {
    font-size: 0.9em;
    color: var(--color-text);
    opacity: 0.6;
    position: relative;
    margin: 0 var(--space-3);
}

.link-title s::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}



/* Link item text styles */
.link-item {
    /* ... existing styles ... */
    font-size: var(--space-13);
    font-weight: 500;
}

.link-title {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-5);
}

.link-title s {
    font-size: 0.85em;
    color: var(--color-accent);
    opacity: 0.8;
    text-decoration-color: currentColor;
    margin: 0 var(--space-3);
}

/* Special styling for featured items */
.featured {
    /* ... existing styles ... */
    color: white;
}

.featured .link-title s {
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
}

/* Business link specific styles */
.business .link-title {
    color: var(--color-text);
}

/* Dark theme overrides */
.theme-dark .link-title s {
    color: rgba(255, 255, 255, 0.7);
}

.theme-dark .link-item {
    color: var(--color-text);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-20px);
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.price-label {
    position: absolute;
    top: 2px; /* Move it higher */
    right: 10px; /* Keep it the same or adjust as needed */
    background-color: var(--color-primary);
    color: white;
    padding: 0px 10px;
    border-radius: 5px;
    font-size: 0.9em; /* Adjust font size as needed */
    font-weight: bold;
}
.link-item {
    position: relative; /* Ensure the link item is positioned relative for absolute positioning of the price label */
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .container {
        padding: var(--space-13); /* Reduce padding */
    }

    .profile-image {
        width: 8rem; /* Reduce image size */
        height: 8rem; /* Reduce image size */
    }

    .profile h1 {
        font-size: var(--space-21); /* Reduce font size */
    }

    .bio {
        font-size: var(--space-11); /* Reduce font size */
    }

    .link-item {
        margin-bottom: -15px; /* Remove space between items */
        margin-top: 0; /* Remove space between items */
        padding: var(--space-5);
    }

    .link-title {
        font-size: var(--space-9); /* Reduce font size */
    }

    .price-label {
        font-size: 0.8em; /* Reduce font size for price label */
    }

    .modal-content {
        padding: var(--space-5); /* Reduce padding */
        font-size: var(--space-9); /* Reduce font size for mobile */
    }

  

    .modal-content p {
        font-size: var(--space-9); /* Reduce paragraph font size */
    }

    .modal-content input,
    .modal-content textarea,
    .modal-content select {
        font-size: var(--space-9); /* Reduce input font size */
        padding: var(--space-2); /* Reduce input padding */
    }

    .modal-content button {
        font-size: var(--space-8); /* Reduce button font size */
        padding: var(--space-3); /* Reduce button padding */
    }
}

.link-item.disabled {
    pointer-events: none; /* Prevent click events */
    opacity: 0.6; /* Make it look disabled */
    cursor: not-allowed; /* Change cursor to indicate it's not clickable */
}

.terms-checkbox {
    display: flex;
    align-items: center; /* Aligns checkbox and label vertically */
    gap: 0.5rem; /* Space between checkbox and label */
    margin-top: var(--space-5); /* Optional: add some space above */
 
}

.terms-checkbox input[type="checkbox"] {
    width: 1.2rem; /* Adjust size of checkbox */
    height: 1.2rem; /* Adjust size of checkbox */
    cursor: pointer; /* Change cursor to pointer */
    accent-color: var(--color-primary);
}

.terms-label {
    color: gray; /* Set the font color to gray */
    font-size: 0.9rem; /* Optional: adjust font size */
}

/* Add strikethrough price style */
.price-label .original-price {
    text-decoration: line-through;
    opacity: 0.8;
    margin-right: 5px;
}

/* Add these new styles after the .featured class */

.featured-valentine {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid #FF69B4;
    animation: pulse-border 2s infinite;
}

.featured-valentine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        transform: translateX(100%);
    }
}

@keyframes pulse-border {
    0% { border-color: #FF69B4; }
    50% { border-color: #FF1493; }
    100% { border-color: #FF69B4; }
}

.featured-valentine .icon {
    animation: heart-beat 1.5s infinite;
}

@keyframes heart-beat {
    0% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.25); }
    60% { transform: scale(1); }
}

/* Add to the theme-dark section */
.theme-dark .featured-valentine {
    background: linear-gradient(135deg, #FF1493, #C71585);
    border-color: #FF69B4;
}

/* Add these new styles for the sharing interface */
.share-url-container {
    display: flex;
    gap: var(--space-8);
    margin: var(--space-21) 0;
}

.share-url {
    flex: 1;
    padding: var(--space-13);
    border: 2px solid var(--color-primary);
    border-radius: var(--space-5);
    font-size: var(--space-13);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    cursor: text;
}

.copy-btn {
    padding: var(--space-8) var(--space-13);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--space-5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--color-secondary);
}

.share-buttons {
    display: flex;
    gap: var(--space-13);
    margin-bottom: var(--space-21);
}

.share-btn {
    flex: 1;
    padding: var(--space-13);
    text-align: center;
    text-decoration: none;
    border-radius: var(--space-5);
    transition: all 0.3s ease;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.expiry-note {
    text-align: center;
    color: #FF3366;
    font-size: var(--space-11);
    margin-top: var(--space-13);
    padding: var(--space-8);
    background: rgba(255, 105, 180, 0.1);
    border-radius: var(--space-5);
}

/* Dark theme adjustments */
.theme-dark .share-url {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: var(--color-primary);
}

.theme-dark .expiry-note {
    background: rgba(255, 105, 180, 0.2);
}

.card-preview {
    width: 100%;
    margin: var(--space-21) 0;
    border-radius: var(--space-8);
    overflow: hidden;
    position: relative;
    padding-top: 66.8%; /* 963/1440 = 0.668 aspect ratio */
    background: rgba(255, 105, 180, 0.1);
}

.card-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: var(--space-8);
}

/* New rule: force inline SVGs inside card-preview to scale appropriately */
.card-preview svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Adjust modal size for card preview */
.modal-content {
    max-width: 90vw;
    width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Dark theme adjustment */
.theme-dark .card-preview {
    background: rgba(255, 105, 180, 0.2);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .card-preview {
        padding-top: 100%; /* Make it square on mobile */
    }
    
    .modal-content {
        width: 95vw;
        padding: var(--space-13);
    }
}

/* Valentine form styles */
#valentineForm input[type="text"] {
    width: 100%;
    padding: var(--space-13);
    font-size: 1.2rem;
    text-align: center;
    border: 2px solid var(--color-primary);
    border-radius: var(--space-8);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    margin-bottom: var(--space-21);
    transition: all 0.3s ease;
}

#valentineForm input[type="text"]::placeholder {
    color: #999;
    font-size: 1.1rem;
}

#valentineForm input[type="text"]:focus {
    outline: none;
    border-color: #FF1493;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
    transform: translateY(-2px);
}

/* Dark theme adjustment */
.theme-dark #valentineForm input[type="text"] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.theme-dark #valentineForm input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}