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

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1419;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.logo-container {
    position: absolute;
    top: -100px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.logo-only {
    position: relative;
    top: 50px;
}

.logo-only img {
    height: 240px;
    width: auto;
    background: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
}

.signup-btn {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    color: #0f1419;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    top: -22px;
    left: 33px;
}

.signup-btn:hover {
    background: linear-gradient(135deg, #FF8C00, #FF7F00);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 165, 0, 0.4);
}

.signup-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.social-links {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 16px;
}

.social-link {
    color: #FFA500;
    text-decoration: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(255, 165, 0, 0.3));
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 165, 0, 0.5));
}

.social-link svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #00d4ff;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 212, 255, 0.3);
}

header h1.site-title {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

header h1.site-title:hover {
    color: #FFA500;
    text-shadow: 
        0 0 10px rgba(255, 165, 0, 0.6),
        0 0 20px rgba(255, 165, 0, 0.4),
        0 0 30px rgba(255, 165, 0, 0.2);
    transform: scale(1.02);
}

header h1.site-title:active {
    transform: scale(0.98);
}

header p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.odds-format-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.odds-format-selector label {
    font-family: 'Rajdhani', sans-serif;
    color: #FFA500;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.odds-format-selector select {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1e2328, #2a2f36);
    color: #fff;
    border: 1px solid #4a5568;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.odds-format-selector select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.odds-format-selector select:hover {
    border-color: #00d4ff;
    background: linear-gradient(135deg, #2a2f36, #363c45);
}

.odds-format-selector select option {
    background: #1e2328;
    color: #fff;
    padding: 8px;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #1e2328, #2a2f36);
    border-radius: 16px;
    border: 1px solid #FFA500;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.2);
}

.tab-btn {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #2a2f36, #363c45);
    color: #fff;
    border: 1px solid #4a5058;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: linear-gradient(135deg, #363c45, #404854);
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f1419;
    border-color: #00d4ff;
    font-weight: 700;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
}


.calculator-container {
    background: linear-gradient(135deg, #1e2328, #2a2f36);
    border-radius: 20px;
    border: 1px solid #FFA500;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 165, 0, 0.2);
}

.calculator {
    display: none;
    padding: 40px;
}

.calculator.active {
    display: block;
}

.calculator h2 {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 212, 255, 0.3);
}

.description {
    font-family: 'Rajdhani', sans-serif;
    color: #aaa;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Calculator Summary Styles */
.calculator-summary {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    border-radius: 12px;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
    border-left: 4px solid #00d4ff;
}

.calculator-summary p {
    font-family: 'Rajdhani', sans-serif;
    color: #e2e8f0;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.calculator-summary p:last-child {
    margin-bottom: 0;
}

.calculator-summary strong {
    color: #00d4ff;
    font-weight: 600;
}

/* Splash Page Styles */
.splash-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: #cbd5e0;
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 400;
}

.calculator-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.calculator-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.row-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a5568 20%, #00d4ff 50%, #4a5568 80%, transparent);
    position: relative;
    margin: 16px 0;
    opacity: 0.7;
}

.row-separator::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3) 20%, rgba(0, 212, 255, 0.8) 50%, rgba(0, 212, 255, 0.3) 80%, transparent);
    filter: blur(1px);
}

