html {
    width: 100%;
    padding: 0;
    margin: 0;
}

body {
    width: 100%;
    padding: 0;
    margin: 0;

    word-wrap: break-word;
    background-repeat: no-repeat;
    background-size: cover;
}

canvas { width: 100%; height: 100% }

/* Custom navbar styling */
.bg-verdevey {
    background-color: #2F4F4F; /* Dark teal background */
    border-bottom: 2px solid #FFD700; /* Gold border at bottom */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

.navbar-verdevey .navbar-brand {
    font-family: 'Luminari', 'Palatino', fantasy;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); /* Subtle gold glow */
}

.navbar-verdevey .nav-link {
    color: #F5DEB3; /* Wheat color for better contrast */
    font-family: 'Luminari', 'Palatino', fantasy;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin: 0 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-verdevey .nav-link:hover {
    color: #FFD700; /* Gold color on hover */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7); /* Golden glow effect */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle highlight */
}

.navbar-verdevey .nav-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFD700;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.navbar-verdevey .nav-link:hover:before {
    visibility: visible;
    transform: scaleX(1);
}

.navbar-verdevey .nav-link:active {
    transform: scale(0.95);
}

/* Sparkle animation for nav links */
@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Dropdown menu styling */
.navbar-verdevey .dropdown-menu {
    background-color: #356464; /* Darker version of navbar */
    border: 1px solid #FFD700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.navbar-verdevey .dropdown-item {
    color: #F5DEB3;
    font-family: 'Luminari', 'Palatino', fantasy;
    transition: all 0.3s ease;
}

.navbar-verdevey .dropdown-item:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

/* Subscribe button styling */
.navbar-verdevey .btn-primary {
    background-color: #8B4513; /* Brown */
    border-color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-verdevey .btn-primary:hover {
    background-color: #A0522D; /* Lighter brown */
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.navbar-verdevey .btn-primary:active {
    transform: scale(0.95);
}


/* Bloom effect container */
.bloom-container {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

/* Sparkle animation for bloom effect */
.sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: sparkleBloom 800ms ease-out forwards;
}

@keyframes sparkleBloom {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    30% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(0.9) rotate(15deg);
    }
    70% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(30deg);
    }
}

/* Different sparkle types with fantasy-themed icons */
.sparkle-star {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"><path d="M12 2L9.2 8.6 2 9.2 7.5 14 5.8 22 12 18.1 18.2 22 16.5 14 22 9.2 14.8 8.6z"/></svg>');
}

.sparkle-dragon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"><path d="M19 3c.53 0 1.04.21 1.41.59.38.37.59.88.59 1.41 0 .53-.21 1.04-.59 1.41-.37.38-.88.59-1.41.59-.53 0-1.04-.21-1.41-.59C17.21 6.04 17 5.53 17 5c0-.53.21-1.04.59-1.41.37-.38.88-.59 1.41-.59M12 15c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2M13.25 11.43c-.55.53-1.23.84-1.95.84-.26 0-.5-.05-.76-.11-.11-.02-.23.07-.23.18v.25c0 2.62 2.38 5 5 5 .82 0 1.57-.2 2.25-.53M17 8.5c.69 0 1.37.07 2.03.21.75-1.4.97-3.08.97-4.71-.91.33-1.85.5-2.82.5-.74 0-1.46-.13-2.14-.35-.17-.06-.39-.13-.69-.23-.34-.11-.72-.26-1.23-.46-1.25-.5-2.41-.89-3.82-.89-2.28 0-3.8.71-4.53 1.27-1.34 1.03-2.12 2.29-2.61 3.16-.51.89-.71 1.88-.41 2.67.3.8 1.08 1.48 2.45 1.48.42 0 .93-.05 1.5-.16.38 1.55 1.1 2.75 1.95 3.33.45.31.95.43 1.42.43 2.05 0 3.37-2.51 3.81-3.71-.28-.07-.78-.21-.78-.79C11.25 8.81 13.1 8.5 17 8.5Z"/></svg>');
}

.sparkle-sword {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"><path d="m6.92 5-5 15L4 17.92 19 2.92 17.95 1.88 16.23 4l-2.46-.5-.5-2.46 2.12-1.72-1.1-1.1L3.38 9.13l5.15 5.15 9.4-9.4.99.99L6.92 5z"/></svg>');
}

