/* UPI Section Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.upi-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #4682B4 0%, #DC143C 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.upi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/upi.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.upi-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: rotateIn 0.8s ease-out forwards;
}

.upi-header {
    margin-bottom: 2rem;
    position: relative;
}

.upi-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.upi-header p {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.upi-details {
    margin: 2rem 0;
}

.upi-image {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.upi-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.upi-image:hover img {
    transform: scale(1.05);
}

.upi-id {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin: 1.5rem 0;
    word-break: break-all;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.upi-id:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(70, 130, 180, 0.3);
}

.upi-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.upi-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4682B4 0%, #DC143C 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Space Mono', monospace;
}

.upi-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.upi-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.upi-btn:hover i {
    transform: rotate(360deg);
}

.upi-qr {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.upi-qr:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.upi-qr img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.upi-qr:hover img {
    transform: scale(1.05);
}

.upi-qr p {
    margin-top: 1rem;
    color: #4682B4;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Space Mono', monospace;
}

.upi-instructions {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 1s forwards;
}

.upi-instructions h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: 1.4rem;
}

.upi-instructions ol {
    text-align: left;
    padding-left: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.upi-instructions li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.back-to-portfolio {
    position: fixed;
    top: 2rem;
    left: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    font-family: 'Space Mono', monospace;
    animation: fadeInUp 1s ease-out;
}

.back-to-portfolio:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(70, 130, 180, 0.3);
}

.back-to-portfolio i {
    transition: transform 0.3s ease;
}

.back-to-portfolio:hover i {
    transform: translateX(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        transform: perspective(1000px) rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: perspective(1000px) rotateY(0);
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .upi-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .upi-header h1 {
        font-size: 2.2rem;
    }

    .upi-actions {
        flex-direction: column;
    }

    .upi-btn {
        width: 100%;
        justify-content: center;
    }

    .back-to-portfolio {
        top: 1rem;
        left: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .upi-qr img {
        max-width: 250px;
    }
} 