/* ========================================
   BYBIT STYLE - FULL WIDTH WITH EFFECTS
   ======================================== */

:root {
    --bg-primary: #0d0d0d;
    --bg-card: #161616;
    --bg-input: #1a1a1a;
    --accent-primary: #f7a600;
    --accent-hover: #ffb829;
    --accent-gradient: linear-gradient(135deg, #f7a600 0%, #ff8c00 100%);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --success: #00c853;
    --error: #ff4757;
    --border-primary: #2a2a2a;
    --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 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;
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(247, 166, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(247, 166, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 80%, rgba(247, 166, 0, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 70%, rgba(247, 166, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%),
        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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

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

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

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

.logo svg {
    height: 36px;
    width: auto;
}

/* ========================================
   TIMER
   ======================================== */
.timer-section {
    padding: 24px 30px;
    text-align: center;
    background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(247, 166, 0, 0.12) 0%, transparent 70%);
    position: relative;
}

.timer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(247, 166, 0, 0.3) 50%, transparent 100%);
}

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

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

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

.timer-digit {
    background: var(--bg-card);
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    padding: 16px 28px;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.timer-digit span {
    font-size: 44px;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px rgba(247, 166, 0, 0.3);
}

.timer-digit small {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}

.timer-separator {
    font-size: 44px;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 30px rgba(247, 166, 0, 0.3);
}

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

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.highlight {
    color: var(--accent-primary);
}

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

/* ========================================
   BANK DATA CARD
   ======================================== */
.bank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.bank-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    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 4px 16px rgba(247, 166, 0, 0.3);
}

.bank-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--bg-primary);
}

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

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-primary);
}

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

.data-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.data-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}

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

.copy-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.copy-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   INSTRUCTIONS
   ======================================== */
.instructions-section {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.instructions-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions-title svg {
    stroke: var(--accent-primary);
    width: 24px;
    height: 24px;
}

.instruction-step {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

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

.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(247, 166, 0, 0.3);
}

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

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

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

.step-highlight {
    background: rgba(247, 166, 0, 0.15);
    color: var(--accent-primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

/* ========================================
   CONTACT BUTTON
   ======================================== */
.contact-section {
    text-align: center;
    padding: 12px 0 24px;
}

.contact-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    padding: 16px 48px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 32px rgba(247, 166, 0, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(247, 166, 0, 0.4);
}

.contact-btn svg {
    width: 26px;
    height: 26px;
}

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

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

.notification-icon {
    color: var(--success);
    font-size: 20px;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
    .header {
        padding: 20px;
    }
    
    .logo svg {
        height: 30px;
    }
    
    .timer-section {
        padding: 36px 20px;
    }
    
    .timer-digit {
        padding: 18px 24px;
        min-width: 85px;
    }
    
    .timer-digit span {
        font-size: 42px;
    }
    
    .timer-separator {
        font-size: 42px;
    }
    
    .main-content {
        padding: 30px 20px 50px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .main-subtitle {
        font-size: 16px;
    }
    
    .bank-card,
    .instructions-section {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .bank-card-title {
        font-size: 20px;
    }
    
    .data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .data-value-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .data-value {
        font-size: 15px;
        word-break: break-all;
        flex: 1;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    .contact-btn {
        padding: 18px 40px;
        font-size: 18px;
        width: 100%;
    }
    
    .notification {
        top: auto;
        bottom: 24px;
        right: 20px;
        left: 20px;
        transform: translateY(150%);
    }
    
    .notification.show {
        display: flex;
        z-index: 1000;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s;
        pointer-events: auto;
    }
}

/* ========================================
   ADMIN PANEL
   ======================================== */
.admin-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.admin-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 10px;
}

.admin-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-family);
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    width: 100%;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.error-message {
    color: var(--error);
    font-size: 14px;
    text-align: center;
    margin-top: 18px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid var(--success);
    border-radius: 10px;
    padding: 14px;
    color: var(--success);
    font-size: 14px;
    text-align: center;
    margin-top: 18px;
    display: none;
}

.success-message.show {
    display: block;
}

.divider {
    height: 1px;
    background: var(--border-primary);
    margin: 32px 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

@media (max-width: 500px) {
    .admin-container {
        padding: 20px 16px;
    }
    
    .admin-card {
        padding: 28px 20px;
    }
    
    .admin-title {
        font-size: 24px;
    }
}