.sparkle-fairy {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"><path d="M5.51 11.83a2.82 2.82 0 0 1 3.94.26 2.82 2.82 0 0 1 .26 3.94 2.82 2.82 0 0 1-3.94-.26 2.82 2.82 0 0 1-.26-3.94m9.33 1.7a2.82 2.82 0 0 1-.26 3.94 2.82 2.82 0 0 1-3.94-.26 2.82 2.82 0 0 1 .26-3.94 2.82 2.82 0 0 1 3.94.26M11.89 5a2.19 2.19 0 1 1 0 4.38A2.19 2.19 0 0 1 11.89 5M15 22l-4-4 4-4 4 4-4 4M4.26 19.73 7.1 15l4.03 4.03-2.84 4.7-4.03-4zM15 5.09 12.16.42 9.31 5.09 15 10.8l5.69-5.71-2.84-4.68L15 5.09z"/></svg>');
}

/* Subscriptions */
/* Subscription Section Styling */
/* Subscription Section Styling with Title Screen Background */
.subscription-section {
    padding: 6rem 0;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(28, 52, 52, 0.9)), 
                url('../images/title_screen.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #F5DEB3;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.subscription-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

.subscription-section .lures-title {
    font-family: 'Luminari', 'Palatino', fantasy;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.4);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.subscription-section .subtitle {
    color: #F5DEB3;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.subscription-section h2 {
    font-family: 'Luminari', 'Palatino', fantasy;
    color: #FFD700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.subscription-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

.subscription-content {
    position: relative;
    z-index: 10;
}

/* Card panel styling with background images */
.subscription-card {
    border: 2px solid #FFD700;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.4);
}

.card-panel {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease;
    overflow: hidden;
}

.panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.price {
    background-color: rgba(28, 52, 52, 0.85);
    color: #FFD700;
    font-size: 2rem;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    text-align: center;
    font-family: 'Luminari', 'Palatino', fantasy;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.5);
    align-self: center;
}

.price small {
    font-size: 1rem;
    opacity: 0.8;
}

.feature-container {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    background-color: rgba(28, 52, 52, 0.85);
    border-radius: 8px;
    padding: 1rem;
    margin-top: auto;
    max-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.subscription-card:hover .feature-container {
    opacity: 1;
    transform: translateY(0);
    max-height: 300px;
}

.subscription-card:hover .card-panel {
    filter: brightness(0.8);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    color: #F5DEB3;
}

.feature-list li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    color: #FFD700;
}

.card-header {
    background-color: #8B4513;
    color: #FFD700;
    font-size: 1.5rem;
    text-align: center;
    font-family: 'Luminari', 'Palatino', fantasy;
    border-bottom: 2px solid #FFD700;
}

.card-footer {
    background-color: #1c3434;
    border-top: 2px solid #FFD700;
    padding: 1rem;
}

.btn-subscribe {
    background-color: #8B4513;
    color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    font-size: 1.1rem;
    border: 2px solid #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #A0522D;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    color: #FFD700;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1c3434, #2F4F4F);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 1.5rem;
    color: #F5DEB3;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.4);
    max-width: 350px;
    animation: slideIn 0.5s forwards;
}

.success-content h4 {
    color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    margin-bottom: 0.75rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.success-message.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.subscription-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

.subscription-section h2 {
    font-family: 'Luminari', 'Palatino', fantasy;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.subscription-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

/* Subscription Cards */
.subscription-section .card {
    border: 2px solid #FFD700;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(28, 52, 52, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.subscription-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.5);
}

.subscription-section .card-header {
    background-color: #8B4513;
    color: #FFD700;
    text-align: center;
    font-family: 'Luminari', 'Palatino', fantasy;
    font-size: 1.5rem;
    padding: 1.25rem 1rem;
    border-bottom: 2px solid #FFD700;
}

.subscription-section .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.subscription-section .price {
    font-size: 2.2rem;
    color: #FFD700;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Luminari', 'Palatino', fantasy;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subscription-section .price small {
    font-size: 1rem;
    opacity: 0.8;
}

.subscription-section .feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.subscription-section .feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    color: #F5DEB3;
    position: relative;
    padding-left: 1.5rem;
}

.subscription-section .feature-list li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    color: #FFD700;
}

.subscription-section .btn-subscribe {
    margin-top: auto;
    background-color: #8B4513;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 0.75rem 1.5rem;
    font-family: 'Luminari', 'Palatino', fantasy;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.subscription-section .btn-subscribe:hover {
    background-color: #A0522D;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.subscription-section .btn-subscribe:active {
    transform: translateY(0);
}

/* Payment Modal Styling */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.payment-modal-content {
    background: linear-gradient(135deg, #2F4F4F, #1c3434);
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    color: #F5DEB3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #FFD700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.close-button:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

#stripe-elements {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

#card-errors {
    color: #ff6b6b;
    margin-bottom: 1rem;
    min-height: 20px;
}

#submit-payment {
    background-color: #8B4513;
    color: #FFD700;
    border: 2px solid #FFD700;
    width: 100%;
    padding: 0.75rem;
    font-family: 'Luminari', 'Palatino', fantasy;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

#submit-payment:hover {
    background-color: #A0522D;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1c3434, #2F4F4F);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 1.5rem;
    color: #F5DEB3;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.4);
    max-width: 350px;
    animation: slideIn 0.5s forwards;
}

.success-content h4 {
    color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    margin-bottom: 0.75rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Success page styles */
.success-card {
    background-color: rgba(28, 52, 52, 0.8);
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 3rem 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.3);
}

.success-icon {
    margin-bottom: 1.5rem;
    animation: successPulse 1.5s infinite alternate;
}

@keyframes successPulse {
    from { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0.7)); }
    to { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.9)); }
}

