* {
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    background-image:
        linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: 'Verdana', sans-serif;
    color: #ccc;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Splash Screen (Intro) */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    /* On top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.splash-content {
    text-align: center;
    border: 2px solid #333;
    padding: 40px;
    border-radius: 10px;
    background: radial-gradient(circle, #222 0%, #000 100%);
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.2);
}

#start-btn {
    background: #00ff00;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#start-btn:hover {
    background: #fff;
    box-shadow: 0 0 20px #fff;
    transform: scale(1.05);
}

/* Header & Logo */
.retro-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    width: 100%;
    background: #000;
    border-bottom: 2px solid #333;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.logo {
    font-family: 'Arial Black', sans-serif;
    font-size: 32px;
    letter-spacing: -1px;
}

.neon-text {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.white-text {
    color: #fff;
    font-style: italic;
}

.winamp-text {
    color: #ffcc00;
    /* Winamp lightning yellow */
    text-shadow: 2px 2px 0px #990000;
}

.sub-logo {
    font-size: 12px;
    color: #666;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Player Container */
#app-container {
    /* Simple container used in early version */
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Controls & Selector */
.controls-container {
    background: #222;
    border: 1px solid #444;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
    margin-bottom: 30px;
}

.skin-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.skin-selector select {
    padding: 5px;
    background: #000;
    color: #0f0;
    border: 1px solid #0f0;
    font-family: 'Courier New', monospace;
    max-width: 250px;
}

.skin-selector button {
    background: #333;
    color: #fff;
    border: 1px solid #666;
    padding: 5px 15px;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: bold;
}

.skin-selector button:hover {
    background: #444;
    border-color: #fff;
}

/* SEO Content */
.seo-content {
    max-width: 800px;
    padding: 20px;
    text-align: center;
    line-height: 1.6;
    color: #aaa;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 40px;
}

.seo-content h2 {
    color: #ffcc00;
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    font-size: 10px;
    color: #999;
    padding: 20px;
    margin-top: auto;
    text-align: center;
    width: 100%;
}

/* Skin Creator */
.skin-creator-box {
    background: #222;
    border: 1px solid #ffcc00;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    max-width: 600px;
    width: 90%;
    color: #ccc;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

.skin-creator-box h3 {
    color: #ffcc00;
    margin-top: 0;
}

.input-group {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.input-group label {
    font-size: 0.9em;
    color: #aaa;
}

.input-group input {
    background: #000;
    color: #fff;
    border: 1px solid #444;
}

.creator-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.creator-actions button {
    background: #000;
    border: 1px solid #ffcc00;
    color: #ffcc00;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.creator-actions button:hover {
    background: #ffcc00;
    color: #000;
}

#creator-status {
    margin-top: 10px;
    font-size: 0.8em;
    color: #888;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #app-container {
        height: auto;
        min-height: 350px;
    }

    .logo {
        font-size: 24px;
    }

    .skin-selector {
        flex-direction: column;
        width: 100%;
    }

    .skin-selector select {
        max-width: 100%;
        width: 100%;
    }

    #webamp {
        position: absolute !important;
    }
}