/* ===========================
   LUXURY PAYMENT PAGE STYLES
   =========================== */

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

:root {
    --gold: #d4af37;
    --gold-light: #f4d475;
    --gold-dark: #b8941f;
    --black: #0a0a0a;
    --dark-bg: #111111;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a8a8a8;
}

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

/* ===========================
   ANIMATED BACKGROUND
   =========================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float 8s infinite ease-in-out;
    box-shadow: 0 0 10px var(--gold);
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 60%;
    top: 80%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 90%;
    top: 10%;
    animation-delay: 3s;
    animation-duration: 6.5s;
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-100px) scale(1.5);
    }
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: pulse 6s infinite ease-in-out;
}

.glow-orb:nth-child(6) {
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.glow-orb:nth-child(7) {
    bottom: -200px;
    right: -200px;
    animation-delay: 3s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* ===========================
   MAIN CONTAINER
   =========================== */

.payment-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

/* ===========================
   HEADER SECTION
   =========================== */

.payment-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.logo-section {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.luxury-border {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--gold);
    }
}

.payment-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldGlow 3s infinite;
}

@keyframes goldGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.price-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--gold);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: borderGlow 2s infinite;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

.price-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
}

/* ===========================
   STEPS SECTION
   =========================== */

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 30px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.step-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    transition: all 0.3s ease;
}

.step-card.active .step-number {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    transition: all 0.3s ease;
}

.step-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 12px;
    color: var(--text-secondary);
}

.step-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    position: relative;
}

/* ===========================
   WALLET SECTION
   =========================== */

.wallet-section {
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.title-icon {
    font-size: 32px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wallet-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(15, 15, 15, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: cardFloat 6s infinite ease-in-out;
}

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

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.wallet-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px) scale(1.01);
}

.wallet-card:hover::before {
    left: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.crypto-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    border: 2px solid var(--gold);
}

.crypto-icon svg {
    animation: rotate 10s linear infinite;
}

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

.crypto-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.network-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    border-radius: 20px;
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-address-container {
    background: rgba(10, 10, 10, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.address-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.address-text {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--gold);
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--gold-light);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(0);
}

/* ===========================
   SUBMISSION SECTION
   =========================== */

.submission-section {
    margin-bottom: 50px;
}

.submission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.submission-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(15, 15, 15, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.submission-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    z-index: 0;
}

.submission-card:hover::after {
    width: 500px;
    height: 500px;
}

.submission-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
    transform: translateY(-10px) scale(1.02);
}

.card-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    margin-bottom: 20px;
    color: var(--gold);
    transition: all 0.3s ease;
}

.submission-card:hover .card-icon {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1) rotate(5deg);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.cta-text {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
}

.email-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin: 10px 0;
}

.email-text {
    font-family: 'Courier New', monospace;
    color: var(--gold);
    font-size: 14px;
    flex: 1;
}

.copy-btn-small {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn-small:hover {
    background: var(--gold);
    color: var(--black);
}

.email-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* ===========================
   INSTRUCTIONS SECTION
   =========================== */

.instructions-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.instruction-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.instruction-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.instruction-content h4 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 15px;
}

.instruction-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.instruction-content ul {
    list-style: none;
    padding: 0;
}

.instruction-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.instruction-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.delivery-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(26, 26, 26, 0.5));
    border-color: rgba(34, 197, 94, 0.3);
}

/* ===========================
   SECURITY SECTION
   =========================== */

.security-section {
    text-align: center;
    margin-bottom: 30px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 13px;
}

.security-badge svg {
    color: var(--gold);
}

/* ===========================
   BACK BUTTON
   =========================== */

.back-button-container {
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* ===========================
   TOAST NOTIFICATION
   =========================== */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: var(--black);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transform: translateX(400px);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .payment-title {
        font-size: 36px;
    }

    .price-amount {
        font-size: 28px;
    }

    .steps-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .step-divider {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--gold), transparent);
    }

    .address-box {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .submission-cards {
        grid-template-columns: 1fr;
    }

    .instructions-section {
        grid-template-columns: 1fr;
    }

    .wallet-card {
        padding: 20px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .payment-container {
        padding: 20px 15px;
    }

    .payment-title {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
}