.success-details {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.success-details h3 {
    color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    margin-top: 1rem;
}

.product-icon {
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

#manage-billing-button {
    background-color: #8B4513;
    border: 2px solid #FFD700;
    color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

#manage-billing-button:hover {
    background-color: #A0522D;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Add these styles for the payment section */

.payment-section h2 {
    font-family: 'Luminari', 'Palatino', fantasy;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* .payment-form {
    background-color: #1c3434b3;
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
} */

/* .payment-form label {
    color: #FFD700;
    font-family: 'Luminari', 'Palatino', fantasy;
    margin-bottom: 0.5rem;
} */

.payment-form .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #FFD700;
    padding: 0.75rem;
}

.stripe-element {
    padding: 1rem;
    min-height: 40px;
}

.selected-tier-summary {
    background-color: rgba(28, 52, 52, 0.8);
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.tier-name {
    font-family: 'Luminari', 'Palatino', fantasy;
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 1.8rem;
    color: #F5DEB3;
}

.hidden {
    display: none !important;
}

#spinner {
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top: 3px solid #FFD700;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body {
    padding-top: 74px; /* Adjust this value based on your navbar height */
}

#search {
    visibility: hidden;
}

/* + CREDIT ROLL */
#credit-roll {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 1.5em;
    height: 1.25em;
    background-color: #ffffff;
    opacity: 0.5;
}
/* - CREDIT ROLL */

/* Enhanced Payment Section Styling */
#payment-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(28, 52, 52, 0.95)),
                url('../images/title_screen.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #F5DEB3;
    position: relative;
    min-height: 100vh;
}

#payment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
}

.payment-card {
    background-color: rgba(28, 52, 52, 0.9);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.payment-card h3 {
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 1rem;
}

.payment-card p {
    color: #e6e6e6;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.payment-card strong {
    color: #FFD700;
    font-weight: 500;
}

/* Updated payment form styling - professional input design */
.payment-card label {
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    display: block;
}

.payment-card .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 0.8rem;
    border-radius: 6px;
    height: auto;
    font-size: 1rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.payment-card .form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    outline: none;
}

#payment-element,
#billing-address-element {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    transition: border-color 0.3s;
}

#payment-element:focus-within,
#billing-address-element:focus-within {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
#payment-element,
#billing-address-element,
.stripe-element {
    /* background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(28, 52, 52, 0.95)), url(../images/title_screen.webp); */
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    transition: border-color 0.3s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: white;
    font-size: 1rem;
}

.Input {
    background: white;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    transition: border-color 0.3s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}


/* Remove any fantasy fonts from Stripe Element inputs */
.payment-card .StripeElement {
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
}

/* Make sure placeholder text is also non-fantasy */
.payment-card .form-control::placeholder {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #999;
}

/* Ensure input text is clearly visible */
.payment-card input[type="text"],
.payment-card input[type="email"],
.payment-card input[type="number"] {
    color: #333;
    font-weight: normal;
}

#payment-message {
    padding: 0.75rem;
    margin: 1rem 0;
    border-radius: 6px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
}

#submit-button {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.8rem;
    font-size: 1.1rem;
    border-radius: 6px;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-top: 0.5rem;
}

#submit-button:hover {
    background: linear-gradient(135deg, #A0522D, #8B4513);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

#submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#button-text {
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 2;
    position: relative;
}

#spinner {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top: 3px solid #ffffff;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.text-danger {
    color: #ff6b6b !important;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #payment-section {
        padding: 4rem 0;
    }
    
    .payment-card {
        padding: 1.5rem;
    }
    
    .payment-card h3 {
        font-size: 1.5rem;
    }
}