/* Base Styles */
/* Version v0.1 */
:root {
    --primary-color: rgb(110,236,228);
    --secondary-color: #65EDE5;
    --accent-color: #E0E0E0;
    --dark-color: #263238;
    --light-color: #f8f9fa;
    --success-color: #4CAF50;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 8px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    background-color: var(--dark-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: auto;
    align-items: center;
    vertical-align: middle;
    gap: 8px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Header - make it regular without semi-transparent background */
header {
    z-index: 1000;
    background-color: var(--primary-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none; /* Remove shadow */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

header.scrolled {
    background-color: rgba(110, 236, 228, 0.5); /* semi-transparent blue */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Update header logo styles */
/* Update logo styling */
.logo img {
    height: 40px;
    width: 40px;
    background-color: var(--light-color); 
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 4px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 40px;
    width: auto;
}

/* Update logo text color for better visibility */
.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color); 
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Add text shadow */
}

/* Update footer logo styles */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 10px;
    color: white;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

/* Update navigation text for better visibility */
nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    color: white; /* Change to white */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add text shadow */
}

/* Hero Section */
.hero {
    /* Remove this background gradient to make video visible */
    background-color: var(--primary-color); 
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative; /* Add position relative for proper video positioning */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.getcashback-highlight{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 20px;
    margin: 15px;
}

.getcashback-highlight img {
    height:400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero .btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Adjust hero section to account for fixed header */
.fullscreen-hero {
    height: calc(100vh - 80px); /* Subtract approximate header height */
    min-height: 600px; /* Minimum height for smaller screens */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0; /* Remove default padding */
    margin-top: 0; /* No margin needed */
}

/* Ensure hero content is visible over video */
.hero-content {
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Add text shadow for better readability */
}

/* About Section */
.about{
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    text-align: left;
    max-width: 800px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.about-image img {
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.about-image video {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-size: cover;
    background-position: center;
    width:300px;
    aspect-ratio: 1;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-ai-agent{
    display:flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.about-meeting{
    display:flex;
    flex-direction: column;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: var(--dark-color) solid 1px;
    padding: 25px;
    gap: 10px;
}

/* Services Section */
.services {
    background-color: #f5f7fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* NFT Section */
.nft-section {
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    text-align: center;
}

.intro {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.nft-counter {
    background-color: var(--dark-color);
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    font-weight: 600;
}

/* Updated NFT gallery to be a carousel */
.nft-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 20px 0;
    gap: 20px;
}

.nft-gallery::-webkit-scrollbar {
    height: 8px;
}

.nft-gallery::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.nft-gallery::-webkit-scrollbar-track {
    background: var(--accent-color);
    border-radius: 10px;
}

.nft-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.nft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nft-card.selected {
    border: 3px solid var(--primary-color);
    transform: translateY(-5px);
}

.nft-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.nft-info {
    padding: 15px;
}

.nft-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Carousel navigation buttons */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
}

/* Make sure the form reflects the selected NFT */
#selected-nft {
    background-color: var(--light-color);
    cursor: not-allowed;
}

.claim-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.claim-form h3 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Wallet connect styles */
.wallet-connect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#wallet-address {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

#qr-container {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#qr-code {
    margin: 0 auto;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#qr-code canvas {
    max-width: 100%;
    max-height: 100%;
}

#qr-container p {
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
}

.claim-success {
    background-color: var(--success-color);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background-color: #f5f7fa;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-form form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.footer-links h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .about-image {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .claim-form {
        padding: 20px;
    }

    .getcashback-highlight {
        flex-direction: column;
    }

    .about-image {
        flex-direction: column;
    }
}

/* Card Experience Styles */
.card-experience {
    max-width: 600px;
    margin: 0 auto 50px;
    perspective: 1000px;
}

.card-box {
    width: 300px;
    height: 400px;
    margin: 0 auto;
    background-color: var(--dark-color);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.card-box:hover {
    transform: translateY(-10px);
}

.box-logo {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.card-box p {
    color: white;
    font-weight: 600;
}

.card-deck {
    width: 100%;
    text-align: center;
}

.deck-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.deck-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.deck-btn:hover:not(:disabled) {
    background-color: var(--secondary-color);
}

.deck-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#card-counter {
    font-weight: 600;
}

/* Add these styles for better touch interaction */
.card-viewer {
    height: 400px;
    position: relative;
    width: 100%;
    touch-action: pan-y; /* Enable vertical scrolling but use our custom horizontal handling */
    user-select: none; /* Prevent text selection during swipe */
    overflow: visible; /* Ensure cards can be seen outside the container */
}

.nft-card {
    position: absolute;
    width: 280px;
    height: 380px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, opacity 0.3s ease, left 0.3s ease; /* Make transitions faster */
    cursor: pointer;
    /* Add these properties for better touch feedback */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

.nft-card.next-card {
    border-left: 3px solid var(--primary-color);
}

.nft-card-front, .nft-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.nft-card-front {
    transform: rotateY(0deg);
}

.nft-card-back {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    border: 1px solid var(--accent-color);
}

.nft-card-back img {
    width: 150px;
    height: auto;
}

.nft-image {
    height: 280px;
    background-size: cover;
    background-position: center;
}

.nft-info {
    padding: 15px;
    text-align: center;
}

.nft-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

#select-card-btn {
    margin-top: 0px;
}
/* NFT Preview in Claim Form */
.preview-container {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.selected-nft-preview {
    display: inline-block;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    width: 220px;
    margin: 0 auto 20px;
}

.preview-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.selected-nft-preview h4 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.selected-nft-preview p {
    margin: 0 0 10px;
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* Secondary button style */
.btn-secondary {
    background-color: var(--accent-color);
    color: var(--dark-color);
    margin: 0 auto;
    display: block;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
    color: var(--dark-color);
}

/* Claim form styles */
.claim-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.claim-form h3 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Wallet connect styles */
.wallet-connect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#wallet-address {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

#qr-container {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#qr-code {
    margin: 0 auto;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#qr-code canvas {
    max-width: 100%;
    max-height: 100%;
}

#qr-container p {
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
}

.claim-success {
    background-color: var(--success-color);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* NFT display in success message */
.claim-success .selected-nft-display {
    margin: 20px auto;
    max-width: 300px;
}

.claim-success .selected-nft-display h4 {
    color: #000;
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
}

.claim-success .selected-nft-preview {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.claim-info {
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

.claim-processing {
    text-align: center;
    margin: 30px auto;
    max-width: 500px;
}

.claim-processing .nft-preview {
    margin-bottom: 20px;
}

.claim-processing .loader {
    margin: 20px auto;
}

/* NFT Claim Page Specific Styles */
.claim-page {
    background-color: #f5f7fa;
    min-height: 80vh;
}

.claim-page h2 {
    color: var(--primary-color);
}

.claim-loading {
    text-align: center;
    padding: 40px 0;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

.claim-details {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.claim-details .nft-preview {
    margin-bottom: 30px;
}

.claim-details .nft-image {
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.claim-details h3 {
    margin: 15px 0 30px;
    color: var(--dark-color);
}

.claim-actions {
    margin-top: 30px;
}

.email-form {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.email-form input[readonly] {
    background-color: #eaeaea;
    cursor: not-allowed;
}

.claim-complete, .claim-error {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.claim-complete h3 {
    color: var(--success-color);
    margin: 15px 0 30px;
}

.claim-error h3 {
    color: #f44336;
    margin: 15px 0 30px;
}

.claim-complete .btn, .claim-error .btn {
    margin-top: 20px;
}

#opensea-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

#opensea-link:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments for claim page */

@media (max-width: 480px) {
    
    .email-form {
        padding: 15px;
    }
}

/* Add styles for centered mint button */
.nft-preview {
    position: relative;
    margin: 30px auto;
}

.mint-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Minted NFT View Styles - Match with Mint My NFT preview */
#success-nft-preview {
    margin: 20px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

#success-nft-preview .nft-image,
#success-nft-preview .video-container video {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 30px;
}

#success-nft-preview .video-container {
    width: 100%;
}

#success-nft-preview h3 {
    margin: 15px 0 30px;
    color: var(--primary-color);
}

#success-nft-preview p {
    color: var(--dark-color);
    font-size: 0.9rem;
    text-align: left;
}

#success-nft-preview .nft-loading-container {
    width: 220px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f7fa;
    border-radius: var(--border-radius);
}

/* Add these styles at the end of your existing CSS */

/* Terms checkbox styling */
.terms-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.terms-checkbox label {
    font-size: 14px;
}

.terms-checkbox a {
    color: #4a90e2;
    text-decoration: underline;
}


/* Terms of Service Modal */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.terms-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.terms-modal-header h2 {
    margin: 0;
    color: #333;
}

.terms-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

/* Update the terms modal body styles for better iframe display */
.terms-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0;
    height: 60vh;
}

.terms-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow-y: auto;
}

.terms-modal-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}

.terms-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.terms-checkbox label {
    font-size: 14px;
    color: #666;
}

.terms-checkbox a {
    color: #4a90e2;
    text-decoration: underline;
}

/* Add this to your existing styles.css file */

.transferred-message {
    color: #4CAF50;
    font-size: 1.1em;
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 5px;
    text-align: center;
}

/* Ensure the loader is styled properly */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #64D8CB;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Chat Widget Styles */
/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.chat-header {
    padding: 15px;
    background-color: #4a6cf7;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    display: flex;
    margin-bottom: 10px;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message.bot .message-content {
    background-color: #f0f0f0;
    border-bottom-left-radius: 5px;
}

.message.user .message-content {
    background-color: #4a6cf7;
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.chat-input button {
    margin-left: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #4a6cf7;
    color: white;
    border: none;
    cursor: pointer;
}

.typing-indicator {
    display: flex;
    padding: 10px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Wallet Modal Styles */
.wallet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.wallet-modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 90%;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.wallet-modal-content h3 {
    margin-top: 0;
    color: #333;
}

.wallet-options-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.wallet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-option:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.wallet-option img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
}

.wallet-option span {
    font-size: 14px;
    font-weight: 500;
}

.wallet-help-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.close-modal {
    width: 100%;
    padding: 12px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.close-modal:hover {
    background-color: #e0e0e0;
}

.wallet-download-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: center;
}

.wallet-download-message .btn-secondary {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 16px;
    background-color: #5c6bc0;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

.transferred-message {
    color: #4caf50;
    font-weight: 500;
    margin-top: 15px;
}

.transaction-details {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.transaction-details .small {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}