/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme Variables */
:root {
    /* Default Theme */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: rgba(0,0,0,0.1);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #4a90e2;
    --secondary-color: #5a67d8;
    --accent-color: #e53e3e;
    --text-color: #e2e8f0;
    --bg-color: #1a202c;
    --card-bg: #2d3748;
    --shadow: rgba(0,0,0,0.3);
}

/* Romantic Theme */
[data-theme="romantic"] {
    --primary-color: #e91e63;
    --secondary-color: #f06292;
    --accent-color: #ff9800;
    --text-color: #424242;
    --bg-color: #fce4ec;
    --card-bg: #ffffff;
    --shadow: rgba(233, 30, 99, 0.1);
}

/* Elegant Theme */
[data-theme="elegant"] {
    --primary-color: #9c27b0;
    --secondary-color: #673ab7;
    --accent-color: #3f51b5;
    --text-color: #212121;
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --shadow: rgba(0,0,0,0.08);
}

/* Child Theme */
[data-theme="child"] {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --text-color: #2c3e50;
    --bg-color: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: rgba(255, 107, 107, 0.3);
    --child-pink: #ff6b9d;
    --child-blue: #4ecdc4;
    --child-yellow: #ffe66d;
    --child-green: #95e1d3;
    --child-purple: #a8edea;
}

