/* ========================================
   CRASH CASINO STYLE - MODERN PURPLE THEME
   ======================================== */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #121218;
    --bg-card: #1a1a24;
    --bg-card-hover: #222230;
    --bg-input: #16161e;
    --accent-primary: #8a2be2;
    --accent-secondary: #9d45ed;
    --accent-light: #b366f9;
    --accent-gradient: linear-gradient(135deg, #8a2be2 0%, #6b1fb8 50%, #9d45ed 100%);
    --accent-glow: rgba(138, 43, 226, 0.4);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --success: #22c55e;
    --success-glow: rgba(34, 197, 94, 0.3);
    --error: #ef4444;
    --warning: #f59e0b;
    --border-primary: #2a2a3a;
    --border-accent: rgba(138, 43, 226, 0.3);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 50% -20%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 80% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(157, 69, 237, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 90% 90%, rgba(107, 31, 184, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER WITH LOGO
   ======================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid var(--border-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-text i {
    color: var(--accent-primary);
    font-size: 26px;
    margin-right: 10px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.logo-accent {
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* ========================================
   TIMER SECTION
   ======================================== */
.timer-section {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.08) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.timer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    border-radius: 2px;
}

.timer-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: radial-gradient(ellipse at center top, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.timer-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 16px;
}

.timer-digit {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    padding: 20px 32px;
    min-width: 100px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(138, 43, 226, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.timer-digit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.timer-digit span {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px var(--accent-glow);
}

.timer-digit small {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
    display: block;
    font-weight: 500;
}

.timer-separator {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--accent-glow);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    padding: 28px 24px 48px;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 28px;
}

/* ========================================
   BANK DATA CARD
   ======================================== */
.bank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(138, 43, 226, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(138, 43, 226, 0.08);
}

.bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 20px 20px 0 0;
}

.bank-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-primary);
}

.bank-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px var(--accent-glow);
    position: relative;
}

.bank-card-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.bank-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
}

.bank-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.data-row:hover {
    background: rgba(138, 43, 226, 0.03);
    margin: 0 -12px;
    padding: 16px 12px;
    border-radius: 8px;
}

.data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.data-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.data-value-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.data-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.5px;
}

.copy-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-input);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.copy-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.copy-btn:hover::before {
    opacity: 0.1;
}

.copy-btn.copied {
    background: var(--success);
    border-color: var(--success);
    color: white;
    box-shadow: 0 4px 16px var(--success-glow);
}

.copy-btn svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

/* ========================================
   INSTRUCTIONS SECTION
   ======================================== */
.instructions-section {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.instructions-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.instructions-title svg {
    stroke: var(--accent-primary);
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.instruction-step {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(138, 43, 226, 0.03);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.instruction-step:hover {
    background: rgba(138, 43, 226, 0.06);
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 16px var(--accent-glow);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.3;
    filter: blur(6px);
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.step-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-highlight {
    background: rgba(138, 43, 226, 0.2);
    color: var(--accent-light);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid var(--border-accent);
}

/* ========================================
   SECURITY BADGE
   ======================================== */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    margin-top: 8px;
}

.security-badge i {
    color: var(--success);
    font-size: 18px;
}

.security-badge span {
    color: var(--success);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ========================================
   NOTIFICATION
   ======================================== */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: 14px;
    padding: 16px 24px;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0s 0.4s;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px var(--success-glow);
    pointer-events: none;
}

.notification.show {
    display: flex;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0s;
    pointer-events: auto;
}

.notification-icon {
    color: var(--success);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
}

.notification-text {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 600px) {
    .header {
        padding: 16px 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-text i {
        font-size: 22px;
        margin-right: 8px;
    }
    
    .timer-section {
        padding: 28px 20px;
    }
    
    .timer-display {
        gap: 12px;
    }
    
    .timer-digit {
        padding: 16px 24px;
        min-width: 85px;
        border-radius: 14px;
    }
    
    .timer-digit span {
        font-size: 40px;
    }
    
    .timer-separator {
        font-size: 40px;
    }
    
    .main-content {
        padding: 24px 20px 40px;
    }
    
    .main-title {
        font-size: 26px;
    }
    
    .main-subtitle {
        font-size: 14px;
    }
    
    .bank-card,
    .instructions-section {
        padding: 22px 18px;
        border-radius: 16px;
    }
    
    .bank-card-title {
        font-size: 18px;
    }
    
    .bank-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
    }
    
    .data-row:hover {
        margin: 0;
        padding: 14px 0;
    }
    
    .data-value-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .data-value {
        font-size: 14px;
        word-break: break-all;
        flex: 1;
    }
    
    .copy-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .instruction-step {
        padding: 14px;
        gap: 14px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-title {
        font-size: 14px;
    }
    
    .step-description {
        font-size: 13px;
    }
    
    .notification {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
        transform: translateY(150%);
        justify-content: center;
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ========================================
   SELECTION STYLING
   ======================================== */
::selection {
    background: var(--accent-primary);
    color: white;
}

::-moz-selection {
    background: var(--accent-primary);
    color: white;
}
