/* Edgeless Mode Button - styled as nav button */
.nav-btn.edgeless-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: 1px solid #FFD700;
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    font-family: 'Segoe UI', Barlow, Geneva, Verdana, sans-serif;
}

.nav-btn.edgeless-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    border-color: #FFA500;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}


/* Token Lock Section */
.token-lock-section {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #FFD700;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
    display: none;
}

.token-lock-section h3 {
    color: #FFD700;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.points-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
}

.points-item {
    text-align: center;
    flex: 1;
}

.points-label {
    color: #ccc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.points-value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.points-separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 215, 0, 0.3);
    margin: 0 15px;
}

.lockup-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.lockup-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lockup-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.lockup-input::placeholder {
    color: #888;
}

.lockup-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.lock-token-btn, .unlock-token-btn {
    flex: 1;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lock-token-btn:hover, .unlock-token-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.lock-token-btn:disabled, .unlock-token-btn:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.unlock-token-btn {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: #fff;
}

.unlock-token-btn:hover {
    background: linear-gradient(135deg, #228B22, #006400);
}

.lockup-status {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    padding: 12px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lockup-active {
    text-align: center;
    color: #fff;
}

.lockup-active > div {
    margin: 2px 0;
    font-size: 14px;
}

.unlock-ready {
    color: #32CD32 !important;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.no-lockup {
    color: #888;
    font-style: italic;
    text-align: center;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .token-lock-section {
        margin: 15px 0;
        padding: 15px;
    }
    
    .points-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .points-separator {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    
    .points-calculator {
        padding: 12px;
    }
    
    .calculator-display {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .calc-status {
        justify-content: center;
    }
    
    .lockup-controls {
        grid-template-columns: 1fr;
    }
    
    .lockup-buttons {
        flex-direction: column;
    }
    
    .edgeless-mode-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Integration with existing styles */
.top-bar .edgeless-mode-btn {
    margin-left: 10px;
}

/* Betting button disabled state in edgeless mode */
.betting-section button:disabled.insufficient-points {
    background: #444 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.betting-section button:disabled.insufficient-points:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Edgeless mode indicator */
.edgeless-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FFD700;
    color: #000;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
}

/* Hide token toggle in edgeless mode */
.token-toggle-container.hidden-edgeless {
    display: none !important;
}

/* Multiplier updates for edgeless mode */
.edgeless-multiplier {
    color: #FFD700 !important;
    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Points Calculator */
.points-calculator {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.calculator-header {
    text-align: center;
    margin-bottom: 12px;
}

.calculator-title {
    color: #FFD700;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.calculator-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.calculated-points {
    flex: 1;
}

.calc-label {
    color: #ccc;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.calc-value {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.calc-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.status-text {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.status-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Status color variations */
.calc-status.sufficient .status-text {
    color: #32CD32;
}

.calc-status.sufficient .status-icon {
    color: #32CD32;
}

.calc-status.insufficient .status-text {
    color: #ff6b6b;
}

.calc-status.insufficient .status-icon {
    color: #ff6b6b;
}

.calc-status.neutral .status-text {
    color: #888;
}

.calc-status.neutral .status-icon {
    color: #888;
}

.calculator-hints {
    text-align: center;
}

.hint-text {
    color: #888;
    font-size: 11px;
    font-style: italic;
    opacity: 0.8;
}

/* Animation for calculator updates */
.calc-value.updating {
    animation: pointsUpdate 0.4s ease;
}

@keyframes pointsUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); color: #FFA500; }
    100% { transform: scale(1); }
}

/* Token Lock Error Display */
.token-lock-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

.token-lock-error .error-message {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Edgeless Mode Notice - Match WIN promotion message styling exactly */
.edgeless-mode-notice {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    margin: 10px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: #ffc107;
    box-shadow: 0 1px 4px rgba(255, 193, 7, 0.15);
    opacity: 0.9;
}

.edgeless-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #ffc107;
}

.edgeless-notice-icon {
    font-size: 14px;
    animation: pulse 2s infinite;
}

.edgeless-notice-text {
    text-align: center;
    font-weight: 400;
}