/* Child Theme Enhancements */
[data-theme="child"] .cover-overlay h1 {
    animation: rainbow 3s ease-in-out infinite;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d, #ff6b6b);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

[data-theme="child"] .countdown-item {
    animation: bounceIn 0.8s ease-out;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    border-radius: 20px;
    transform: rotate(-2deg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

[data-theme="child"] .countdown-item:hover {
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

[data-theme="child"] .countdown-item:nth-child(2) { 
    transform: rotate(1deg);
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
}

[data-theme="child"] .countdown-item:nth-child(2):hover {
    transform: rotate(1deg) scale(1.05);
}

[data-theme="child"] .countdown-item:nth-child(3) { 
    transform: rotate(-1deg);
    background: linear-gradient(135deg, #ffe66d 0%, #fda769 100%);
}

[data-theme="child"] .countdown-item:nth-child(3):hover {
    transform: rotate(-1deg) scale(1.05);
}

[data-theme="child"] .countdown-item:nth-child(4) { 
    transform: rotate(2deg);
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fa3 100%);
}

[data-theme="child"] .countdown-item:nth-child(4):hover {
    transform: rotate(2deg) scale(1.05);
}

[data-theme="child"] .gallery-item {
    animation: slideInUp 0.6s ease-out;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d, #ff6b9d) border-box;
    transition: all 0.3s ease;
}

[data-theme="child"] .gallery-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
}

[data-theme="child"] .gallery-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 1;
}

[data-theme="child"] .gallery-item:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

[data-theme="child"] .btn {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

[data-theme="child"] .btn:nth-of-type(2n) {
    background: linear-gradient(135deg, #4ecdc4 0%, #95e1d3 100%);
}

[data-theme="child"] .btn:nth-of-type(3n) {
    background: linear-gradient(135deg, #ffe66d 0%, #fda769 100%);
}

[data-theme="child"] .btn:nth-of-type(4n) {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fa3 100%);
}

[data-theme="child"] .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

[data-theme="child"] .btn:hover::before {
    left: 100%;
}

[data-theme="child"] .btn:hover {
    transform: translateY(-5px) rotate(-2deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

[data-theme="child"] .btn:active {
    transform: translateY(-2px);
}

[data-theme="child"] .welcome-message h3 {
    animation: fadeInScale 1s ease-out;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem !important;
    font-weight: 700 !important;
}

[data-theme="child"] .welcome-message p {
    font-size: 1.2rem !important;
    color: #2c3e50 !important;
    font-weight: 500;
}

[data-theme="child"] .details {
    animation: slideInLeft 0.8s ease-out;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.25);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

[data-theme="child"] .details::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d, #ff6b9d, #ff6b6b);
    background-size: 400% 400%;
    border-radius: 28px;
    z-index: -1;
    animation: gradientShift 6s ease infinite;
}

[data-theme="child"] .details h3 {
    color: #ff6b6b !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
}

[data-theme="child"] .details p {
    color: #2c3e50 !important;
    font-size: 1.1rem !important;
    padding: 15px 0 !important;
    border-bottom: 2px solid rgba(255, 107, 107, 0.2) !important;
}

[data-theme="child"] .details p:last-child {
    border-bottom: none !important;
}

[data-theme="child"] .details strong {
    color: #ff6b6b !important;
    font-weight: 700 !important;
}

/* Child Theme Animations */
@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3) rotate(-2deg); opacity: 0; }
    50% { transform: scale(1.05) rotate(-2deg); }
    70% { transform: scale(0.9) rotate(-2deg); }
    100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInScale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating Elements for Child Theme */
[data-theme="child"]::before {
    content: '🎈🎉🎊🎈';
    position: fixed;
    top: 5%;
    left: 5%;
    font-size: 1.8rem;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
    opacity: 0.7;
}

[data-theme="child"]::after {
    content: '🎂🎁🎀🎂';
    position: fixed;
    top: 15%;
    right: 10%;
    font-size: 2rem;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
    opacity: 0.7;
}

/* Additional decorative elements */
[data-theme="child"] .invitation-container::before {
    content: '🎈';
    position: fixed;
    top: 25%;
    right: 5%;
    font-size: 2rem;
    animation: float 7s ease-in-out infinite;
    z-index: 0;
    opacity: 0.6;
}

[data-theme="child"] .invitation-container::after {
    content: '🎉';
    position: fixed;
    bottom: 20%;
    left: 5%;
    font-size: 2rem;
    animation: float 9s ease-in-out infinite reverse;
    z-index: 0;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* Additional Child Theme Styles */
[data-theme="child"] .social-share {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
    border: 2px dashed rgba(255, 107, 107, 0.3);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

[data-theme="child"] .share-btn {
    transition: all 0.3s ease;
    animation: bounceIn 0.6s ease-out;
    border-radius: 60% !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="child"] .share-btn:hover {
    transform: scale(1.15) rotate(8deg) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

.invitation-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 0 30px var(--shadow);
    background: var(--card-bg);
}

/* Cover Section */
.cover-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.cover-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.cover-overlay h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cover-overlay p {
    font-size: 1.2rem;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Content Section */
.content-section {
    padding: 60px 20px;
    background: var(--card-bg);
}

.welcome-message {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-message p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.welcome-message h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 30px 0;
    font-weight: 600;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    min-width: 100px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Details */
.details {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 15px var(--shadow);
}

.details h3 {
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.details p {
    margin: 15px 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.details strong {
    color: var(--text-color);
    min-width: 120px;
}

/* Gallery Section */
.gallery-section {
    margin: 60px 0;
    text-align: center;
}

.gallery-section h3 {
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mobile Responsiveness for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 180px;
    }
}

/* Actions */
.actions {
    text-align: center;
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cover-overlay h1 {
        font-size: 2.5rem;
    }

    .cover-overlay h2 {
        font-size: 1.5rem;
    }

    .cover-overlay p {
        font-size: 1rem;
    }

    .welcome-message h3 {
        font-size: 2rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 80px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .details {
        padding: 20px;
    }

    .details p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .btn {
        display: block;
        margin: 10px auto;
        width: 250px;
    }
}

@media (max-width: 480px) {
    .cover-section {
        height: 80vh;
    }

    .content-section {
        padding: 30px 15px;
    }

    .countdown-item {
        flex: 1 1 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .details h3 {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section > * {
    animation: fadeInUp 0.8s ease-out;
}

.content-section > *:nth-child(1) { animation-delay: 0.1s; }
.content-section > *:nth-child(2) { animation-delay: 0.2s; }
.content-section > *:nth-child(3) { animation-delay: 0.3s; }
.content-section > *:nth-child(4) { animation-delay: 0.4s; }

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Background Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.music-control i {
    font-size: 1.2rem;
    color: #667eea;
}

/* Social Share */
.social-share {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.social-share h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.copy {
    background: #6c757d;
    color: white;
}

/* Enhanced Details */
.details a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.details a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Enhanced Actions */
.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Print Styles */
@media print {
    .cover-section {
        background-attachment: initial !important;
        height: auto !important;
        min-height: 400px;
    }

    .actions {
        display: none;
    }

    .music-control {
        display: none;
    }

    .social-share {
        display: none;
    }
}

/* Wishes Section - Child Theme */
[data-theme="child"] .wishes-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 30px;
    border: 2px dashed rgba(255, 107, 107, 0.3);
    animation: slideInUp 0.8s ease-out;
}

[data-theme="child"] .wishes-section h3 {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem !important;
    font-weight: 800 !important;
}

[data-theme="child"] .wish-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid rgba(255, 107, 107, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2) !important;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

[data-theme="child"] .wish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffe66d, #ff6b9d);
}

[data-theme="child"] .wish-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.3) !important;
    border-color: #ff6b6b !important;
}

[data-theme="child"] .wish-header {
    border-bottom: 2px solid rgba(255, 107, 107, 0.2) !important;
}

[data-theme="child"] .wish-header strong {
    color: #ff6b6b !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

[data-theme="child"] .wish-header small {
    color: #999 !important;
    font-size: 0.8rem !important;
}

[data-theme="child"] .wish-body {
    color: #2c3e50 !important;
    line-height: 1.8 !important;
    font-size: 1rem !important;
}

/* Form Styles for Child Theme */
[data-theme="child"] .wish-form-section {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%) !important;
    border: 2px dashed rgba(255, 107, 107, 0.3) !important;
    border-radius: 25px !important;
    animation: slideInUp 0.8s ease-out;
}

[data-theme="child"] .wish-form-section h3 {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
}

[data-theme="child"] .form-group label {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

[data-theme="child"] .form-group input,
[data-theme="child"] .form-group textarea,
[data-theme="child"] .form-group select {
    border: 2px solid rgba(255, 107, 107, 0.3) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    color: #2c3e50 !important;
    font-size: 1rem !important;
    font-weight: 500;
    padding: 12px 18px !important;
    transition: all 0.3s ease;
}

[data-theme="child"] .form-group input:focus,
[data-theme="child"] .form-group textarea:focus,
[data-theme="child"] .form-group select:focus {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15) !important;
    outline: none !important;
}

[data-theme="child"] .form-group textarea {
    border-radius: 15px !important;
}

[data-theme="child"] form button[type="submit"] {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%) !important;
    border-radius: 60px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3) !important;
    transition: all 0.3s ease;
    padding: 15px 35px !important;
}

[data-theme="child"] form button[type="submit"]:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4) !important;
}

[data-theme="child"] form button[type="submit"]:active {
    transform: translateY(-1px);
}

.wishes-section h3 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 600;
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wish-card {
    background: var(--card-bg);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.wish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
    border-color: var(--primary-color);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.wish-header strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}

.wish-header small {
    color: #999;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 10px;
}

.wish-body {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.wish-body p {
    margin: 0;
    word-wrap: break-word;
}

/* Wish Form Section */
.wish-form-section {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.wish-form-section h3 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--card-bg);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

form button[type="submit"] {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

form button[type="submit"]:active {
    transform: translateY(-1px);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    animation: slideInDown 0.3s ease;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container Styles */
.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
}

.container h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.container h2,
.container h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.current-rsvp {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
}

.current-rsvp h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.current-rsvp p {
    margin: 10px 0;
    color: var(--text-color);
}

.back-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive for Forms and Container */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 20px;
    }

    .container h1 {
        font-size: 1.8rem;
    }

    .wish-form-section {
        padding: 20px;
    }

    .wish-form-section h3 {
        font-size: 1.5rem;
    }

    .wishes-grid {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 16px;
    }

    form button[type="submit"] {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    .container h1 {
        font-size: 1.5rem;
    }

    .container h2 {
        font-size: 1.2rem;
    }

    .wish-form-section {
        margin: 30px 0;
        padding: 15px;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    .wish-header {
        flex-direction: column;
    }

    .wish-header small {
        margin-left: 0;
        margin-top: 5px;
    }
}
