@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
:root {
    --gradient: linear-gradient(45deg, #f82f1d, #ff6b6b, #ff8d8d, #fccccc);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px; 
}

.search-bar input[type="text"] {
    flex-grow: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 100px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: #f1f1f1;
    color: #333;
}

.search-bar input[type="text"]:focus {
    box-shadow: 0 0 10px rgb(191, 219, 249);
    background-color: #ffffff;
}

.search-bar button {
    flex-shrink: 0; /* Prevent the button from shrinking */
    padding: 12px 17px;
    border: none;
    background-color: #ff5733;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #d25134;
}

.no-results {
    font-size: 18px;
    color: #e74c3c;
    margin-top: 20px;
    text-align: center;
}

.navbar {
    zoom: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 5%;
    backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border-bottom: var(--border);
    background-color: #000000;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(10, 10, 10, 0.95);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    background-size: 300%;
    letter-spacing: -0.5px;
    text-decoration: underline 2.5px rgb(254, 133, 133);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    width: 100%;
    animation: gradient 1s linear infinite;
}
.get-started-button {
    background-color: #ff5733;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.get-started-button:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.get-started-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle .bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.4s ease;
}

.mobile-nav-toggle .bar:nth-child(1) { top: 14px; }
.mobile-nav-toggle .bar:nth-child(2) { top: 19px; }
.mobile-nav-toggle .bar:nth-child(3) { top: 24px; }



@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.99), rgba(20, 20, 20, 0.99));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
        backdrop-filter: blur(10px);
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03));
        pointer-events: none;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translate(-50%, 5px) rotate(45deg);
        width: 24px;
    }

    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translate(-50%, -5px) rotate(-45deg);
        width: 24px;
    }
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        backdrop-filter: blur(4px);
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
}
.icon-button {
    position: relative;
background-color: #ff5733;
color: white;
padding: 12px 17px;
border-radius: 50%;
font-weight: bold;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
text-align: center;

}

.icon-button i {
pointer-events: none; /* Disable pointer events for icons */
}

.icon-button:hover {
background: #e55d51;
transform: scale(1.1);
}

.icon-button:active {
transform: scale(1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes float {
    0% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -10px); }
    100% { transform: translate(-50%, 0px); }
}

