/* Main CSS - Global styles and variables */

/* Loading screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('../media/binance.png'),
        linear-gradient(135deg, #ffff00 0%, #000000 100%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

/* Hide main content while loading */
body.loading .app-container,
body.loading .footer {
    display: none;
}

.loading-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-gif {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.loading-text {
    font-family: 'Brownist', Arial, sans-serif;
    color: var(--primary-yellow);
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    letter-spacing: 2px;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
:root {
    --primary-yellow: #ffff00;
    --light-yellow: #fffacd;
    --dark-yellow: #ffd700;
    --beige-pink: #f5f5dc;
    --light-beige: #faf0e6;
    --text-black: #000000;
    --white: #ffffff;
    --border-radius: 20px;
    --border-radius-large: 30px;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

@font-face {
    font-family: 'Brownist';
    src: url('../media/Brownist.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Arial', sans-serif;
    background: 
        url('../media/binance.png'),
        linear-gradient(135deg, #ffff00 0%, #000000 100%);
    background-size: 
        100% 100%;
    background-position: 
        center;
    background-repeat: 
        no-repeat;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Vertical screens - use different Binance background */
@media screen and (orientation: portrait) and (max-height: 768px) {
    body {
        background: 
          url('../media/binance-vertical.png'),
            linear-gradient(135deg, #ffff00 0%, #000000 100%);
        background-size: 
            100% 100%;
        background-position: 
            center;
        background-repeat: 
            no-repeat;
    }
    
    .loading-screen {
        background: 
            url('../media/binance-vertical.png'),
            linear-gradient(135deg, #ffff00 0%, #000000 100%);
        background-size: 
            100% 100%;
        background-position: 
            center;
        background-repeat: 
            no-repeat;
    }
}

.app-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Footer styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--text-black);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1000;
}

.scrolling-text {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: var(--primary-yellow);
    font-size: 22px;
    font-weight: normal;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.scrolling-logo {
    height: 20px;
    width: 20px;
    margin: 0 8px;
    filter: brightness(0) invert(1);
}

.separator {
    margin: 0 12px;
    color: var(--primary-yellow);
    font-size: 16px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .app-container {
        padding: 15px;
    }
    
    .scrolling-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 10px;
    }
    
    .scrolling-text {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .scrolling-logo {
        height: 16px;
        width: 16px;
        margin: 0 6px;
    }
    
    
    .separator {
        margin: 0 10px;
        font-size: 14px;
    }
    
    .footer {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 5px;
    }
    
    .scrolling-text {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .scrolling-logo {
        height: 14px;
        width: 14px;
        margin: 0 4px;
    }
    
    
    .separator {
        margin: 0 8px;
        font-size: 12px;
    }
    
    .footer {
        height: 35px;
    }
}

.background-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
