/* Loading Screen Styles */
/* Extracted from index.html for modular CSS architecture */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.loading-logo {
    margin-bottom: 30px;
}

.bitcoin-symbol {
    font-size: 60px;
    color: #f7931a;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(247, 147, 26, 0.5);
    animation: pulse 2s infinite;
}

.loading-spinner {
    margin-bottom: 30px;
}

.spinner-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(247, 147, 26, 0.3);
    border-top: 3px solid #f7931a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 24px;
}

.loading-text p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 16px;
}

.loading-progress {
    width: 100%;
    max-width: 300px;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f7931a, #ffb84d);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

#progress-text {
    color: #f7931a;
    font-size: 14px;
    font-weight: bold;
}

.loading-tips {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.tip-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.loading-error {
    color: #ff6b6b;
    text-align: center;
}

.retry-button {
    background-color: #f7931a;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.retry-button:hover {
    background-color: #ffb84d;
}

/* Loading Screen Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}