/* Payments Page Specific Styles */

/* Enhanced Hero Section */
.payments-hero {
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    z-index: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payments-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544V0h.284zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828V28zm0 5.657L11.314 44.97 9.9 46.386l-9.9-9.9v-2.828zm0 5.657L8.485 47.8 7.07 49.212 0 42.143v-2.83zm0 5.657l5.657 5.657-1.414 1.415L0 47.8v-2.83zm0 5.657l2.828 2.83-1.414 1.413L0 53.456v-2.83zM54.627 60L30 35.373 5.373 60H8.2L30 38.2 51.8 60h2.827zm-5.656 0L30 41.03 11.03 60h2.828L30 43.858 46.142 60h2.83zm-5.656 0L30 46.686 16.686 60h2.83L30 49.515 40.485 60h2.83zm-5.657 0L30 52.343 22.344 60h2.83L30 55.172 34.828 60h2.83zM32 60l-2-2-2 2h4zM59.716 0l-28 28 1.414 1.414L60 2.544V0h-.284zM60 5.373L34.544 30.828l1.414 1.415L60 8.2V5.374zm0 5.656L37.373 33.656l1.414 1.414L60 13.86v-2.83zm0 5.656l-19.8 19.8 1.415 1.413L60 19.514v-2.83zm0 5.657l-16.97 16.97 1.414 1.415L60 25.172v-2.83zM60 28L45.858 42.142l1.414 1.414L60 30.828V28zm0 5.657L48.686 44.97l1.415 1.415 9.9-9.9v-2.828zm0 5.657L51.515 47.8l1.414 1.413 7.07-7.07v-2.83zm0 5.657l-5.657 5.657 1.414 1.415L60 47.8v-2.83zm0 5.657l-2.828 2.83 1.414 1.413L60 53.456v-2.83zM39.9 16.385l1.414-1.414L30 3.658 18.686 14.97l1.415 1.415 9.9-9.9 9.9 9.9zm-2.83 2.828l1.415-1.414L30 9.313 21.515 17.8l1.414 1.413L30 11.8l7.07 7.414z' fill='%230d1726' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 40px;
    opacity: 0.5;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 168, 107, 0.1) 0%, 
        rgba(13, 23, 38, 0) 30%,
        rgba(255, 193, 7, 0.1) 70%,
        rgba(13, 23, 38, 0) 100%);
    animation: gradientShift 10s ease infinite;
    opacity: 0.6;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.light-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 55%);
    transform: rotate(45deg);
    animation: lightRaysSweep 10s ease-in-out infinite;
}

@keyframes lightRaysSweep {
    0% { transform: rotate(45deg) translateX(-50%); }
    50% { transform: rotate(45deg) translateX(25%); }
    100% { transform: rotate(45deg) translateX(-50%); }
}

.payment-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}

.payment-particles:before {
    content: "$";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

.animated-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--light-text) 30%, var(--primary-light) 50%, var(--light-text) 70%);
    background-size: 200% auto;
    color: var(--light-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

/* Floating Payment Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    animation: floatIcon 8s ease-in-out infinite alternate;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-icon i {
    font-size: 24px;
    color: var(--light-text);
}

.bkash {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
}

.nagad {
    top: 70%;
    left: 15%;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(251, 98, 35, 0.2), rgba(251, 98, 35, 0.1));
}

.rocket {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(82, 160, 72, 0.2), rgba(82, 160, 72, 0.1));
}

.usdt {
    top: 65%;
    right: 15%;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(38, 161, 123, 0.2), rgba(38, 161, 123, 0.1));
}

.card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.2), rgba(66, 103, 178, 0.1));
}

@keyframes floatIcon {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
    100% { transform: translateY(10px) scale(0.95); }
}

.payment-methods-preview {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.payment-method-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-preview i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.payment-method-preview:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Pulsing Button */
.pulse-btn {
    position: relative;
    overflow: hidden;
}

.pulse-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1) translate(-50%, -50%);
    transform-origin: 0 0;
}

