/* Global Reset & Typography */
:root {
    --bg-color: #050505;
    --terminal-bg: rgba(16, 18, 20, 0.85);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #D4AF37;
    --accent-green: #00E396;
    /* TradingView "Buy" Green */
    --accent-red: #FF4560;
    --glass-border: rgba(212, 175, 55, 0.2);
    --grid-line: rgba(255, 255, 255, 0.03);

    --font-heading: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;
    /* For numbers/data */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    /* Trading Grid Background */
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

.mono {
    font-family: var(--font-mono);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-transform: uppercase;
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(180deg, #fff 0%, #aa8a29 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    color: #fff;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
}

/* UI Elements: "Trading Terminal" Style */
.badge {
    background: rgba(0, 227, 150, 0.1);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 227, 150, 0.3);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Stripe Button Constraint */
.stripe-button-container {
    max-width: 300px;
    display: inline-block;
    border-radius: 4px;
    overflow: hidden;
    /* Key to keeping it rectangle */
}

/* Skrill Button Modifications */
.btn-skrill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-gold), #aa8a29);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    color: #000;
}

.btn-skrill:hover {
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 10rem 0;
    position: relative;
}

/* Header */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Ambient Glow */
header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.08), transparent 60%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 10;
}

/* The Book "Terminal" Wrapper */
.book-terminal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
}

/* Crypto Terminal Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.crypto-terminal {
    background: #0a0a0a;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--accent-green);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 227, 150, 0.15);
    padding: 2rem;
    position: relative;
    font-family: var(--font-mono);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .crypto-terminal {
    transform: scale(1);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
}

.terminal-status {
    color: var(--accent-green);
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Network Selector */
.network-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    background: #000;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #333;
}

.network-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #666;
    padding: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-weight: 700;
}

.network-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.network-btn.active {
    background: var(--accent-green);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 227, 150, 0.4);
}

.close-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #fff;
}

/* Verification Form */
.verification-form {
    margin-top: 2rem;
    border-top: 1px solid #222;
    padding-top: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.terminal-input {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    font-family: var(--font-mono);
    border-radius: 6px;
    outline: none;
    transition: all 0.2s;
}

.terminal-input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 227, 150, 0.2);
}

.terminal-input::placeholder {
    color: #444;
}

.support-link {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
}

.support-link a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-gold);
}

.payment-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.detail-value {
    color: #fff;
    font-weight: 700;
}

.address-box {
    background: #111;
    border: 1px dashed #333;
    padding: 1rem;
    border-radius: 6px;
    word-break: break-all;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.address-box:hover {
    border-color: var(--accent-gold);
    color: #fff;
}

.copy-hint {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    background: var(--accent-gold);
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.address-box:hover .copy-hint {
    opacity: 1;
}

.action-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-confirm {
    background: var(--accent-green);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 227, 150, 0.3);
}

.btn-confirm:hover {
    background: #00c482;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 227, 150, 0.5);
}

width: 30px;
height: 30px;
border: 2px solid var(--accent-gold);
transition: all 0.5s ease;
}

.book-terminal::before {
    top: -2px;
    left: -2px;
    border-right: 0;
    border-bottom: 0;
}

.book-terminal::after {
    bottom: -2px;
    right: -2px;
    border-left: 0;
    border-top: 0;
}

.hero-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.95));
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.05);
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: 700;
}

.feature-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-gold);
    opacity: 0.8;
}

/* Sticky "Order Execution" Bar */
.sticky-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--accent-green);
    /* Green border for "Buy" signal */
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-radius: 4px;
    /* Sharper corners for trading feel */
    box-shadow: 0 0 30px rgba(0, 227, 150, 0.1);
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.sticky-info {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.sticky-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

.price-tag {
    color: var(--accent-green);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 227, 150, 0.4);
}

/* Responsive */
@media (max-width: 1000px) {
    h1 {
        font-size: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    p {
        margin: 0 auto 1.5rem auto;
    }
}