/* Modern UI Improvements for BNBInfinity */

/* Improved Button Styles */
.btn-contact, .btn-busd {
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-contact {
    border: 1px solid #20c1b2;
    background: rgba(32, 193, 178, 0.1);
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(32, 193, 178, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-busd {
    border: 1px solid #ff8c00;
    background: rgba(255, 140, 0, 0.1);
}

.btn-contact:hover {
    background: rgba(32, 193, 178, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-busd:hover {
    background: rgba(255, 140, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Improved Footer Buttons */
.footer-btn-contact {
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-btn-contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(32, 193, 178, 0.2), transparent);
    transition: all 0.3s ease;
    z-index: -1;
}

.footer-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.footer-btn-contact:hover::after {
    height: 100%;
}

/* Improved Notification Styles */
.warn-container {
    display: flex;
    align-items: center;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.5s ease-out;
}

.error-warn {
    background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 100%);
    border-left: 4px solid #ff3b30;
}

.error-warn .title-warn {
    color: #ff3b30;
    font-size: 16px;
    margin-bottom: 5px;
}

.error-warn .info-warn p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.error-warn .warn-btn {
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid #ff3b30;
    color: #ffffff;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.error-warn .warn-btn:hover {
    background: rgba(255, 59, 48, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Unique Design Elements */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pink-btn {
    background: linear-gradient(90deg, #20c1b2 0%, #078093 100%);
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(7, 128, 147, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pink-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(7, 128, 147, 0.4);
    background: linear-gradient(90deg, #23d0c0 0%, #089aaf 100%);
}

/* Improved Dashboard Items */
.item-dashboard > div {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.item-dashboard {
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.item-dashboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Improved Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

/* Unique Design Elements */
.container-logo-footer {
    position: relative;
    padding-left: 15px;
}

.container-logo-footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #20c1b2, transparent);
}

/* Animated Background Elements */
.body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(32, 193, 178, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 90%, rgba(7, 128, 147, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Improved Dashboard */
.container-dashboard-info {
    position: relative;
    overflow: hidden;
}

.container-dashboard-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(32, 193, 178, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Improved Networker Guide Button */
a[href="networker_guide.html"] {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(32, 193, 178, 0.1) 0%, rgba(7, 128, 147, 0.1) 100%);
}

a[href="networker_guide.html"]::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

a[href="networker_guide.html"]:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(0, 0);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .container-info-screen {
        flex-direction: column;
    }
    
    .screen-block {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .container-result {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .block-result {
        width: 48%;
        margin-bottom: 15px;
    }
    
    .item-dashboard {
        margin-bottom: 15px;
    }
    
    .pink-btn {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
    
    .container-dashboard-info {
        padding: 15px;
    }
    
    .container-dashboard-info h2 {
        font-size: 18px;
    }
    
    .container-dashboard-info p {
        font-size: 14px;
    }
    
    .container-dashboard-info .result {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .block-result {
        width: 100%;
    }
    
    .container-dashboard-info {
        padding: 10px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .sub-title-main {
        font-size: 16px;
    }
    
    .warn-container {
        flex-direction: column;
        text-align: center;
    }
    
    .warn-container .warn-btn {
        margin-top: 10px;
    }
}

/* Declutter and Improve UI */
.main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sub-title-main {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.container-result {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.block-result {
    transition: all 0.3s ease;
}

.block-result:hover {
    transform: translateY(-5px);
}

.result {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.sub-text-result {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pink-text {
    color: var(--accent-color);
    font-weight: bold;
}

/* Improved Connect Wallet Button */
#connectBtn, #heroConnectBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#connectBtn i, #heroConnectBtn i {
    font-size: 16px;
}

#connectBtn.connected, #heroConnectBtn.connected {
    background: linear-gradient(90deg, #23d0c0 0%, #089aaf 100%);
}