.pulse-btn:hover:after {
    animation: pulse-animation 1s ease-out;
    opacity: 0;
}

@keyframes pulse-animation {
    0% {
        opacity: 0.5;
        transform: scale(0) translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: scale(20) translate(-50%, -50%);
    }
}

/* Add floating background elements */
.content {
    position: relative;
}

.floating-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.06;
    animation: float 15s ease-in-out infinite alternate;
    transition: all 0.5s ease;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-15px, 10px) rotate(-5deg); }
    75% { transform: translate(15px, 15px) rotate(3deg); }
    100% { transform: translate(-10px, -10px) rotate(-3deg); }
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.payment-card {
    background: var(--dark-bg);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.payment-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    z-index: -1;
}

.payment-icon i {
    font-size: 36px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

.payment-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.payment-info span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-card:hover .payment-info span {
    opacity: 1;
}

.payment-info .highlight {
    color: var(--secondary-color);
    opacity: 1;
    font-weight: 600;
    font-size: 16px;
}

/* Payment Table */
.payment-table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-table th,
.payment-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.payment-table .badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-table .badge.instant {
    background-color: #4CAF50;
    color: #fff;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.payment-table .badge.fast {
    background-color: #2196F3;
    color: #fff;
    box-shadow: 0 2px 5px rgba(33, 150, 243, 0.3);
}

.payment-table .badge.standard {
    background-color: #FF9800;
    color: #fff;
    box-shadow: 0 2px 5px rgba(255, 152, 0, 0.3);
}

/* Payment Steps */
.steps-container {
    margin: 30px 0;
    position: relative;
    counter-reset: step-counter;
}

.payment-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #00d696);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 10px rgba(0, 168, 107, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 18px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(0, 168, 107, 0.3));
    z-index: 0;
}

.payment-step:last-child .timeline-line {
    display: none;
}

/* Security Features */
.security-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

.security-feature {
    flex-basis: calc(50% - 10px);
    min-width: 250px;
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.security-feature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.03));
    z-index: 0;
}

.security-feature i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.security-feature h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.security-feature p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.6;
}

/* Payment Methods Tabs */
.payment-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background: var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
}

.payment-tab {
    padding: 15px 25px;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.payment-tab.active {
    background-color: var(--primary-color);
    color: #fff;
}

.payment-tab:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.payment-tab i {
    margin-right: 8px;
    font-size: 14px;
}

/* Payment Content Panels */
.payment-panels > div {
    display: none;
}

.payment-panels > div.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Payment Method Icons */
.payment-method-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
    justify-content: center;
}

.payment-method-icon {
    width: 70px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.payment-method-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Currency Converter */
.currency-converter {
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.converter-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.converter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.converter-input {
    flex: 1;
    min-width: 250px;
}

.converter-input label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--secondary-color);
}

.converter-input input,
.converter-input select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
}

.converter-result {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    text-align: center;
}

.converter-result-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Withdrawal Confirmation Animation */
.withdrawal-confirmation {
    position: relative;
    height: 200px;
    margin: 30px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-animation {
    text-align: center;
}

.confirmation-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.confirmation-text {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .payments-hero {
        padding: 40px 30px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-icon i {
        font-size: 20px;
    }

    .security-features {
        flex-direction: column;
    }

    .security-feature {
        flex-basis: 100%;
    }

    .payment-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .payment-tab {
        white-space: nowrap;
        flex: none;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .converter-form {
        flex-direction: column;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .step-content {
        padding: 15px;
    }

    .payment-table th,
    .payment-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .payments-hero {
        padding: 20px 15px;
    }
    
    .floating-icons {
        display: none;
    }

    .payment-table {
        display: block;
        overflow-x: auto;
    }

    .timeline-line {
        left: 16px;
    }

    .payment-method-icons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
} 