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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2e 100%);
    color: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #e8b4bc;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(232, 180, 188, 0.5);
}

.card-header .subtitle {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto;
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Valentine Card Styles */
.valentine-card {
    background: linear-gradient(145deg, #0c0c0c 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    height: 700px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(232, 180, 188, 0.1);
}

.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hearts */
.heart {
    position: absolute;
    background-color: #e8b4bc;
    border-radius: 50%;
}

.heart:before,
.heart:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e8b4bc;
    border-radius: 50%;
}

.heart:before {
    top: -50%;
    left: 0;
}

.heart:after {
    top: 0;
    left: 50%;
}

.heart-1 {
    width: 15px;
    height: 15px;
    top: 10%;
    left: 15%;
    transform: rotate(45deg);
    opacity: 0.7;
}

.heart-2 {
    width: 10px;
    height: 10px;
    top: 20%;
    right: 20%;
    transform: rotate(45deg);
    opacity: 0.5;
}

.heart-3 {
    width: 12px;
    height: 12px;
    bottom: 30%;
    left: 10%;
    transform: rotate(45deg);
    opacity: 0.6;
}

.heart-4 {
    width: 8px;
    height: 8px;
    bottom: 15%;
    right: 25%;
    transform: rotate(45deg);
    opacity: 0.4;
}

.heart-5 {
    width: 14px;
    height: 14px;
    top: 40%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.5;
}

/* Sparkles */
.sparkle {
    position: absolute;
    background-color: #f8e7d6;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #f8e7d6;
}

.sparkle-1 {
    width: 6px;
    height: 6px;
    top: 15%;
    right: 15%;
    animation: twinkle 3s infinite;
}

.sparkle-2 {
    width: 4px;
    height: 4px;
    top: 40%;
    left: 20%;
    animation: twinkle 4s infinite 0.5s;
}

.sparkle-3 {
    width: 5px;
    height: 5px;
    bottom: 25%;
    right: 10%;
    animation: twinkle 3.5s infinite 1s;
}

.sparkle-4 {
    width: 3px;
    height: 3px;
    top: 60%;
    right: 30%;
    animation: twinkle 4.5s infinite 1.5s;
}

.sparkle-5 {
    width: 4px;
    height: 4px;
    bottom: 40%;
    left: 30%;
    animation: twinkle 3.2s infinite 0.8s;
}

/* Bokeh effect */
.bokeh {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 180, 188, 0.2) 0%, rgba(232, 180, 188, 0) 70%);
    filter: blur(5px);
}

.bokeh-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    opacity: 0.4;
}

.bokeh-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    opacity: 0.3;
}

.bokeh-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 80%;
    opacity: 0.2;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Photos Container - UPDATED FOR BETTER PHOTO HANDLING */
.photos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 65%;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.photo-frame {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(232, 180, 188, 0.3);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.photo-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    border-color: rgba(232, 180, 188, 0.6);
}

/* 2x2 Grid Layout */
.frame-1 {
    grid-column: 1;
    grid-row: 1;
}

.frame-2 {
    grid-column: 2;
    grid-row: 1;
}

.frame-3 {
    grid-column: 1;
    grid-row: 2;
}

.frame-4 {
    grid-column: 2;
    grid-row: 2;
}

.empty-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(232, 180, 188, 0.5);
    font-size: 1.2rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    border: 2px dashed rgba(232, 180, 188, 0.2);
}

.empty-photo-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* IMPROVED PHOTO STYLING - Smart photo fitting */
.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
    transition: all 0.5s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Portrait photos (taller than wide) */
.couple-photo.portrait {
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
}

/* Landscape photos (wider than tall) */
.couple-photo.landscape {
    object-fit: cover;
}

/* Square photos */
.couple-photo.square {
    object-fit: cover;
}

/* Add a subtle vignette effect */
.couple-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

/* Romantic Message */
.romantic-message {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    z-index: 2;
    border-left: 4px solid #e8b4bc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    line-height: 1.3;
    color: #f5f5f5;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: #e8b4bc;
    text-align: right;
    font-weight: 700;
}

/* Card Controls */
.card-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(to right, #b76e79, #e8b4bc);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.4);
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(183, 110, 121, 0.6);
}

.control-btn:active {
    transform: translateY(1px);
}

