@font-face {
    font-family: 'ConcertOne';
    src: url('../assets/fonts/ConcertOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RetroGaming';
    src: url('./assets/fonts/RetroGaming.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GWTwoFont';
    src: url('../assets/fonts/GWTwoFont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Import component styles */
@import url('./components/song-selection.css');

body {
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-color: #000000;
    font-family: 'ConcertOne', Arial, sans-serif;
}

#app {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Game container styles */
#game-container {
    position: relative;
    overflow: hidden;
}

/* GW2 API Key Input Styles */
#gw2-api-key-input {
    font-family: 'Courier New', monospace !important;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

#gw2-api-key-input:focus {
    border-color: #888888 !important;
    box-shadow: 0 0 5px rgba(136, 136, 136, 0.3) !important;
    background-color: #2a2a2a !important;
}

#gw2-api-key-input::placeholder {
    color: #888888;
    font-style: italic;
}

#gw2-api-key-input:invalid {
    border-color: #ff4444 !important;
    box-shadow: 0 0 5px rgba(255, 68, 68, 0.3) !important;
}

/* Lane 9 Notation HTML Elements */
#lane9-notation-container {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lane9-notation {
    position: absolute;
    pointer-events: none;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
    /* Text outline for better visibility */
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
        1px 1px 0 #000, -2px 0 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000;
    /* Performance optimizations */
    transform-origin: center center;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* GPU acceleration for smooth movement */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Subpixel rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Prevent text rendering issues during transforms */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

.lane9-notation font {
    /* Ensure font tags inherit text shadow and maintain colors */
    text-shadow: inherit;
}
