/* Bybit-inspired Dark Theme */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #0d0f12 0%, #1a1d24 50%, #0d0f12 100%);
    background-color: #0b0e11;
    color: #eaecef;
    font-weight: 400;
    font-family: "DM Sans", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace
}

/* Card Styling - Bybit Style */
.card {
    color: #eaecef;
    background: linear-gradient(145deg, #1e2229 0%, #16191f 100%);
    border: 1px solid #2a2e35;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #00d4ff;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.cardPopcorn {
    height: 280px;
    border-radius: 12px;
}

td {
    color: #b8bcc3;
    padding: 12px 16px;
}

/* Buttons - Bybit Accent */
.btn {
    background: linear-gradient(135deg, #00d4ff 0%, #00a3cc 100%);
    color: #0b0e11;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.btn:hover {
    background: linear-gradient(135deg, #00e5ff 0%, #00b8e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btnd {
    margin-left: 5px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #f0b90b 0%, #d4a209 100%);
    color: #0b0e11;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btnd:hover {
    background: linear-gradient(135deg, #ffc107 0%, #e6a800 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(240, 185, 11, 0.3);
}

tr {
    border-bottom: 1px solid #2a2e35;
}

tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Form Controls */
.form-control {
    background: #1a1d24;
    border: 1px solid #2a2e35;
    border-radius: 8px;
    color: #eaecef;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-control::-webkit-input-placeholder {
    color: #6b7280;
}

.form-control:-ms-input-placeholder {
    color: #6b7280;
}

.form-control::placeholder {
    color: #6b7280;
}

/* Headings and Text */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 600;
}

/* Links */
a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00e5ff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1d24;
}

::-webkit-scrollbar-thumb {
    background: #2a2e35;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3e45;
}

/* Mobile Responsive */
@media only screen and (max-width: 600px) {
    .btnd {
        width: 100%;
        margin-bottom: 5px;
        margin-left: 0;
    }
    
    .cardPopcorn {
        height: auto;
    }
    
    .card, .cardPopcorn {
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    body {
        background: #0b0e11;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    table {
        font-size: 12px;
    }
    
    td {
        padding: 8px;
    }
}

/* Tablet */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .card {
        margin: 10px;
    }
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    }
}

.card:hover {
    animation: pulse-glow 2s ease-in-out infinite;
}