/* Rest of your existing styles */
:root {
    --primary: #FF4B2B;
    --background: #f6f5f7;
    --surface: #fbf8f8;
    --text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');



.container {
zoom: 0.8;
position: relative;
max-width: 800px;
margin: 8rem auto;
background: white;
border-radius: 12px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
padding: 2.5rem;
animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

h2 {
color: #ff5733;
font-size: 2.2rem;
margin-bottom: 2rem;
border-bottom: 3px solid #ff5733;
padding-bottom: 0.5rem;
display: inline-block;
}

h3 {
color: #1a1a1a;
font-size: 1.5rem;
margin: 2rem 0 1.5rem;
position: relative;
padding-left: 1rem;
}

h3::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 70%;
background: #ff5733;
border-radius: 2px;
}

.myform {
margin-bottom: 2.5rem;
}

.form-group {
margin-bottom: 1.5rem;
position: relative;
}

label {
display: block;
margin-bottom: 0.5rem;
color: #404040;
font-weight: 500;
font-size: 0.95rem;
}

.form-control {
width: 100%;
padding: 0.9rem 1.2rem;
border: 2px solid #e5e5e5;
border-radius: 8px;
font-size: 1rem;
transition: all 0.3s ease;
background: white;
color: #1a1a1a;
}

.form-control:focus {
outline: none;
border-color: #ff5733;
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn {
padding: 0.9rem 1.8rem;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.btn-primary {
background: #ff5733;
color: white;
}

.btn-primary:hover {
background: #ff1616;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.btn-warning {
background: transparent;
border: 2px solid #404040;
color: #404040;
}

.btn-warning:hover {
background: #404040;
color: white;
transform: translateY(-2px);
}

hr {
border: 0;
height: 1px;
background: #e5e5e5;
margin: 2.5rem 0;
}

.ripple {
position: absolute;
background: rgba(255, 255, 255, 0.4);
transform: translate(-50%, -50%);
pointer-events: none;
border-radius: 50%;
animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
from {
    width: 0;
    height: 0;
    opacity: 1;
}
to {
    width: 600px;
    height: 600px;
    opacity: 0;
}
}

@media (max-width: 768px) {


h2 {
    font-size: 1.8rem;
}
}

@media (max-width: 640px) {
    .profile-card {
        padding: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .search-bar {
        display: none;
    }

    .search-bar input[type="text"] {
        padding: 10px 20px;
        width: 100%;
    }

    .navbar-container {
        position: relative;
    }

    .nav-links {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .profile-card {
        margin-top: 4rem;
    }
}
canvas {
z-index: -1;	
width: 100%;
height: 100%;
position: absolute;
}
.categories-bar {
width: 100%; 
margin-top: 4.5rem;
zoom: 0.9;
background-color: #f9f9f9;
display: flex;
justify-content: center;
position: fixed;
top: 0;
left: 0;
padding: 1rem 1rem;
border-bottom: var(--border);
z-index: 1000;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categories-list {
display: flex;
list-style: none;
padding: 0;
margin: 0;
gap: 15px;
}

.category-button {
color: rgb(5, 5, 5);
width: 100%;
border: none;
padding: 10px 15px;
border-radius: 20px;
cursor: pointer;
text-underline-position: below;
font-size: 1em;
transition: background 0.3s ease, transform 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-button:hover {
background: #ff5733;
color: white;
transform: scale(1.05);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

.success-message,
.errorlist,
.error-message {
display: flex;
align-items: center;
padding: 15px 20px;
margin: 15px 0;
border-radius: 8px;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-weight: 500;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
list-style: none;
}

.success-message {
background-color: #e6ffed;
color: #1a7f37;
border-left: 5px solid #23c55e;
}

.success-message:hover {
transform: translateY(-5px);
box-shadow: 0 6px 10px rgba(35, 197, 94, 0.2);
}
.errorlist,
.error-message {
background-color: #ffe6e6;
color: #bf1650;
border-left: 5px solid #f7555d;
}
.errorlist:hover,
.error-message:hover {
transform: translateY(-5px);
box-shadow: 0 6px 10px rgba(247, 85, 93, 0.2);
}

.success-message p,
.errorlist p,
.error-message p {
margin: 0;
padding: 0;
}

.success-message::before,
.errorlist::before,
.error-message::before {
content: '✔';
font-size: 18px;
margin-right: 10px;
display: inline-block;
}
.errorlist::before,
.error-message::before {
content: '✖';
color: #f7555d;
}


@media (max-width: 768px) {
.success-message,
.errorlist,
.error-message {
font-size: 14px;
padding: 10px 15px;
}

.success-message::before,
.errorlist::before,
.error-message::before {
font-size: 16px;
}
}      

.subscription-container {
max-width: 1200px;
margin: 8rem auto;
padding: 20px;
display: flex;
gap: 30px;
flex-wrap: wrap;
justify-content: center;
border-radius: 20px;
position: relative;
}

.subscription-card {
position: relative;
background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
border-radius: 20px;
padding: 40px;
width: 350px;
box-shadow: 0 15px 35px rgba(0,0,0,0.1);
transition: all 0.3s ease;
overflow: hidden;
}

.subscription-card:hover {
transform: translateY(-10px);
box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.payg {
border: 2px solid #ff5733;
}

.monthly {
border: 2px solid #ff5733;
position: relative;
}

.plan-icon {
font-size: 3rem;
color: #ff5733;
margin-bottom: 20px;
text-align: center;
}

.payg .plan-icon {
color:#ff5733;
}

.plan-title {
color: #2d3436;
font-size: 28px;
text-align: center;
margin-bottom: 15px;
}

.price {
font-size: 48px;
font-weight: 700;
text-align: center;
margin: 20px 0;
color: #ff5733;
position: relative;
}

.price span {
font-size: 16px;
color: #666;
font-weight: 400;
}

.monthly .price {
color: #ff5733;
}

.features {
margin: 30px 0;
}

.features p {
font-size: 16px;
color: #555;
padding: 12px 0;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
}

.features i {
margin-right: 10px;
color: #ff5733;
}

.upgrade-box {
background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
padding: 25px;
border-radius: 15px;
color: white;
text-align: center;
position: relative;
overflow: hidden;
}

.upgrade-box h3 {
margin: 0 0 15px 0;
font-size: 22px;
}

.offer-badge {
position: absolute;
top: -10px;
right: -10px;
background: #ffd700;
padding: 8px 20px;
transform: rotate(45deg);
font-size: 12px;
color: #000;
font-weight: bold;
}

.upgrade-btn_ {
background: rgba(255,255,255,0.2);
border: 2px solid white;
color: white;
padding: 12px 30px;
border-radius: 30px;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin: 15px auto 0;
}

.upgrade-btn_:hover {
background: white;
color: #ff6b6b;
transform: scale(1.05);
}

.best-value {
position: absolute;
top: 20px;
right: -30px;
background: #ff5733;
color: white;
padding: 8px 40px;
transform: rotate(45deg);
font-size: 12px;
font-weight: bold;
}

/* Active Subscription Styles */
.active-sub {
width: 100%;
max-width: 600px;
border: 2px solid #ff5733;
}

.subscription-details {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 30px;
margin: 30px 0;
}

.detail-item {
text-align: center;
padding: 20px;
background: rgba(184, 0, 0, 0.1);
border-radius: 10px;
}

.detail-item span {
display: block;
color: #666;
font-size: 14px;
margin-bottom: 8px;
}

.detail-item p {
font-size: 18px;
font-weight: 600;
color: #2d3436;
margin: 0;
}



.progress-bar {
height: 8px;
background: #eee;
border-radius: 4px;
overflow: hidden;
}

.progress {
height: 100%;
background: linear-gradient(90deg, #ff5733 0%, #fe7657 100%);
width: 70%;
transition: width 0.5s ease;
}
.shine {
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
transform: rotate(45deg);
animation: shine 3s infinite;
}

@keyframes shine {
0% { left: -50%; }
100% { left: 150%; }
}

.countdown {
font-size: 18px;
color: #ff5733;
font-weight: bold;
}

@media (max-width: 768px) {
.subscription-container {
padding: 10px;
}

.subscription-card {
width: 100%;
margin: 10px;
}


}

.ribbon {
position: relative;
width: 200px;
height: 40px;
background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
color: white;
text-align: center;
padding: 8px;
margin: 30px auto;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
font-family: 'Arial Rounded MT Bold', sans-serif;
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 1px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transform: rotate(-2deg);
animation: ribbonFloat 3s ease-in-out infinite;
}

.ribbon::before {
content: '';
position: absolute;
left: -15px;
top: 50%;
transform: translateY(-50%);
border-width: 20px 15px 20px 0;
border-style: solid;
border-color: transparent #ff6b6b transparent transparent;
}

.ribbon::after {
content: '';
position: absolute;
right: -15px;
top: 50%;
transform: translateY(-50%);
border-width: 20px 0 20px 15px;
border-style: solid;
border-color: transparent transparent transparent #ff6b6b;
}

.ribbon:hover {
transform: rotate(0deg) scale(1.05);
background: linear-gradient(45deg, #ff5252, #ff7b7b);
cursor: pointer;
transition: all 0.3s ease;
}

@keyframes ribbonFloat {
0% { transform: translateY(0px) rotate(-2deg); }
50% { transform: translateY(-5px) rotate(-3deg); }
100% { transform: translateY(0px) rotate(-2deg); }
}

/* Optional: Add these for extra depth */
.ribbon-shadow {
position: relative;
}

.ribbon-shadow::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.1);
filter: blur(5px);
z-index: -1;
}
.icon-button .hover-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
font-family: Arial, sans-serif;
font-size: 12px;
white-space: nowrap;
color: #fff;
background: rgba(0,0,0,0.7);
padding: 4px 8px;
border-radius: 4px;
}

.icon-button:hover .hover-text {
opacity: 1;
visibility: visible;
transform: translate(-50%, -20px);
}

.icon-button i {
transition: transform 0.3s ease;
}

.icon-button:hover i {
transform: scale(1.1);
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(5px);
display: none;
z-index: 1002;
animation: fadeIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.popup-container {
zoom: 0.9;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
max-width: 420px;
background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
border-radius: 20px;
padding: 30px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
z-index: 1003;
display: none;
animation: slideInDown 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-header {
text-align: center;
margin-bottom: 25px;
}

.user-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(45deg, #6a11ff, #2575fc);
margin: -60px auto 20px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 28px;
box-shadow: 0 4px 15px rgba(106, 17, 255, 0.3);
}

.popup-user {
font-size: 24px;
font-weight: 700;
color: #2d2d2d;
margin-bottom: 10px;
}

.user-status {
color: #6c757d;
font-size: 14px;
margin-bottom: 20px;
}

.popup-links {
display: flex;
flex-direction: column;
gap: 15px;
margin: 20px 0;
}

.popup-link {
background: linear-gradient(45deg, #ff5733, #fd1b1b);
color: white;
padding: 15px 25px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(106, 17, 255, 0.2);
}

.popup-link.logout {
background: linear-gradient(45deg, #ff416c, #ff4b2b);
box-shadow: 0 4px 15px rgba(255, 65, 108, 0.2);
}

.popup-link:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(106, 17, 255, 0.3);
}

.popup-link:active {
transform: translateY(0);
}

.close-btn {
position: absolute;
top: 15px;
right: 15px;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
font-size: 24px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-btn:hover {
background: #ff4b2b;
color: white;
transform: rotate(90deg);
}

.social-links {
margin-top: 25px;
display: flex;
justify-content: center;
gap: 15px;
}

.social-link {
color: #6c757d;
font-size: 20px;
transition: all 0.3s ease;
}

.social-link:hover {
color: #6a11ff;
transform: translateY(-3px);
}

@keyframes slideInDown {
0% {
transform: translate(-50%, -60%);
opacity: 0;
}
100% {
transform: translate(-50%, -50%);
opacity: 1;
}
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.profile-header {
    text-align: center;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-avatar:hover {
    transform: scale(1.05);
}
.cart_li .cart-count {
position: absolute;
visibility: visible;
top: 0%;
left: 100%;
border-radius: 50% 50%;
background-color: white;
border: 2px solid #ff5733;
transform: translate(-50%, -50%);
opacity: 1;
transition: all 0.3s ease;
font-family: Arial, sans-serif;
font-size: 14px;
white-space: nowrap;
color: #ff5733;
padding: 3px 6px;

}
.upgrade-btn {
position: relative;
padding: 12px 30px;
background: linear-gradient(45deg, #fe2020, #fa4f4f);
border: none;
border-radius: 20px;
color: white;
font-family: 'Segoe UI', sans-serif;
font-weight: bold;
font-size: 1.2rem;
text-align: center;
cursor: pointer;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
transform: translateY(0);
}

.upgrade-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(254, 3, 3, 0.4);
background: linear-gradient(45deg, #fc4949, #ff0000);
}

.upgrade-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.3),
transparent
);
transition: all 0.6s ease;
}

.upgrade-btn:hover::before {
left: 100%;
}

.upgrade-btn:active {
transform: translateY(1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sparkles {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
}

.sparkle {
position: absolute;
background: white;
border-radius: 50%;
pointer-events: none;
animation: sparkle 0.6s linear;
}

@keyframes sparkle {
0% { transform: scale(0); opacity: 1; }
100% { transform: scale(2); opacity: 0; }
}

@keyframes border-pulse {
0% { border-color: #ffffff; }
50% { border-color: transparent; }
100% { border-color: #ffffff; }
}

.upgrade-btn span {
position: relative;
z-index: 1;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.badge {
position: absolute;
top: -10px;
right: -10px;
background: #ffd700;
color: #000;
padding: 5px 10px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
animation: pulse 1.5s infinite;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}

.payment-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    zoom: 0.9;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 999999;
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.5s ease forwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.payment-form.visible {
    display: block;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 5px solid rgba(0,0,0,0.1);
    border-top: 5px solid #ff4f4f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.success, .failed {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeIn 0.5s ease-in forwards;
}

.success {
    color: #28a745;
}

.failed {
    color: #dc3545;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}





.total-amount {
    margin: auto;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #fc5f37, #ff923f);
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.total-amount::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), rgba(255,255,255,0));
    animation: rotate 6s linear infinite;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-icons {
gap: 20px;
text-align: right;

}

.card-icons img {
height: 50px;
filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
transition: transform 0.3s ease;
}

.card-icons img:hover {
transform: translateY(-3px);
}

.form-group {
margin-bottom: 1.5rem;
position: relative;
}

.form-group label {
text-align: left;
margin-left: 4px;
display: block;
margin-bottom: 0.5rem;
color: #555;
font-weight: 600;
font-size: 1rem;
transition: color 0.3s ease, transform 0.3s ease;
}


.form-group input {
width: 100%;
padding: 1rem;
border: 2px solid #e0e0e0;
border-radius: 10px;
font-size: 16px;
transition: all 0.3s ease;
background: rgba(255,255,255,0.9);
}

.form-group input:focus {
border-color: #d7d7d7;
box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
outline: none;
}

.expiry-cvv {
display: flex;
gap: 1.5rem;
}

.close--btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

.close--btn:hover {
    background: #ff4b2b;
    color: white;
    transform: rotate(90deg);
    }
    

#submit-payment {
background: linear-gradient(45deg, #fe4f4f, #fe0000);
color: white;
padding: 1.2rem;
border: none;
border-radius: 12px;
cursor: pointer;
width: 100%;
font-size: 1.1rem;
font-weight: bold;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}

#submit-payment:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(254, 79, 79, 0.3);
}

/* Overlay */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(5px);
z-index: 999;
}
.pay_header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0,0,0,0.06);
margin: 1.5rem 0;
border: 1px solid rgba(0,0,0,0.08);
list-style: none;
}
.pay_header li {
text-decoration: none;
list-style: none;
width: 100%;

}
#submit-payment:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.status-card {
position: relative;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
text-align: center;
max-width: 400px;
margin: 2rem auto;
background: white;
transform: translateY(20px);
opacity: 0;
animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
to {
transform: translateY(0);
opacity: 1;
}
}

.status-icon {
font-size: 4rem !important;
margin-bottom: 1rem;
display: inline-block;
}

.success .status-icon {
color: #28a745 !important;
animation: bounceIn 0.8s ease-out, pulse 2s infinite 1s;
}

.failed .status-icon {
color: #dc3545 !important;
animation: shake 0.6s ease-in-out;
}

.status-message {
font-size: 1.1rem;
margin: 1rem 0;
line-height: 1.5;
color: #333;
}

.countdown-text {
font-size: 0.9rem;
color: #666;
margin-top: 1.5rem;
}

#countdown {
font-weight: bold;
color: #28a745;
font-size: 1.2rem;
}

.progress-bar {
width: 100%;
height: 4px;
background: #eee;
margin: 1rem 0;
border-radius: 2px;
overflow: hidden;
}

.progress {
width: 100%;
height: 100%;
background: #28a745;
animation: progress 3s linear forwards;
}

@keyframes progress {
from { width: 100% }
to { width: 0% }
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.08); }
100% { transform: scale(1); }
}

@keyframes bounceIn {
0% { transform: scale(0.5); opacity: 0; }
60% { transform: scale(1.1); }
100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
0%, 100% { transform: translateX(0); }
20% { transform: translateX(-10px); }
40% { transform: translateX(10px); }
60% { transform: translateX(-8px); }
80% { transform: translateX(8px); }
}

.retry-button {
margin-top: 1.5rem;
padding: 0.8rem 2rem;
background: #dc3545;
color: white;
border: none;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
}

.retry-button:hover {
background: #c82333;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}