/* Upload Section */
.upload-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-section h2 {
    color: #e8b4bc;
    margin-bottom: 15px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instruction {
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.upload-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.upload-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(232, 180, 188, 0.1);
    transition: all 0.3s;
}

.upload-option:hover {
    border-color: rgba(232, 180, 188, 0.3);
    transform: translateY(-5px);
}

.upload-option h3 {
    color: #f5f5f5;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.upload-option p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.file-input {
    display: none;
}

.upload-btn {
    background: rgba(232, 180, 188, 0.1);
    color: #e8b4bc;
    border: 2px dashed rgba(232, 180, 188, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.upload-btn:hover {
    background: rgba(232, 180, 188, 0.2);
    border-color: rgba(232, 180, 188, 0.6);
}

/* Customization */
.customization {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(232, 180, 188, 0.1);
}

.customization h3 {
    color: #f5f5f5;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group label {
    color: #ddd;
    font-weight: 500;
}

.control-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e8b4bc;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(232, 180, 188, 0.5);
}

.control-group input[type="text"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.control-group input[type="text"]:focus {
    border-color: #e8b4bc;
    box-shadow: 0 0 10px rgba(232, 180, 188, 0.3);
}

.reset-btn {
    grid-column: 1 / span 2;
    background: transparent;
    color: #e8b4bc;
    border: 1px solid rgba(232, 180, 188, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.reset-btn:hover {
    background: rgba(232, 180, 188, 0.1);
    border-color: rgba(232, 180, 188, 0.6);
}

/* Features */
.features {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(232, 180, 188, 0.1);
}

.features h3 {
    color: #f5f5f5;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.features li {
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li i {
    color: #e8b4bc;
}

/* Footer */
.card-footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-footer p {
    color: #ddd;
    margin-bottom: 10px;
}

.heart-icon {
    color: #e8b4bc;
    animation: heartbeat 1.5s infinite;
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
}

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

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.success-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d1b2e 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(232, 180, 188, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.success-content i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-content h3 {
    color: #f5f5f5;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.success-content p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.close-btn {
    background: #e8b4bc;
    color: #1a1a1a;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #f5c6d0;
    transform: translateY(-3px);
}

/* ===================== */
/* RESPONSIVE DESIGN - CONSISTENT LAYOUT */
/* ===================== */

/* Tablet and Smaller Desktop */
@media (max-width: 1300px) {
    .upload-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features ul {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .card-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .valentine-card {
        height: 650px;
        padding: 25px;
    }
    
    .photos-container {
        height: 60%;
        gap: 12px;
    }
    
    .message-text {
        font-size: 1.8rem;
    }
    
    .card-header h1 {
        font-size: 3rem;
    }
    
    .custom-controls {
        grid-template-columns: 1fr;
    }
    
    .reset-btn {
        grid-column: 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 10px;
    }
    
    .card-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .card-header h1 {
        font-size: 2.2rem;
    }
    
    .card-header .subtitle {
        font-size: 1rem;
    }
    
    .valentine-card {
        height: 600px;
        padding: 20px;
    }
    
    /* Maintain 2x2 grid layout on mobile */
    .photos-container {
        height: 55%;
        gap: 10px;
    }
    
    .photo-frame {
        border-radius: 10px;
    }
    
    .empty-photo-placeholder {
        font-size: 1rem;
    }
    
    .empty-photo-placeholder i {
        font-size: 2rem;
    }
    
    .romantic-message {
        padding: 15px;
    }
    
    .message-text {
        font-size: 1.6rem;
    }
    
    .signature {
        font-size: 1.4rem;
    }
    
    .card-controls {
        flex-direction: row;
        gap: 10px;
    }
    
    .control-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
    }
    
    .upload-section {
        padding: 20px;
    }
    
    .upload-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .upload-option {
        padding: 15px;
    }
    
    .upload-option h3 {
        font-size: 1.2rem;
    }
    
    .upload-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .customization,
    .features {
        padding: 20px;
    }
    
    .customization h3,
    .features h3,
    .upload-section h2 {
        font-size: 1.4rem;
    }
    
    /* Hide decorative elements on very small screens */
    .heart-1, .heart-2, .heart-3, .heart-4, .heart-5,
    .sparkle-1, .sparkle-2, .sparkle-3, .sparkle-4, .sparkle-5 {
        display: none;
    }
    
    .bokeh-1, .bokeh-2, .bokeh-3 {
        opacity: 0.1;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .valentine-card {
        height: 550px;
        padding: 15px;
    }
    
    .photos-container {
        height: 50%;
        gap: 8px;
    }
    
    .message-text {
        font-size: 1.4rem;
    }
    
    .signature {
        font-size: 1.2rem;
    }
    
    .card-header h1 {
        font-size: 1.8rem;
    }
    
    .control-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .success-content {
        padding: 30px 20px;
    }
    
    .success-content i {
        font-size: 3rem;
    }
    
    .success-content h3 {
        font-size: 1.5rem;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .valentine-card {
        height: 500px;
    }
    
    .message-text {
        font-size: 1.2rem;
    }
    
    .control-btn {
        font-size: 0.8rem;
        padding: 7px 10px;
    }
    
    .upload-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .card-footer p {
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .photo-frame:hover {
        transform: none;
    }
    
    .control-btn:hover {
        transform: none;
    }
    
    .upload-btn:hover {
        background: rgba(232, 180, 188, 0.1);
    }
}

/* Landscape orientation */
@media (max-height: 700px) and (orientation: landscape) {
    .valentine-card {
        height: 450px;
    }
    
    .photos-container {
        height: 50%;
    }
    
    .romantic-message {
        padding: 10px;
    }
    
    .message-text {
        font-size: 1.3rem;
    }
}

/* High-resolution screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
    
    .valentine-card {
        height: 750px;
    }
    
    .message-text {
        font-size: 2.2rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }
    
    .card-header,
    .card-controls,
    .upload-section,
    .card-footer,
    .success-message {
        display: none !important;
    }
    
    .valentine-card {
        box-shadow: none !important;
        border: none !important;
        background: white !important;
        color: black !important;
        height: auto !important;
        padding: 0 !important;
    }
    
    .background-elements {
        display: none !important;
    }
}

/* Footer Styles */
.card-footer {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(232, 180, 188, 0.2);
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.card-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #e8b4bc 20%, 
        #e8b4bc 80%, 
        transparent 100%);
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-heart {
    margin-bottom: 20px;
}

.footer-heart .heart-icon {
    font-size: 2.5rem;
    color: #e8b4bc;
    animation: heartbeat 1.5s infinite;
    filter: drop-shadow(0 0 10px rgba(232, 180, 188, 0.5));
}

.footer-message {
    color: #f5f5f5;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Developer Section */
.developer-section {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(232, 180, 188, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.developer-section:hover {
    border-color: rgba(232, 180, 188, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.developer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

@media (min-width: 768px) {
    .developer-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.developer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8b4bc, #b76e79);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.developer-avatar i {
    font-size: 2.5rem;
    color: white;
}

.developer-details h4 {
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.developer-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.developer-name i {
    color: #e8b4bc;
    font-size: 1.1rem;
}

.name-highlight {
    color: #f5f5f5;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #e8b4bc, #f5c6d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(232, 180, 188, 0.3);
    font-family: 'Poppins', sans-serif;
}

.developer-title {
    color: #bbb;
    font-size: 0.95rem;
    margin-top: 5px;
}

.developer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (min-width: 768px) {
    .developer-links {
        align-items: flex-end;
    }
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 180, 188, 0.1);
    color: #e8b4bc;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 180, 188, 0.2);
}

.portfolio-link:hover {
    background: rgba(232, 180, 188, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 180, 188, 0.3);
    border-color: rgba(232, 180, 188, 0.4);
}

.portfolio-link i {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(232, 180, 188, 0.2);
    color: #e8b4bc;
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(232, 180, 188, 0.3);
    box-shadow: 0 5px 15px rgba(232, 180, 188, 0.2);
}

.social-icon i {
    font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tech-stack {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tech-stack i {
    color: #e8b4bc;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .card-footer {
        padding: 20px;
    }
    
    .developer-section {
        padding: 20px;
    }
    
    .developer-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .developer-name {
        justify-content: center;
    }
    
    .name-highlight {
        font-size: 1.4rem;
    }
    
    .developer-links {
        width: 100%;
    }
    
    .portfolio-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-message {
        font-size: 1.2rem;
    }
    
    .developer-avatar {
        width: 60px;
        height: 60px;
    }
    
    .developer-avatar i {
        font-size: 2rem;
    }
    
    .name-highlight {
        font-size: 1.3rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* Animation for the developer section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.developer-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Floating hearts in footer background */
.card-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(232, 180, 188, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(232, 180, 188, 0.05) 0%, transparent 20%);
    z-index: 1;
    pointer-events: none;
}