:root {
    --primary-color: #2f63a0;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --container-bg: white;
    --border-radius: 8px;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-primary: 0 2px 4px rgba(47,99,160,0.3);
    --shadow-primary-hover: 0 6px 12px rgba(47,99,160,0.4);
}

body {
    font-family: 'Rajdhani', Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    background: var(--container-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: var(--primary-color);
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.header h1 img {
    display: block;
    margin: 15px auto 0;
    max-width: 300px;
    height: auto;
    border-radius: var(--border-radius);
}

.header h2 {
    color: #555;
    font-size: 1.5em;
    margin: 0;
    font-weight: 600;
}

.listen {
    margin: 30px 0;
}

.listen h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    font-weight: 700;
}

.stream-links {
    margin: 20px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.stream-links a {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    text-align: center;
    line-height: 1.3;
}

.stream-links a:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-hover);
}

.directory-section {
    margin-top: 30px;
}

.directory-section h3 {
    color: #666;
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: 500;
}

.twocolumns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.twocolumns li, .social-links li {
    margin: 0;
}

.twocolumns a {
    display: block;
    padding: 12px 15px;
    background: #e8f0fe;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.twocolumns a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(47,99,160,0.3);
}

.small-text {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 0.9em;
}

.social {
    margin: 30px 0;
}

.social h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    font-weight: 700;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-links a {
    display: block;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(47,99,160,0.3);
}

.social-links img {
    width: 32px;
    height: 32px;
    display: block;
    transition: filter 0.3s ease;
}

.social-links a:hover img {
    filter: brightness(0) invert(1);
}

/* Alternative: if some icons are already white, this ensures they all become white */
.social-links a:hover img[src*="ig-wb"],
.social-links a:hover img[src*="th-wb"],
.social-links a:hover img[src*="x-wb"],
.social-links a:hover img[src*="bluesky-wb"] {
    filter: none;
}

address {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    font-style: normal;
}

address a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

address a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.footer .small-text {
    background: none;
    border: none;
    padding: 10px 0;
    margin: 10px 0;
}

.spl-image {
    margin: 10px 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.spl-image:hover {
    opacity: 1;
}

/* OnlineRadioBox Player Styling */
.orbP {
    margin: 20px 0 !important;
}

@media (max-width: 600px) {
    .social-links {
        gap: 6px;
    }

    .social-links a {
        padding: 6px;
    }

    .social-links img {
        width: 24px;
        height: 24px;
    }

    .twocolumns {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .twocolumns a {
        padding: 10px 8px;
        font-size: 0.9em;
    }

    .header h1 {
        font-size: 2em;
    }

    .header h1 img {
        max-width: 250px;
    }

    .stream-links {
        flex-direction: column;
        gap: 10px;
    }

    .stream-links a {
        padding: 12px 15px;
        text-align: center;
        font-size: 1em;
        line-height: 1.4;
    }
}
