/* Custom Styles for Dolphin Trade Pro */

/* Large Join Button Styles */
.banner__button-wrap {
    text-align: center;
    margin: 30px 0;
}

.tg-btn-large {
    display: inline-block;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tg-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    text-decoration: none;
}

.tg-btn-large:active {
    transform: translateY(-1px);
}

.tg-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .tg-btn-large {
        padding: 15px 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .tg-btn-large {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
}

/* Success Modal Styles - Dark Theme */
.success-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-in-out;
}

.success-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-modal-header {
    padding: 20px;
    position: relative;
}

.close-modal {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.success-modal-body {
    padding: 50px 30px;
    text-align: center;
    color: #fff;
}

.success-icon {
    margin-bottom: 25px;
}

.success-icon i {
    font-size: 70px;
    color: #00d4aa;
    animation: bounceIn 0.6s ease-out;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.success-modal-body h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.success-modal-body p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

.success-modal-body .tg-btn {
    margin-top: 15px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.success-modal-body .tg-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.success-modal-body .tg-btn:active {
    transform: translateY(-1px);
}

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

@keyframes slideIn {
    from {
        transform: translateY(-80px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-modal-content {
        margin: 15% auto;
        width: 95%;
        border-radius: 15px;
    }
    
    .success-modal-body {
        padding: 40px 25px;
    }
    
    .success-icon i {
        font-size: 60px;
    }
    
    .success-modal-body h3 {
        font-size: 24px;
    }
    
    .success-modal-body p {
        font-size: 15px;
    }
    
    .success-modal-body .tg-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .success-modal-content {
        margin: 20% auto;
        width: 98%;
    }
    
    .success-modal-body {
        padding: 35px 20px;
    }
    
    .success-modal-header {
        padding: 15px;
    }
    
    .success-icon i {
        font-size: 50px;
    }
    
    .success-modal-body h3 {
        font-size: 22px;
    }
}

/* Dark theme enhancements */
.success-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #00d4aa);
    opacity: 0.8;
}

/* Glowing effect for the modal */
.success-modal-content {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(102, 126, 234, 0.1);
}
