:root {
    --bg-color: #0a0e17;
    --primary-gold: #d4af37;
    --primary-green: #008751;
    --text-color: #ffffff;
    --glass-bg: rgba(20, 26, 40, 0.6);
    /* Slightly more opaque for "serious" look */
    --glass-border: rgba(255, 255, 255, 0.08);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Canvas is the background now */
#tradingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Subtle pattern overlay to add texture */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, #0a0e17 120%);
    pointer-events: none;
    z-index: 1;
}

/* Main Content */
.content-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem;
    border-radius: 24px;

    /* Advanced Glassmorphism */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;

    max-width: 480px;
    width: 90%;
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo Styles */
.logo-wrapper {
    position: relative;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Adds a subtle "platform" effect behind logo */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    /* Removed the bounce, replaced with subtle breathing */
    animation: breathe 8s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    z-index: 1;
    filter: blur(20px);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Typography */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.15rem;
    color: #a0aab8;
    /* More professional grey-blue */
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
    /* Smaller, cleaner, uppercase subtitle is very "finance" */
}

/* Button (Optional but adds to the "Action" feel) */
.cta-button {
    margin-top: 1rem;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--primary-green) 0%, #00663d 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 135, 81, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 135, 81, 0.4);
}

/* Responsive */
@media (max-width: 600px) {
    .content-container {
        padding: 2.5rem 1.5rem;
        width: 85%;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
}