/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.dark-mode {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

/* Welcome Loading Screen */
.welcome-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 0.5s ease 4.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loader-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.logo-animation {
    margin-bottom: 3rem;
}

.main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 4rem;
    color: #00f5ff;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f5ff, #00ff88, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-text p {
    color: #ccc;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.trading-chart-animation {
    margin-bottom: 2rem;
}

.chart-container {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #00f5ff;
}

.chart-line svg {
    width: 100%;
    height: auto;
}

#chartPath {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawChart 3s ease-in-out forwards;
}

@keyframes drawChart {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-dot {
    animation: dotMove 3s ease-in-out infinite;
}

@keyframes dotMove {
    0% { cx: 10; }
    25% { cx: 100; }
    50% { cx: 200; }
    75% { cx: 290; }
    100% { cx: 10; }
}

.chart-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.price-indicator {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00f5ff;
}

.change-indicator {
    font-size: 1rem;
    font-weight: 500;
}

.change-indicator.positive {
    color: #00ff88;
}

.welcome-message {
    margin-bottom: 2rem;
}

.welcome-message h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.welcome-message p {
    color: #ccc;
    font-size: 1rem;
    animation: fadeInUp 1s ease 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-progress {
    animation: fadeInUp 1s ease 1.5s both;
}

.progress-bar-loader {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #00ff88);
    border-radius: 2px;
    animation: progressLoad 4s ease-in-out forwards;
}

@keyframes progressLoad {
    0% { width: 0%; }
    25% { width: 25%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 100%; }
}

.loading-text {
    color: #00f5ff;
    font-size: 0.9rem;
    animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00f5ff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Animation */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bk-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.bk-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.dollar-animation {
    position: relative;
    display: inline-block;
}

.dollar-symbol {
    font-size: 2rem;
    font-weight: 700;
    color: #00f5ff;
    animation: dollarPulse 2s infinite;
}

@keyframes dollarPulse {
    0%, 100% { transform: scale(1); color: #00f5ff; }
    50% { transform: scale(1.2); color: #ffff00; }
}

.dollar-particles::before,
.dollar-particles::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #00f5ff;
    border-radius: 50%;
    animation: particles 3s infinite;
}

.dollar-particles::after {
    animation-delay: 1.5s;
}

@keyframes particles {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -150px) scale(1); opacity: 0; }
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #00f5ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Icons */
.nav-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp {
    background: #25d366;
}

.telegram {
    background: #0088cc;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-signin, .btn-signup {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signin {
    background: transparent;
    color: #00f5ff;
    border: 1px solid #00f5ff;
}

.btn-signup {
    background: #00f5ff;
    color: #000;
}

.btn-signin:hover, .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
}

/* Balance Display */
.balance-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.balance-amount {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ff88;
}

.account-toggle {
    display: flex;
    gap: 0.5rem;
}

.account-btn {
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 15px;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-btn.active {
    background: #00f5ff;
    color: #000;
}

.account-btn.demo.active {
    background: #00ff88;
}

/* Menu Dropdown */
.menu-dropdown {
    position: relative;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dropdown-menu button:hover {
    background: rgba(0, 245, 255, 0.2);
}

/* Motivational Text */
.motivational-text {
    background: #000;
    padding: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #00f5ff;
}

.running-text {
    display: flex;
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Main Navigation */
.main-navigation {
    margin-top: 120px;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.nav-btn:hover {
    border-color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

.nav-btn.active {
    border-color: #00f5ff;
    background: rgba(0, 245, 255, 0.2);
}

.nav-btn i {
    font-size: 1.5rem;
}

/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    background: linear-gradient(45deg, #00f5ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dashboard Styles */
.dashboard-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-card:hover {
    border-color: #00f5ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.option-icon {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 1rem;
}

.option-card h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.option-card p {
    color: #ccc;
    font-size: 0.9rem;
}

.bot-runner {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 2rem;
}

.bot-runner h3 {
    margin-bottom: 1rem;
    text-align: center;
    color: #00f5ff;
}

.bot-embed iframe {
    border-radius: 10px;
}

/* Analysis Tool Styles */
.analysis-container {
    max-width: 800px;
    margin: 0 auto;
}

.market-selector, .strategy-selector {
    margin-bottom: 2rem;
}

.market-selector label, .strategy-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00f5ff;
    font-weight: 500;
}

.market-selector select, .strategy-selector select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00f5ff;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.analysis-results {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.accuracy-indicator {
    margin-bottom: 2rem;
}

.accuracy-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #00f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: conic-gradient(#00f5ff 0deg, transparent 360deg);
}

.accuracy-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.recommendations {
    text-align: left;
}

.recommendation-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recommendation-item .label {
    color: #ccc;
}

.recommendation-item .value {
    color: #00f5ff;
    font-weight: 500;
}

.analyze-btn {
    display: block;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00f5ff, #0099cc);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

/* Signal Tool Styles */
.signal-container {
    max-width: 900px;
    margin: 0 auto;
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.refresh-timer {
    background: rgba(255, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    animation: timerPulse 1s infinite;
}

@keyframes timerPulse {
    0%, 100% { background: rgba(255, 0, 0, 0.8); }
    50% { background: rgba(255, 0, 0, 1); }
}

.digit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.digit-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00f5ff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.digit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    animation: scanLine 2s infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.digit-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 0.5rem;
}

.digit-percentage {
    color: #00ff88;
    font-weight: 500;
}

.best-prediction {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.prediction-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.digit {
    font-size: 3rem;
    font-weight: 700;
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid #00f5ff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confidence {
    font-size: 1.5rem;
    color: #00ff88;
    font-weight: 600;
}

/* Matches/Differs Styles */
.matches-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tick-counter {
    text-align: center;
    margin-bottom: 2rem;
}

.current-tick {
    font-size: 4rem;
    font-weight: 700;
    color: #00f5ff;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #00f5ff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    animation: tickPulse 0.5s ease-in-out;
}

@keyframes tickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.digits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.digit-box {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.digit-box.hot {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.digit-box.cold {
    border-color: #4444ff;
    background: rgba(68, 68, 255, 0.1);
}

.digit-box.winner {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.2);
    animation: winner 0.5s ease-in-out;
}

@keyframes winner {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.trading-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    flex-wrap: wrap;
    gap: 2rem;
}

.prediction-input select {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00f5ff;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.trade-buttons {
    display: flex;
    gap: 1rem;
}

.trade-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.trade-btn.matches {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #000;
}

.trade-btn.differs {
    background: linear-gradient(45deg, #ff4444, #cc3333);
    color: #fff;
}

.trade-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Strategy Section */
.strategy-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.strategy-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #00f5ff;
    border-radius: 25px;
    color: #00f5ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.strategy-tab.active {
    background: #00f5ff;
    color: #000;
}

.strategy-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.strategy-content.hidden {
    display: none;
}

.current-value, .current-tick {
    font-size: 3rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #00f5ff;
    border-radius: 15px;
    padding: 1rem;
}

.prediction-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.predict-btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.predict-btn.over, .predict-btn.odd {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: #fff;
}

.predict-btn.under, .predict-btn.even {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: #fff;
}

.predict-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .dashboard-options {
        grid-template-columns: 1fr;
    }
    
    .digit-grid, .digits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trading-controls {
        flex-direction: column;
        text-align: center;
    }
    
    .prediction-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .bk-text, .dollar-symbol {
        font-size: 1.5rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .nav-container {
        grid-template-columns: 1fr;
    }
    
    .nav-btn {
        min-width: 100px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 245, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00f5ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
}

.message.error {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: #00f5ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* Copy Trading Button */
.copy-trading-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none !important;
    color: white !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.copy-trading-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: copyShine 3s infinite;
}

@keyframes copyShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.copy-trading-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* Free Bots Section */
.freebots-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bot-selection h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #00f5ff;
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bot-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.bot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00f5ff, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bot-card:hover {
    border-color: #00f5ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.bot-card:hover::before {
    opacity: 1;
}

.bot-icon {
    font-size: 2.5rem;
    color: #00f5ff;
    margin-bottom: 1rem;
    background: rgba(0, 245, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.bot-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.bot-card p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.win-rate {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Selected Bot Dashboard */
.selected-bot-dashboard {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.bot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

.selected-bot-info h3 {
    font-size: 1.5rem;
    color: #00f5ff;
    margin-bottom: 0.5rem;
}

.selected-bot-info p {
    color: #cccccc;
}

.btn-back {
    background: transparent;
    border: 1px solid #00f5ff;
    color: #00f5ff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #00f5ff;
    color: #000;
}

.bot-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bot-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-group label {
    color: #00f5ff;
    font-weight: 500;
    font-size: 0.9rem;
}

.setting-group input,
.setting-group select {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.setting-group input:focus,
.setting-group select:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.bot-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.status-light {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-light.running {
    background: #ffaa00;
}

.status-light.stopped {
    background: #ff4444;
}

.bot-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.stat-value {
    color: #00f5ff;
    font-weight: 600;
    font-size: 0.9rem;
}

.bot-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-start, .btn-stop {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-start {
    background: linear-gradient(45deg, #00ff88, #00f5ff);
    color: #000;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-stop {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    color: #fff;
}

.btn-stop:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
}

/* Trading Feed */
.trading-feed {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
}

.trading-feed h4 {
    color: #00f5ff;
    margin-bottom: 1rem;
    text-align: center;
}

.feed-container {
    min-height: 200px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
}

.feed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    gap: 1rem;
}

.feed-placeholder i {
    font-size: 2rem;
}

.trade-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.3s ease;
}

.trade-entry:last-child {
    border-bottom: none;
}

.trade-entry.win {
    background: rgba(0, 255, 136, 0.1);
    border-left: 3px solid #00ff88;
    padding-left: 1rem;
}

.trade-entry.loss {
    background: rgba(255, 68, 68, 0.1);
    border-left: 3px solid #ff4444;
    padding-left: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tutorial Section */
.tutorial-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tutorial-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tutorial-tab {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.tutorial-tab:hover {
    border-color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
}

.tutorial-tab.active {
    background: #00f5ff;
    color: #000;
    border-color: #00f5ff;
}

.tutorial-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.tutorial-section {
    display: none;
}

.tutorial-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tutorial-section h3 {
    color: #00f5ff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, #00f5ff, #00ff88);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: #cccccc;
    line-height: 1.6;
}

.tutorial-content-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tutorial-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00f5ff;
}

.tutorial-feature h4 {
    color: #00f5ff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.tutorial-feature p {
    color: #cccccc;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.tutorial-feature ul {
    list-style: none;
    padding-left: 0;
}

.tutorial-feature li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.tutorial-feature li::before {
    content: '→';
    color: #00f5ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Copy Trading Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #00f5ff;
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

.modal-header h3 {
    color: #00f5ff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.modal-body {
    padding: 1.5rem;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.account-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid transparent;
}

.account-card.demo {
    border-color: #00ff88;
}

.account-card.real {
    border-color: #ff6b6b;
}

.account-card h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.account-card .balance {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.account-card.demo .balance {
    color: #00ff88;
}

.account-card.real .balance {
    color: #ff6b6b;
}

.account-card .status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.account-card .status.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.copy-arrow {
    color: #00f5ff;
    font-size: 1.5rem;
    animation: copyArrowPulse 2s infinite;
}

@keyframes copyArrowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.copy-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.copy-warning {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid #ffaa00;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.copy-warning i {
    color: #ffaa00;
    font-size: 1.2rem;
}

.copy-warning p {
    color: #ffaa00;
    margin: 0;
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn-cancel, .btn-activate {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.btn-cancel:hover {
    background: #ff4444;
    color: #fff;
}

.btn-activate {
    background: linear-gradient(45deg, #00ff88, #00f5ff);
    color: #000;
}

.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.btn-activate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.modal-backdrop.active {
    display: block;
}

/* Official Deriv Bot Runner Styles */
.custom-bot-runner {
    background: #ffffff;
    border: 1px solid #d6dadb;
    border-radius: 4px;
    padding: 0;
    margin-top: 1rem;
}

.bot-runner-header {
    background: #f2f3f4;
    padding: 12px 16px;
    border-bottom: 1px solid #d6dadb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.runner-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.connection-status .fa-circle {
    font-size: 8px;
    color: #4bb4b4;
}

.runner-controls {
    display: flex;
    gap: 8px;
}

.btn-runner-start, .btn-runner-stop, .btn-runner-reset {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-runner-start {
    background: #4bb4b4;
    color: white;
}

.btn-runner-start:hover {
    background: #3a9999;
}

.btn-runner-stop {
    background: #ff6444;
    color: white;
}

.btn-runner-stop:hover {
    background: #e5472d;
}

.btn-runner-reset {
    background: #f2f3f4;
    color: #333;
    border: 1px solid #d6dadb;
}

.btn-runner-reset:hover {
    background: #e8eaeb;
}

/* Bot Runner Progress Bar */
.bot-runner-progress {
    padding: 16px;
    background: white;
}

.progress-container {
    position: relative;
    background: #f2f3f4;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4bb4b4 0%, #6bc4c4 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar.running {
    animation: progressPulse 2s infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.bot-runner-content {
    padding: 16px;
    background: white;
}

.runner-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 16px;
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.runner-activity {
    border-top: 1px solid #e9ecef;
    padding-top: 16px;
}

.runner-activity h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.activity-log {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
}

.log-entry {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 13px;
    border-radius: 3px;
    margin-bottom: 2px;
}

.log-entry.waiting {
    color: #666;
    background: #ffffff;
}

.log-entry.success {
    color: #155724;
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.log-entry.error {
    color: #721c24;
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

.log-entry.info {
    color: #0c5460;
    background: #d1ecf1;
    border-left: 3px solid #17a2b8;
}

.log-time {
    font-family: monospace;
    font-size: 11px;
    color: #888;
    min-width: 60px;
}

.log-message {
    flex: 1;
}

/* Enhanced Signal Tool - Hacking Style */
.signal-container {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f23 100%);
    border: 2px solid #00ff41;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.signal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    animation: scanEffect 3s linear infinite;
}

@keyframes scanEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

.signal-header {
    position: relative;
    z-index: 2;
}

.signal-header h3 {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff41;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41; }
    to { text-shadow: 0 0 20px #00ff41, 0 0 30px #00ff41, 0 0 40px #00ff41; }
}

.refresh-timer {
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    border: 1px solid #ff0040;
    animation: timerPulse 1s infinite, hackingBlink 0.5s infinite;
}

@keyframes hackingBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.digit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.digit-card {
    background: rgba(0, 20, 40, 0.9);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.digit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
    animation: digitScan 2s infinite;
}

@keyframes digitScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.digit-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    border-color: #ff0040;
}

.digit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff41;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.digit-percentage {
    color: #ffffff;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #ffffff;
    position: relative;
    z-index: 2;
}

.digit-card.hot .digit-percentage {
    color: #ff4444;
    animation: hotDigit 1s infinite;
}

.digit-card.cold .digit-percentage {
    color: #4444ff;
    animation: coldDigit 1s infinite;
}

@keyframes hotDigit {
    0%, 100% { color: #ff4444; text-shadow: 0 0 10px #ff4444; }
    50% { color: #ff0000; text-shadow: 0 0 15px #ff0000, 0 0 25px #ff0000; }
}

@keyframes coldDigit {
    0%, 100% { color: #4444ff; text-shadow: 0 0 10px #4444ff; }
    50% { color: #0040ff; text-shadow: 0 0 15px #0040ff, 0 0 25px #0040ff; }
}

/* Best Prediction Enhancement */
.best-prediction {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00ff41;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.best-prediction::before {
    content: 'CLASSIFIED';
    position: absolute;
    top: 10px;
    right: -30px;
    background: #ff0040;
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    font-family: 'Courier New', monospace;
}

.best-prediction h4 {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prediction-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.digit {
    font-size: 4rem;
    font-weight: 700;
    color: #00ff41;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    border: 3px solid #00ff41;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px #00ff41;
    animation: digitPulse 2s infinite;
}

@keyframes digitPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 65, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 255, 65, 0.8); }
}

.confidence {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #ffffff;
    position: relative;
}

.confidence::after {
    content: 'CONFIDENCE';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

/* Matrix-style background for signal tool */
.signal-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 65, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Enhanced Analysis Tool */
.analysis-container {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d1b69 50%, #1a1a2e 100%);
    border: 2px solid #6c5ce7;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.analysis-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
    animation: analysisGlow 4s ease-in-out infinite alternate;
}

@keyframes analysisGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.analysis-results {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #6c5ce7;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.accuracy-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: conic-gradient(#6c5ce7 0deg, transparent 360deg);
    position: relative;
    animation: circleRotate 10s linear infinite;
}

@keyframes circleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.accuracy-percent {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #6c5ce7;
    position: relative;
    z-index: 3;
}

.analyze-btn {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.analyze-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: analyzeShine 2s infinite;
}

@keyframes analyzeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Official Deriv Bot Interface Styles */
.deriv-bot-interface {
    background: #ffffff;
    border: 1px solid #d6dadb;
    border-radius: 8px;
    margin-top: 2rem;
}

.bot-runner-toolbar {
    background: #f2f3f4;
    border-bottom: 1px solid #d6dadb;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.run-btn {
    background: #4bb4b4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.run-btn:hover {
    background: #3a9999;
}

.run-btn.stop {
    background: #ff6444;
}

.run-btn.stop:hover {
    background: #e5472d;
}

.bot-status-text {
    font-size: 14px;
    color: #666;
}

.risk-disclaimer-btn {
    background: transparent;
    border: 1px solid #ff6444;
    color: #ff6444;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.bot-runner-panel {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bot-runner-panel.active {
    max-height: 600px;
}

.panel-tabs {
    display: flex;
    border-bottom: 1px solid #d6dadb;
}

.panel-tab {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.panel-tab.active {
    color: #333;
    border-bottom-color: #4bb4b4;
    background: #f8f9fa;
}

.panel-actions {
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 8px;
}

.panel-action-btn, .reset-btn {
    background: #f2f3f4;
    border: 1px solid #d6dadb;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.panel-content {
    display: none;
    padding: 16px;
}

.panel-content.active {
    display: block;
}

.summary-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-group {
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.stat-value.profit {
    color: #00ff88;
}

.transactions-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #333;
}

.transaction-col {
    text-align: center;
    font-size: 14px;
}

/* DTrader Official Styles */
.dtrader-container {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.dtrader-header {
    background: #2c2c2c;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.trading-interface {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: 600px;
}

.market-section {
    background: #2c2c2c;
    color: white;
    padding: 16px;
}

.market-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.market-price {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    text-align: center;
}

.trading-controls-section {
    background: white;
    padding: 16px;
    color: #333;
}

.contract-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.contract-tab {
    background: #f2f3f4;
    border: 1px solid #d6dadb;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.contract-tab.active {
    background: #4bb4b4;
    color: white;
    border-color: #4bb4b4;
}

.prediction-buttons-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.prediction-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.prediction-btn.rise {
    border-color: #28a745;
    color: #28a745;
}

.prediction-btn.fall {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.payout-info {
    font-size: 18px;
    font-weight: 700;
}

/* Matches/Differs Official Styles */
.matches-official-container {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.matches-header {
    background: #2c2c2c;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flag-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.matches-content {
    background: white;
    padding: 20px;
    color: #333;
}

.digit-keypad-official {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 16px 0;
}

.digit-key {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.digit-key.selected {
    background: #e3f2fd;
    border-color: #2196f3;
}

.digit-key .digit {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.digit-key .probability {
    font-size: 12px;
    color: #666;
}

.matches-differs-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.matches-action-btn {
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s;
}

.matches-action-btn.matches {
    background: #28a745;
    color: white;
}

.matches-action-btn.differs {
    background: #dc3545;
    color: white;
}

.action-text {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.action-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

/* Strategy Interface Updates */
.strategy-interface {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
}

.current-price-display {
    text-align: center;
    margin-bottom: 2rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 0.5rem;
}

.price-label {
    color: #ccc;
    font-size: 1rem;
}

.strategy-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.control-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-row label {
    color: #00f5ff;
    font-weight: 500;
}

.control-row select, .control-row input {
    padding: 0.8rem;
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.payout-multiplier {
    font-size: 0.9rem;
    color: #00ff88;
    margin-left: 0.5rem;
}

.digit-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.digit-select-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00f5ff;
    color: #00f5ff;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.2s;
}

.digit-select-btn.active {
    background: #00f5ff;
    color: #000;
}

/* Professional Logo Styling */
.logo-icon {
    background: linear-gradient(45deg, #00f5ff, #00ff88, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite, gradientShift 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #00f5ff, #00ff88, #ff6b6b);
    background-size: 300% 300%;
    border-radius: 50%;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
    animation: gradientShift 3s ease-in-out infinite;
}

.bk-logo {
    position: relative;
}

.bk-logo::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(0, 245, 255, 0.1), rgba(0, 255, 136, 0.1));
    border-radius: 15px;
    z-index: -1;
    animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.brand-name {
    position: relative;
    overflow: hidden;
}

.brand-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: brandShine 3s infinite;
}

@keyframes brandShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Professional Trading Platform Branding */
.platform-badge {
    display: inline-block;
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f0f23);
    border: 2px solid #00f5ff;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin: 1rem auto;
    color: #00f5ff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.platform-badge::before {
    content: 'PROFESSIONAL';
    position: absolute;
    top: -20px;
    right: -30px;
    background: #ff6b6b;
    color: white;
    padding: 2px 20px;
    font-size: 10px;
    transform: rotate(45deg);
    font-weight: 700;
}

/* Enhanced Visual Identity */
.visual-identity {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #00f5ff;
    border-radius: 50px;
    padding: 1rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.visual-identity:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.brand-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: rgba(0, 245, 255, 0.1);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
}

/* Trading Form Enhancements */
.trading-form-section {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(0, 255, 136, 0.05));
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.trading-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: formShine 4s infinite;
}

@keyframes formShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.form-input, .form-select {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 245, 255, 0.3);
    color: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

/* Professional Button Styling */
.pro-button {
    background: linear-gradient(45deg, #00f5ff, #0099cc);
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: 600;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pro-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */
/* Mobile-First Approach with Progressive Enhancement */

/* Base Mobile Styles (320px and up) */
@media (max-width: 480px) {
    /* Welcome Loader Mobile */
    .loader-content {
        padding: 1rem;
        max-width: 90vw;
    }
    
    .logo-icon {
        font-size: 3rem;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .platform-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .welcome-message h2 {
        font-size: 1.4rem;
    }
    
    /* Header Mobile */
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .bk-text {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .motivational-text {
        font-size: 0.8rem;
    }
    
    .running-text {
        animation-duration: 20s;
    }
    
    /* Navigation Mobile */
    .nav-container {
        flex-wrap: wrap;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .nav-btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 140px;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-btn span {
        font-size: 0.7rem;
    }
    
    .nav-btn i {
        font-size: 1rem;
    }
    
    /* Main Content Mobile */
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Dashboard Mobile */
    .dashboard-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .option-card {
        padding: 1.5rem 1rem;
    }
    
    .option-card h3 {
        font-size: 1.1rem;
    }
    
    /* Bot Runner Mobile */
    .deriv-bot-interface {
        margin-top: 1rem;
    }
    
    .bot-runner-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .toolbar-left {
        justify-content: center;
    }
    
    .run-btn {
        width: 100%;
        justify-content: center;
    }
    
    .panel-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .panel-tab {
        flex: 1;
        min-width: 80px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .panel-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .panel-action-btn,
    .reset-btn {
        flex: 1;
        min-width: 80px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .summary-stats {
        gap: 1rem;
    }
    
    .summary-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-group {
        text-align: center;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }
    
    .transactions-header {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    /* DTrader Mobile */
    .trading-interface {
        gap: 1rem;
    }
    
    .market-section {
        padding: 1rem;
    }
    
    .market-name {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .contract-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contract-tab {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .prediction-buttons-large {
        flex-direction: column;
        gap: 1rem;
    }
    
    .prediction-btn {
        padding: 1.5rem;
        width: 100%;
    }
    
    .trade-parameters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .parameter-group {
        width: 100%;
    }
    
    .purchase-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    /* Matches/Differs Mobile */
    .digit-keypad,
    .digit-keypad-official {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .digit-btn,
    .digit-key {
        padding: 1rem;
        aspect-ratio: 1;
    }
    
    .digit {
        font-size: 1.2rem;
    }
    
    .probability,
    .percentage {
        font-size: 0.7rem;
    }
    
    .duration-stake-controls,
    .duration-stake-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .control-group,
    .duration-group,
    .stake-group {
        width: 100%;
    }
    
    .matches-differs-actions,
    .matches-differs-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .matches-action-btn,
    .trade-action-btn {
        width: 100%;
        padding: 1.2rem;
    }
    
    /* Strategy Mobile */
    .strategy-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .strategy-tab {
        flex: 1;
        min-width: 120px;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .digit-buttons {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .digit-select-btn {
        aspect-ratio: 1;
        font-size: 1rem;
    }
    
    .prediction-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .predict-btn {
        width: 100%;
        padding: 1.2rem;
    }
    
    /* Free Bots Mobile */
    .bots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bot-card {
        padding: 1.5rem 1rem;
    }
    
    .bot-icon {
        font-size: 2rem;
    }
    
    .runner-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    /* Tutorial Mobile */
    .tutorial-navigation {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tutorial-tab {
        flex: 1;
        min-width: 120px;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95vw;
        max-height: 90vh;
        margin: 5vh auto;
        padding: 1rem;
    }
    
    .account-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .copy-arrow {
        transform: rotate(90deg);
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-cancel,
    .btn-activate {
        width: 100%;
        padding: 1rem;
    }
    
    /* Signal Tool Mobile */
    .digit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .digit-card {
        padding: 1rem;
        aspect-ratio: 1;
    }
    
    .digit-number {
        font-size: 1.5rem;
    }
    
    .digit-percentage {
        font-size: 0.9rem;
    }
    
    /* Analysis Tool Mobile */
    .analysis-container {
        gap: 1rem;
    }
    
    .market-selector,
    .strategy-selector {
        margin-bottom: 1rem;
    }
    
    .accuracy-circle {
        width: 120px;
        height: 120px;
    }
    
    .accuracy-percent {
        font-size: 1.5rem;
    }
    
    .recommendation-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }
    
    .analyze-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Tablet Styles (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .nav-btn {
        flex: 1 1 calc(33.333% - 0.5rem);
        min-width: 150px;
    }
    
    .dashboard-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .digit-keypad,
    .digit-keypad-official {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .bots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .runner-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .digit-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .prediction-buttons-large {
        flex-direction: row;
    }
    
    .modal-content {
        width: 80vw;
        max-width: 600px;
    }
    
    .account-info {
        flex-direction: row;
    }
    
    .copy-arrow {
        transform: none;
    }
}

/* Desktop Styles (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        justify-content: center;
    }
    
    .nav-btn {
        flex: 0 1 auto;
        min-width: 120px;
    }
    
    .dashboard-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contract-tabs {
        justify-content: center;
    }
    
    .prediction-buttons {
        justify-content: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Large Desktop Styles (1025px and up) */
@media (min-width: 1025px) {
    .dashboard-options {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .bots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .digit-keypad,
    .digit-keypad-official {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .trading-interface {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .strategy-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .prediction-buttons {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Ultra-wide Desktop (1200px and up) */
@media (min-width: 1200px) {
    .main-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }
    
    .dashboard-options {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .trading-interface {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .chart-section {
        grid-column: span 2;
    }
}

/* High DPI/Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .bot-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .welcome-loader {
        padding: 0.5rem;
    }
    
    .loader-content {
        max-width: 80vw;
        padding: 0.5rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .welcome-message h2 {
        font-size: 1.2rem;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    .nav-container {
        padding: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 1rem 0.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-btn,
    .option-card,
    .bot-card,
    .digit-btn,
    .digit-key,
    .prediction-btn,
    .predict-btn {
        min-height: 44px; /* Minimum touch target size */
        touch-action: manipulation;
    }
    
    .nav-btn:active,
    .option-card:active,
    .prediction-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
    
    /* Remove hover effects on touch devices */
    .nav-btn:hover,
    .option-card:hover,
    .bot-card:hover,
    .predict-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Print Styles */
@media print {
    .welcome-loader,
    .header,
    .main-navigation,
    .modal,
    .modal-backdrop {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .main-content {
        padding: 0;
        margin: 0;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .welcome-loader {
        animation: none;
    }
    
    .logo-icon,
    .chart-dot,
    .running-text {
        animation: none;
    }
}

/* Dark Mode Responsive Adjustments */
@media (prefers-color-scheme: dark) {
    body:not(.dark-mode) {
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    }
    
    .option-card,
    .bot-card,
    .stat-card {
        background: rgba(0, 0, 0, 0.6);
        border-color: rgba(0, 245, 255, 0.3);
    }
}
    animation: buttonShine 2s infinite;
}

@keyframes buttonShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pro-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

.pro-button.danger {
    background: linear-gradient(45deg, #ff6444, #ff4444);
    color: #ffffff;
}

.pro-button.success {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #000000;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .welcome-loader .logo-text h1 {
        font-size: 2rem;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    .trading-interface {
        grid-template-columns: 1fr;
    }
    
    .prediction-buttons-large {
        grid-template-columns: 1fr;
    }
    
    .digit-keypad-official {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .matches-differs-actions {
        grid-template-columns: 1fr;
    }
    
    .strategy-controls {
        grid-template-columns: 1fr;
    }
    
    .summary-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .runner-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .visual-identity {
        display: none;
    }

    .brand-watermark {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-btn {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .nav-btn span {
        font-size: 0.7rem;
    }
    
    .bots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .bot-controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tutorial-navigation {
        gap: 0.5rem;
    }
    
    .tutorial-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .account-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .copy-arrow {
        transform: rotate(90deg);
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-btn {
        min-width: 80px;
        padding: 0.6rem;
    }
    
    .nav-btn i {
        font-size: 1.2rem;
    }
    
    .nav-btn span {
        font-size: 0.6rem;
    }
    
    .bots-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-navigation {
        flex-direction: column;
        align-items: center;
    }
}
