/*
Theme Name: Radio Tuner Preview
Theme URI: https://codecanyon.net/item/premium-radio-tuner-with-equalizer/
Author: MecoNata
Author URI: https://codecanyon.net/user/meconata
Description: Preview theme matching the Radio Tuner WordPress plugin demo layout.
Version: 1.0.0
License: GPLv2 or later
Text Domain: radio-tuner-preview
*/

:root {
    --bg: #09090e;
    --surface: #12121a;
    --border: rgba(255, 255, 255, 0.06);
    --accent: #ff6f00;
    --accent-hover: #e06200;
    --text: #f3f4f6;
    --text-muted: #9ca3af;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.header {
    border-bottom: 1px solid var(--border);
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* Swappable Container */
#content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 200px; /* Space for the bottom player */
}

.hero {
    max-width: 900px;
    margin: 4rem auto 2rem auto;
    text-align: center;
    padding: 0 2rem;
}
.hero h1 { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.hero p { color: var(--text-muted); font-size: 1.125rem; margin: 0 auto 2rem auto; }

/* About Page Hero Adjustments */
.about-page .hero {
    margin: 3rem auto;
}
.about-page .hero h1 {
    font-size: 2.5rem;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}
.card h2 { font-family: 'Outfit', sans-serif; color: #fff; margin-bottom: 1rem; font-size: 1.35rem; }
.card p { color: var(--text-muted); font-size: 0.9375rem; }

.embed-box {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    color: #38bdf8;
    overflow-x: auto;
    margin-top: 1rem;
}
.step-list {
    margin-left: 1.5rem;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.step-list li { margin-bottom: 0.5rem; }

/* Info Cards on About Page */
.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}
.info-card h2 { font-family: 'Outfit', sans-serif; color: #fff; margin-bottom: 1.25rem; font-size: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 0.5rem; }
.info-card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 1rem; }
.info-card ul { margin-left: 1.5rem; color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 1rem; }
.info-card li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Custom demo overrides to replace inline styles */
.nav-links a.nav-admin-link {
    color: var(--accent) !important;
}
.nav-links a.nav-admin-link .admin-icon {
    font-size: 10px;
}
.accent-icon {
    color: var(--accent) !important;
    margin-right: 6px;
}
.card-guide {
    margin-bottom: 4rem;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

/* Compatibility bullets list styling */
.compatibility-bullets {
    list-style: none;
    text-align: left;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.compatibility-bullets li {
    font-size: 1rem;
    color: var(--text);
    position: relative;
    padding-left: 1.75rem;
}
.compatibility-bullets li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
