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

html {
    scroll-behavior: smooth;
}

body {
    background: #071326;
    color: white;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    padding: 20px;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 25px;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #111d32;
    border: 1px solid #1d3150;
    border-radius: 14px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #4da3ff;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #4da3ff;
}


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

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #4da3ff;
}


/* =========================
   STATUS CARD
========================= */

.statusCard {
    background: #111d32;
    border: 1px solid #1d3150;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.statusCard h2 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #4da3ff;
}

.status {
    margin-bottom: 10px;
    font-size: 15px;
}

#status {
    font-weight: bold;
    color: #00ff66;
}

.price {
    font-size: 16px;
}

#price {
    font-weight: bold;
    color: #ffffff;
}


/* =========================
   CONTROL CARD
========================= */

.card {
    background: #111d32;
    border: 1px solid #1d3150;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.card label {
    display: block;
    margin-bottom: 8px;
    color: #c7d2e3;
    font-size: 14px;
}

.card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;

    background: #071326;
    color: white;

    border: 1px solid #29415f;
    border-radius: 8px;

    outline: none;
    font-size: 14px;
}

.card select:focus {
    border-color: #4da3ff;
}


/* =========================
   COUNTDOWN
========================= */

.countdown {
    text-align: center;
    margin: 15px 0;
    color: #c7d2e3;
    font-size: 14px;
}

#timer {
    color: #4da3ff;
    font-weight: bold;
    font-size: 20px;
}


/* =========================
   SIGNAL BUTTON
========================= */

#signalBtn {
    width: 100%;
    padding: 14px;

    background: #4da3ff;
    color: white;

    border: none;
    border-radius: 10px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s;
}

#signalBtn:hover {
    opacity: 0.9;
}

#signalBtn:active {
    transform: scale(0.98);
}


/* =========================
   LOADER
========================= */

#loader {
    text-align: center;
    margin-top: 15px;
}

.spinner {
    width: 30px;
    height: 30px;

    margin: 0 auto 10px;

    border: 4px solid #29415f;
    border-top: 4px solid #4da3ff;

    border-radius: 50%;

    animation: spin 1s linear infinite;
}

#loader p {
    color: #c7d2e3;
    font-size: 14px;
}

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

    to {
        transform: rotate(360deg);
    }
}


/* =========================
   SIGNAL RESULT
========================= */

.signalCard {
    background: #111d32;
    border: 1px solid #1d3150;
    border-radius: 15px;

    padding: 25px;
    margin-bottom: 25px;

    text-align: center;
}

.signalCard h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #ffd700;
}

.signalCard p {
    color: #c7d2e3;
}

#confidence {
    font-weight: bold;
    color: #4da3ff;
}


/* =========================
   WEBSITE SECTIONS
========================= */

.website-section {
    width: 100%;
    max-width: 1100px;

    margin: 25px auto;
    padding: 25px;

    background: #111d32;
    border: 1px solid #1d3150;
    border-radius: 15px;

    scroll-margin-top: 20px;
}

.website-section h2 {
    color: #4da3ff;
    margin-bottom: 12px;
}

.website-section p {
    color: #c7d2e3;
    line-height: 1.6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    body {
        padding: 12px;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 12px;
    }

    .logo {
        font-size: 19px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 5px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .container h1 {
        font-size: 25px;
    }

    .website-section {
        padding: 20px;
    }
}
#chartContainer {
    width: 100%;
    height: 350px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #071326;
}