body {
    margin: 0;
    background-color: #000;
    color: #cfd2d6;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
  background-image: url("space4.gif");
  background-position: center center;
  background-repeat: repeat;
  color: white;

}

.whitebg
{
    background: white;
    color: black;
    border-radius: 4px;
    padding: 4px;
}

.main {
    width: 800px;
    padding: 20px;
    background-color: #001122;
    border: 1px solid #334455;
    border-radius: 4px;
}

.main h1 {
    font-size: 3rem;
}

.logo {
    max-width: 500px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Tabs */
.tab {
    display: none;
}

.tab.active {
    display: block;
}

.tab-nav {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-button {
    background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border: 2px solid #444;
    padding: 8px 16px;
    color: #cfd2d6;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover {
    border-color: #666;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    color: #fff;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tab-button.active {
    background: linear-gradient(145deg, #1a0a0a 0%, #2a1a1a 50%, #1a0a0a 100%);
    border-color: #ff0050;
    color: #ff0050;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 0, 80, 0.6);
    box-shadow: 
        0 0 15px rgba(255, 0, 80, 0.3),
        inset 0 1px 0 rgba(255, 0, 80, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 0, 80, 0.1) 0%, transparent 70%);
    border-radius: 2px;
    pointer-events: none;
}

.tab-button.active:hover {
    background: linear-gradient(145deg, #2a1a1a 0%, #3a2a2a 50%, #2a1a1a 100%);
    box-shadow: 
        0 0 20px rgba(255, 0, 80, 0.4),
        inset 0 1px 0 rgba(255, 0, 80, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

red { color: #f00; }
orange { color: #ff7f00; }

/* Links */
a {
    color: #ff0050;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Selection */
::selection {
    background: #ff0050;
    color: #000;
}

/* Player Styles */
.player-wrapper {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border: 2px solid #333;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    box-shadow: 
        0 0 20px rgba(255, 0, 80, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.player-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 80, 0.03) 0%, transparent 50%);
    border-radius: 6px;
    pointer-events: none;
}

.player-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.player-button {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #444;
    color: #ff0050;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 80px;
    text-shadow: 0 0 5px rgba(255, 0, 80, 0.5);
}

.player-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.2), transparent);
    transition: left 0.5s ease;
}

.player-button:hover {
    border-color: #ff0050;
    background: linear-gradient(145deg, #2a1a1a 0%, #1a0a0a 100%);
    box-shadow: 
        0 0 15px rgba(255, 0, 80, 0.3),
        inset 0 1px 0 rgba(255, 0, 80, 0.2);
    transform: translateY(-1px);
}

.player-button:hover::before {
    left: 100%;
}

.player-button:active {
    transform: translateY(0);
    box-shadow: 
        0 0 10px rgba(255, 0, 80, 0.4),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

#volume-slider {
    flex: 1;
    height: 6px;
    background: linear-gradient(90deg, #333 0%, #555 50%, #333 100%);
    border: 1px solid #444;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(145deg, #ff0050 0%, #cc0033 100%);
    border: 2px solid #000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 0 8px rgba(255, 0, 80, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 12px rgba(255, 0, 80, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(145deg, #ff0050 0%, #cc0033 100%);
    border: 2px solid #000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 0 8px rgba(255, 0, 80, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

#volume-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 12px rgba(255, 0, 80, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#volume-slider::-moz-range-track {
    height: 6px;
    background: linear-gradient(90deg, #333 0%, #555 50%, #333 100%);
    border: 1px solid #444;
    border-radius: 3px;
}

/* Visualizer styling */
.visualizer-container {
    margin: 16px 0;
    padding: 12px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 0, 80, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.visualizer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.visualizer-title {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ff0050;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.visualizer-toggle {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #444;
    color: #cfd2d6;
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    min-width: 40px;
}

.visualizer-toggle:hover {
    border-color: #ff0050;
    background: linear-gradient(145deg, #2a1a1a 0%, #1a0a0a 100%);
    color: #ff0050;
    box-shadow: 0 0 8px rgba(255, 0, 80, 0.3);
}


.visualizer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 0, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 80, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

#visualizer {
    width: 100%;
    height: 80px;
    display: block;
    border-radius: 4px;
    background: #000;
    border: 1px solid #222;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Status frame styling */
#status-frame {
    border: 1px solid #333 !important;
    border-radius: 4px;
    background: #0a0a0a;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}