/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    position: relative;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.5);
}

.main-content {
    flex: 1;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 80px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: #ddd;
}

/* Desktop Center Menu */
.desktop-center-menu {
    display: none;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
    width: 90%;
}

.desktop-center-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
}

.desktop-center-menu li {
    text-align: center;
}

.desktop-center-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    transition: all 0.3s;
    border-radius: 5px;
    font-size: 1rem;
}

.desktop-center-menu a:hover {
    background: rgba(29, 185, 84, 0.3);
    color: #1DB954;
}

.desktop-center-menu i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Mobile Footer Menu */
.mobile-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    display: none;
    padding: 10px 5px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.mobile-footer-menu ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-footer-menu li {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0 2px;
}

.mobile-footer-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    padding: 5px 2px;
    border-radius: 5px;
    transition: background 0.3s;
    height: 100%;
    justify-content: center;
}

.mobile-footer-menu a:hover {
    background: rgba(29, 185, 84, 0.3);
}

.mobile-footer-menu i {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.mobile-footer-menu span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: inline-block;
}

/* Radio Player */
.radio-player {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#play-stop-btn {
    background: #1DB954;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    min-width: 120px;
    justify-content: center;
}

#play-stop-btn:hover {
    background: #1ed760;
    transform: scale(1.05);
}

#play-stop-btn i {
    margin-right: 8px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
}

.volume-control i {
    font-size: 1.2rem;
}

.volume-control input[type="range"] {
    flex-grow: 1;
    height: 5px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #1DB954;
    border-radius: 50%;
    cursor: pointer;
}

/* Current Song */
.current-song {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.current-song h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#sonic_title {
    font-size: 1.1rem;
    color: #1DB954;
    min-height: 20px;
}

/* Radio History */
.radio-history {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.radio-history h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-history h3 i {
    color: #1DB954;
}

.history-content {
    line-height: 1.6;
}

.history-content p {
    margin-bottom: 10px;
}

/* Forms - Request and Contact */
.request-form,
.contact-form {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    transition: all 0.3s ease;
}

.request-form.active,
.contact-form.active {
    display: block;
}

.request-form h3,
.contact-form h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.request-form button,
.contact-form button {
    background: #1DB954;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.request-form button:hover,
.contact-form button:hover {
    background: #1ed760;
    transform: scale(1.02);
}

.contact-form-container {
    max-width: 500px;
    margin: 20px auto;
    background: #ffffffcc;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-form-container h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.contact-form-container .form-group {
    margin-bottom: 15px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 5px;
    color: #444;
    font-weight: bold;
}

.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #999;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-container button {
    background-color: #4e73df;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.contact-form-container button:hover {
    background-color: #2e59d9;
}

/* Responsive Design */
@media (min-width: 769px) {
    .desktop-center-menu {
        display: block;
    }
    
    header h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-footer-menu {
        display: flex;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .main-content {
        padding-bottom: 80px;
    }
    
    /* Better spacing for mobile menu items */
    .mobile-footer-menu a {
        padding: 8px 2px;
    }
    
    .mobile-footer-menu i {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .mobile-footer-menu span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .mobile-footer-menu span {
        font-size: 0.7rem;
    }
    
    .mobile-footer-menu i {
        font-size: 1.2rem;
    }
}