/* Neochibi Banking Theme - Custom CSS */

:root {
    /* Dark Purple Neochibi Color Palette */
    --primary-purple: #8B5CF6;
    --secondary-purple: #A78BFA;
    --accent-purple: #C084FC;
    --dark-purple: #6D28D9;
    --deep-purple: #4C1D95;
    --light-purple: #E9D5FF;
    --banking-gold: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #F3F4F6;
    --text-accent: #E5E7EB;
    --glass-bg: rgba(139, 92, 246, 0.15);
    --glass-border: rgba(167, 139, 250, 0.2);
    --shadow-soft: rgba(0, 0, 0, 0.3);
    --dark-bg: #0F0F23;
    --card-bg: rgba(31, 41, 55, 0.8);
    --banking-gradient: linear-gradient(135deg, #0F0F23 0%, #1E1B4B 50%, #4C1D95 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--banking-gradient);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Banking Background Layer */
.banking-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://pixabay.com/get/g85f5fc7ece141d9035e7b8e7f43559781d8c06eec2de30420a6b56c9c23dd43f3fc569fd49dc5d624a0cafb753232f7d_1280.jpg'),
        url('https://pixabay.com/get/gd37ade227b30c8ecddd3175b33249df5c46384b768c9efb9297e04b2383b79ef759c51129da0734e860bbfb0dd006c5a0a0aa763e9166cfb1142c1c59be97c6a_1280.jpg');
    background-size: cover, 50% 50%;
    background-position: center, top right;
    background-repeat: no-repeat, repeat;
    opacity: 0.1;
    z-index: -2;
}

/* Milady NFT Background Elements */
.milady-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.milady-element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.milady-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    background-image: url('https://pixabay.com/get/g643d57ae6a23ff1f9372afea9724ecb34c4898014049dd1aafe012bb90ab55fdc87a5afddab9eaae9df396ef1cfb3b795cb7a9f0dece63701d3b0008c58d4999_1280.jpg');
    animation-delay: 0s;
}

.milady-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    background-image: url('https://pixabay.com/get/g0e168098a48398bcdc3ddebebe8ad9dcc3491e2b0a241bffeb1f5188b8a13eea5ce8e212edb79bc19df9024763b3f971341a7aea8ec2bda1e683a374c8974948_1280.jpg');
    animation-delay: 2s;
}

.milady-3 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    left: 50%;
    background-image: url('https://pixabay.com/get/gdcb712f57972dd379231ac9e6d712a757d6d5616b53ad8f435299c2734d80eab953dec69dc57acfee5b056a017c0aa6cd48bae4b0d96bd4279bacd1bba6d861f_1280.jpg');
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Main Content Styling */
.main-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

/* Glass Morphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-soft);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--secondary-purple);
}

/* Header Styling */
.header-card {
    margin-bottom: 2rem;
}

.banking-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.banking-subtitle {
    color: var(--text-accent);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.01em;
    opacity: 0.9;
}

.lucidly-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.lucidly-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}

.lucidly-link {
    color: var(--secondary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.lucidly-link:hover {
    color: var(--accent-purple);
    text-decoration: none;
    border-bottom: 2px solid var(--secondary-purple);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4444;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.connected {
    background: #44ff44;
}

.status-text {
    color: var(--text-accent);
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* TVL Main Display */
.tvl-main-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(139, 92, 246, 0.2));
    border: 1px solid var(--secondary-purple);
}

.tvl-display {
    text-align: left;
}

.tvl-label {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tvl-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.tvl-amount.loading {
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.tvl-meta {
    color: var(--text-accent);
    opacity: 0.8;
    font-size: 0.9rem;
}

.loading-placeholder {
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple), var(--accent-purple));
    background-size: 200% 100%;
    animation: loading-gradient 1.5s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes loading-gradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mascot Image */
.milady-mascot {
    text-align: center;
}

.mascot-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.1));
    animation: gentle-sway 4s ease-in-out infinite;
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* Chain Cards */
.chains-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(167, 139, 250, 0.2));
    border: 1px solid var(--glass-border);
}

.section-title {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.chain-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.chain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary-purple);
}

.chain-card.loading-card {
    animation: pulse-card 1.5s ease-in-out infinite;
}

@keyframes pulse-card {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.chain-header {
    margin-bottom: 1rem;
}

.chain-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.chain-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.chain-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.chain-tvl {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(192, 132, 252, 0.2));
    border: 1px solid var(--glass-border);
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    color: var(--text-accent);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: var(--glass-bg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    color: var(--text-light);
    background: var(--primary-purple);
    transform: translateY(-2px);
}

/* Modal Styling */
.glass-modal .modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-light);
}

.btn-banking {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    border: none;
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-banking:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

/* Refresh Animation */
#refresh-icon {
    transition: transform 0.5s ease;
}

#refresh-icon.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banking-title {
        font-size: 2rem;
    }
    
    .tvl-amount {
        font-size: 2.5rem;
    }
    
    .chain-tvl {
        font-size: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .milady-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .glass-card {
        padding: 1rem;
    }
    
    .banking-title {
        font-size: 1.8rem;
    }
    
    .tvl-amount {
        font-size: 2rem;
    }
}

/* Additional Banking Elements */
.banking-pattern {
    position: relative;
    overflow: hidden;
}

.banking-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--primary-pink) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--secondary-blue) 0%, transparent 50%);
    opacity: 0.1;
    z-index: -1;
}

/* Cute Loading States */
.loading-heart {
    display: inline-block;
    animation: heartbeat 1s ease-in-out infinite;
}

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

/* Video Background Styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(30, 15, 50, 0.85) 0%, 
        rgba(59, 39, 102, 0.8) 25%,
        rgba(37, 20, 83, 0.75) 50%,
        rgba(88, 28, 135, 0.7) 75%,
        rgba(30, 15, 50, 0.85) 100%
    );
    backdrop-filter: blur(1px);
}