.calculator-card {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.calculator-card:hover::before {
    left: 100%;
}

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

.calculator-card h3 {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.calculator-card h3:hover {
    color: #FFA500;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.5);
    border-bottom-color: #FFA500;
    transform: translateY(-1px);
}

.calculator-card p {
    font-family: 'Rajdhani', sans-serif;
    color: #cbd5e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 400;
}

.card-cta {
    font-family: 'Orbitron', monospace;
    color: #FFA500;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.splash-footer {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border: 1px solid #4a5568;
    border-radius: 16px;
    padding: 30px;
    border-left: 4px solid #FFA500;
    margin-top: 40px;
}

.splash-footer p {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.splash-footer ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.splash-footer li {
    font-family: 'Rajdhani', sans-serif;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
}

.splash-footer strong {
    color: #FFA500;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

@media (max-width: 768px) {
    .calculator-grid {
        gap: 24px;
    }
    
    .calculator-row {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .row-separator {
        margin: 12px 0;
    }
    
    .splash-footer ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .calculator-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .calculator-card {
        padding: 16px;
    }
    
    .calculator-card h3 {
        font-size: 1.1rem;
    }
}

/* Calculator Section Styles */
.calculator-section {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border: 1px solid #4a5568;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.calculator-section:last-child {
    margin-bottom: 0;
}

.calculator-section h3 {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 212, 255, 0.3);
}

.section-description {
    font-family: 'Rajdhani', sans-serif;
    color: #cbd5e0;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    font-style: italic;
}

/* Helper Styles */
.helper-text {
    font-family: 'Rajdhani', sans-serif;
    color: #718096;
    font-weight: 400;
    font-size: 0.85rem;
    font-style: italic;
}

.helper-btn {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f1419;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

.helper-btn:hover {
    background: linear-gradient(135deg, #0099cc, #007799);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.helper-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

/* Toggle Button Styles */
.input-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #4a5568;
}

.toggle-btn {
    font-family: 'Rajdhani', sans-serif;
    flex: 1;
    background: transparent;
    color: #cbd5e0;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.toggle-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f1419;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

/* Auto-calculated display */
.auto-calculated {
    background: linear-gradient(135deg, #1a202c, #2a3441);
    border: 1px solid #4a5568;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-left: 3px solid #00d4ff;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-label {
    font-family: 'Rajdhani', sans-serif;
    color: #FFA500;
    font-weight: 500;
    font-size: 0.95rem;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.calc-value {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

/* Kelly Section Styles */
.kelly-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    border-radius: 12px;
    border-left: 4px solid #FFA500;
}

.kelly-section h4 {
    font-family: 'Orbitron', monospace;
    color: #FFA500;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

/* Step-by-Step Calculator Styles */
.step-section {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border: 1px solid #4a5568;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.step-title {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 212, 255, 0.3);
}

.steps-container {
    margin-top: 24px;
}

.calculation-step {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid #00d4ff;
    transition: all 0.3s ease;
}

.calculation-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.final-step {
    border-left-color: #FFA500;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.2);
}

.step-formula {
    font-family: 'Rajdhani', sans-serif;
    color: #cbd5e0;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 2px solid #4a5568;
}

.step-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.step-label {
    font-family: 'Rajdhani', sans-serif;
    color: #FFA500;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.step-value {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.step-status {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
}

.step-status.positive {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border-left: 3px solid #4ade80;
}

.step-status.negative {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid #ff6b6b;
}

.step-recommendation {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
}

.step-recommendation.positive {
    color: #FFA500;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 1px solid rgba(255, 165, 0, 0.3);
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.step-recommendation.negative {
    color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Summary Box */
.summary-box {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 2px solid #FFA500;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 8px 32px rgba(255, 165, 0, 0.2);
}

.summary-box h4 {
    font-family: 'Orbitron', monospace;
    color: #FFA500;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.summary-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #4a5568;
}

.summary-label {
    font-family: 'Rajdhani', sans-serif;
    color: #FFA500;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.summary-value {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.summary-value.positive {
    color: #4ade80;
    text-shadow: 0 1px 2px rgba(74, 222, 128, 0.3);
}

.summary-value.negative {
    color: #ff6b6b;
    text-shadow: 0 1px 2px rgba(255, 107, 107, 0.3);
}

/* Kelly Multiplier Select */
#kelly-multiplier {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1e2328, #2a2f36);
    color: #fff;
    border: 1px solid #4a5568;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

#kelly-multiplier:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

#kelly-multiplier option {
    background: #1e2328;
    color: #fff;
    padding: 8px;
}

/* Auto-fill Button */
.auto-fill-btn {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #4a5568, #718096);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(74, 85, 104, 0.3);
}

.auto-fill-btn:hover {
    background: linear-gradient(135deg, #718096, #4a5568);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.4);
}

.auto-fill-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(74, 85, 104, 0.3);
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    font-family: 'Rajdhani', sans-serif;
    display: block;
    color: #FFA500;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.input-group input {
    font-family: 'Rajdhani', sans-serif;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border: 1px solid #4a5568;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.input-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1a202c, #2d3748);
}

.input-group input:hover {
    border-color: #718096;
}

.input-group input::placeholder {
    color: #718096;
}

.odds-inputs {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    padding: 24px;
    border-radius: 16px;
    margin: 24px 0;
    border: 1px solid #4a5568;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.odds-inputs h3 {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 212, 255, 0.3);
}

.calculate-btn {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f1419;
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 24px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.calculate-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);
    transition: left 0.5s;
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:hover {
    background: linear-gradient(135deg, #0099cc, #007799);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.results {
    background: linear-gradient(135deg, #0f1419, #1a202c);
    border: 1px solid #4a5568;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    transition: all 0.3s ease;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.result-label {
    font-family: 'Rajdhani', sans-serif;
    color: #FFA500;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.3);
}

.result-value {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.5px;
}

.result-value.positive {
    color: #4ade80;
    text-shadow: 0 0 6px rgba(74, 222, 128, 0.3);
}

.result-value.negative {
    color: #ff6b6b;
    text-shadow: 0 0 6px rgba(255, 107, 107, 0.3);
}

.result-value.neutral {
    color: #00d4ff;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

/* Dutching Calculator Styles */
.outcome-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.outcome-row .input-group {
    flex: 1;
    margin-bottom: 0;
}

.add-outcome-btn {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #0f1419;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.add-outcome-btn:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74, 222, 128, 0.4);
}

.add-outcome-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.remove-outcome-btn {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.remove-outcome-btn:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

.remove-outcome-btn:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin-top: 60px;
    }
    
    .logo-container {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    
    .logo-only {
        position: relative;
        top: 0;
        flex-shrink: 0;
    }
    
    .logo-only img {
        height: 140px;
        width: auto;
    }
    
    .signup-btn {
        position: relative;
        top: 0;
        left: 0;
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .social-links {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        justify-content: center;
        gap: 24px;
    }
    
    .social-link svg {
        width: 28px;
        height: 28px;
    }
    
    header {
        margin-top: 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tab-nav {
        padding: 15px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .calculator {
        padding: 20px;
    }
    
    .calculator h2 {
        font-size: 1.5rem;
    }
    
    .input-group input {
        padding: 10px 14px;
    }
    
    .calculate-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        margin-top: 40px;
    }
    
    .logo-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    
    .logo-only img {
        height: 120px;
    }
    
    .signup-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .social-links {
        order: -1;
        margin-bottom: 15px;
        gap: 20px;
    }
    
    .social-link svg {
        width: 26px;
        height: 26px;
    }
    
    header h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }
    
    header p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .tab-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 8px;
    }
    
    .tab-btn {
        text-align: center;
        padding: 12px 20px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .result-value {
        font-size: 1.2rem;
    }
}

/* Dutching Calculator Styles */
.dutching-selection {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
}

.dutching-selection .selection-name {
    flex: 2;
    min-width: 120px;
}

.dutching-selection .selection-odds {
    flex: 1;
    min-width: 80px;
}

.dutching-selection .remove-selection {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dutching-selection .remove-selection:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.add-selection-btn {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 2px dashed rgba(0, 212, 255, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.add-selection-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.stakes-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.stake-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stake-item:last-child {
    border-bottom: none;
}

.stake-name {
    font-weight: 600;
    color: #00d4ff;
}

.stake-amount {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #4ade80;
}

/* Mobile responsive for dutching */
@media (max-width: 768px) {
    .dutching-selection {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .dutching-selection .selection-name,
    .dutching-selection .selection-odds {
        width: 100%;
        min-width: unset;
    }
    
    .dutching-selection .remove-selection {
        align-self: center;
    }
    
    .stake-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Arbitrage Calculator Styles */
.arbitrage-bets {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.bet-column {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #4a5568;
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
}

.bet-column h3 {
    font-family: 'Orbitron', monospace;
    color: #FFA500;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.4);
}

.bet-column .optional {
    font-size: 0.8rem;
    color: #a0aec0;
    font-weight: 400;
}

.arbitrage-controls {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.add-bet-btn, .remove-bet-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.add-bet-btn:hover, .remove-bet-btn:hover {
    background: linear-gradient(135deg, #0099cc, #007399);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.remove-bet-btn {
    background: linear-gradient(135deg, #ff6b6b, #e55353);
    margin-top: 12px;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.remove-bet-btn:hover {
    background: linear-gradient(135deg, #e55353, #c53030);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Mobile responsive for arbitrage */
/* Parlay Calculator Styles */
.parlay-leg {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: center;
}

.parlay-leg:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

/* Make all parlay legs have consistent width */
#parlay-legs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Make all odds inputs have consistent width - key is to make them all the same regardless of X button */
.parlay-leg .leg-odds {
    flex: 1;
    /* Calculate width to align: full width minus leg number (44px) minus X button space (42px) minus gaps */
    max-width: calc(100% - 86px);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* For legs without X button, add invisible spacer to maintain alignment */
.parlay-leg:not(:has(.remove-leg))::after {
    content: '';
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.leg-number {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    min-width: 24px;
    text-align: left;
}

.parlay-leg .leg-odds:focus {
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.parlay-leg .remove-leg {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.parlay-leg .remove-leg:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.add-leg-btn {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 2px dashed rgba(0, 212, 255, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

/* Market Outcome Styles (similar to parlay legs) */
.market-outcome {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: center;
}

.market-outcome:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

#market-outcomes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.market-outcome .outcome-odds {
    flex: 1;
    max-width: calc(100% - 86px);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.market-outcome:not(:has(.remove-outcome))::after {
    content: '';
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.outcome-number {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    min-width: 24px;
    text-align: left;
}

.market-outcome .outcome-odds:focus {
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.market-outcome .remove-outcome {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.market-outcome .remove-outcome:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.add-outcome-btn {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 2px dashed rgba(0, 212, 255, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

/* Dutching Selection Styles (similar to parlay legs) */
.dutching-selection {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: center;
}

.dutching-selection:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

#dutching-selections {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dutching-selection .selection-odds {
    flex: 1;
    max-width: calc(100% - 86px);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.dutching-selection:not(:has(.remove-selection))::after {
    content: '';
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.selection-number {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    min-width: 24px;
    text-align: left;
}

.dutching-selection .selection-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #e2e8f0;
    background: transparent;
    border: none;
    outline: none;
    cursor: text;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-width: 80px;
    flex: 1;
}

.dutching-selection .selection-name:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.dutching-selection .selection-name:focus {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
}

.dutching-selection .selection-name:empty:before {
    content: attr(data-placeholder);
    color: #9ca3af;
    font-style: italic;
}

.dutching-selection .selection-odds:focus {
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.dutching-selection .remove-selection {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dutching-selection .remove-selection:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.add-selection-btn {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 2px dashed rgba(0, 212, 255, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

/* Kelly Slider Styles */
.kelly-slider-container {
    position: relative;
    margin: 15px 0;
    padding: 70px 15px 20px 15px;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Kelly Slider Wrapper */
.kelly-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

/* Simple Rotating Square Display */
.kelly-square-display {
    position: absolute;
    width: 40px;
    height: 40px;
    top: -45px;
    left: 0;
    pointer-events: none;
    z-index: 10;
    transition: left 0.01s linear;
}

.square-container {
    position: relative;
    width: 40px;
    height: 40px;
    transition: transform 0.1s ease-out;
}

.square {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 8px currentColor;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    box-shadow: 0 0 15px currentColor;
    transition: all 0.1s ease-out;
}

/* Square risk level colors */
.square.conservative {
    color: #00ff88;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.square.moderate {
    color: #00d4ff;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.square.aggressive {
    color: #ffa500;
    border-color: #ffa500;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
}

.square.extreme {
    color: #ff6b6b;
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.kelly-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 850px;
    height: 6px;
    background: linear-gradient(90deg, 
        #00ff88 0%, 
        #00ff88 25%, 
        #00d4ff 25%, 
        #00d4ff 50%, 
        #ffa500 50%, 
        #ffa500 75%, 
        #ff6b6b 75%, 
        #ff6b6b 100%);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kelly-slider:hover {
    transform: scaleY(1.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Webkit browsers (Chrome, Safari, Edge) */
.kelly-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
    transition: all 0.3s ease;
}

.kelly-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.kelly-slider::-webkit-slider-thumb:active {
    transform: scale(1.3);
}

/* Firefox */
.kelly-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
    transition: all 0.3s ease;
}

.kelly-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.kelly-risk-display {
    text-align: center;
}

#kelly-risk-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kelly-risk-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 5px;
}

.risk-marker {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.risk-marker.conservative {
    color: #00ff88;
}

.risk-marker.moderate {
    color: #00d4ff;
}

.risk-marker.aggressive {
    color: #ffa500;
}

.risk-marker.extreme {
    color: #ff6b6b;
}

.risk-marker.active {
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 0 8px currentColor;
    transform: scale(1.1);
}

/* Animations for Kelly Coin */
@keyframes coinSpin {
    0% { 
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% { 
        transform: rotateY(90deg) rotateX(-10deg);
    }
    50% { 
        transform: rotateY(180deg) rotateX(0deg);
    }
    75% { 
        transform: rotateY(270deg) rotateX(10deg);
    }
    100% { 
        transform: rotateY(360deg) rotateX(0deg);
    }
}

@keyframes coinFlip {
    0% { 
        transform: rotateY(0deg) scale(1);
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    25% { 
        transform: rotateY(90deg) scale(1.1);
        box-shadow: 
            0 12px 35px rgba(0, 0, 0, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: rotateY(180deg) scale(1.05);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    75% { 
        transform: rotateY(270deg) scale(1.1);
        box-shadow: 
            0 12px 35px rgba(0, 0, 0, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
    100% { 
        transform: rotateY(360deg) scale(1);
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes gridMove {
    0% { 
        background-position: 0 0, 0 0;
        opacity: 0.8;
    }
    50% { 
        background-position: 6px 6px, 6px 6px;
        opacity: 1.0;
    }
    100% { 
        background-position: 12px 12px, 12px 12px;
        opacity: 0.8;
    }
}

@keyframes valueFlip {
    0% { 
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
    50% { 
        transform: rotateY(90deg) scale(0.8);
        opacity: 0.3;
    }
    100% { 
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}

.kelly-coin-spin {
    animation: coinSpin 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kelly-coin-flip {
    animation: coinFlip 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kelly-value-flip {
    animation: valueFlip 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cubeRotate {
    0% { 
        transform: rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: rotateX(90deg) rotateY(0deg);
    }
    50% { 
        transform: rotateX(90deg) rotateY(90deg);
    }
    75% { 
        transform: rotateX(0deg) rotateY(90deg);
    }
    100% { 
        transform: rotateX(0deg) rotateY(180deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kelly-slider-container {
        padding: 15px 10px;
        gap: 12px;
        margin: 10px 0;
    }
    
    .kelly-square-display {
        width: 35px;
        height: 35px;
        top: -40px;
    }
    
    .square-container {
        width: 35px;
        height: 35px;
    }
    
    .square {
        width: 35px;
        height: 35px;
        font-size: 0.6rem;
    }
    
    #kelly-risk-label {
        font-size: 0.9rem;
    }
    
    .kelly-slider {
        max-width: 350px;
        height: 5px;
    }
    
    .kelly-risk-scale {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    
    .risk-marker {
        font-size: 0.75rem;
    }
}

.add-leg-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.legs-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.leg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leg-item:last-child {
    border-bottom: none;
}

.leg-item .leg-name {
    font-weight: 600;
    color: #ffffff;
}

.leg-item .leg-odds {
    color: #00d4ff;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.leg-item .leg-prob {
    color: #a0a0a0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .arbitrage-bets {
        flex-direction: column;
        gap: 16px;
    }
    
    .bet-column {
        min-width: unset;
    }
    
    .parlay-leg {
        flex-direction: row;
        gap: 10px;
    }
    
    .parlay-leg .remove-leg {
        align-self: center;
    }
}