/*
Theme Name: Radio Portal
Theme URI: https://magiadigitalpy.com
Author: Magia Digital Py
Author URI: https://magiadigitalpy.com
Description: A custom radio portal theme with PWA-style player and directory features.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radio-portal
Tags: entertainment, music, pwa, streaming
*/

/* Reset & Variables */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #2d3436;
    --bg-color: #f5f6fa;
    --text-color: #2d3436;
    --card-bg: #ffffff;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    margin: 0;
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    margin-bottom: 30px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.site-logo {
    max-height: 50px;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.search-form {
    display: flex;
}

.search-field {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    outline: none;
}

.search-submit {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0 15px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

/* Filters */
.radio-filters {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Grid */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.radio-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.radio-card:hover {
    transform: translateY(-5px);
}

.radio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.radio-logo {
    height: 150px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.radio-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.radio-title {
    font-size: 1.1rem;
    margin: 15px;
    text-align: center;
}

.radio-meta {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: #fff;
    padding: 30px 0;
    margin-top: auto;
    text-align: center;
    color: #999;
}

/* Responsive */
@media (max-width: 600px) {
    .site-header .container {
        flex-direction: column;
    }
}