/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #2d5016 0%, #1a3009 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
}

/* Header - Forest Green with Gold Accents */
header {
    background: linear-gradient(135deg, #1a3009 0%, #2d5016 50%, #1a3009 100%);
    padding: 1.5rem;
    position: relative;
    border-bottom: 4px solid #f0b429;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Compass Icon */
.compass-icon {
    position: relative;
    width: 60px;
    height: 60px;
}

.compass-ring {
    width: 60px;
    height: 60px;
    border: 5px solid #f0b429;
    border-radius: 50%;
    position: absolute;
    background: #1a3009;
    box-shadow: 0 0 15px rgba(240, 180, 41, 0.4);
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 35px;
    background: linear-gradient(180deg, #ff4444 50%, #ffffff 50%);
    transform: translate(-50%, -50%) rotate(-30deg);
    border-radius: 3px;
    z-index: 1;
}

.logo-text {
    text-align: left;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f0b429;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 20px rgba(240, 180, 41, 0.3);
}

.tagline {
    font-size: 0.95rem;
    color: #a8d86e;
    font-weight: 500;
    letter-spacing: 1px;
}

.badge-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.badge {
    background: linear-gradient(135deg, #f0b429 0%, #d4940c 100%);
    color: #1a3009;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(240, 180, 41, 0.5);
    border: 2px solid #ffe066;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Intro Section */
.intro-section {
    margin-bottom: 2rem;
}

.intro-card {
    background: linear-gradient(135deg, #4a7f23 0%, #3d6b1c 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 3px solid #f0b429;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.intro-card h2 {
    color: #f0b429;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.intro-card p {
    color: #e8f5d6;
    line-height: 1.7;
    font-size: 1.05rem;
}

.intro-card p strong {
    color: #ffe066;
}

/* Mission Section */
.mission-section {
    margin-bottom: 2rem;
}

.mission-card {
    background: linear-gradient(135deg, #3d6b1c 0%, #2d5016 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 6px solid #f0b429;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 2px solid #4a7f23;
}

.mission-card h2 {
    color: #f0b429;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.mission-card p {
    color: #c8e6a0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Field Radio - Now Playing */
.now-playing-radio {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.field-radio {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 4px solid #4a7f23;
}

.radio-label {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #a8d86e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.radio-screen {
    background: #0a1205;
    border-radius: 12px;
    padding: 1.2rem;
    border: 3px solid #2d5016;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.screen-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.signal-strength {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.signal-label {
    font-size: 0.65rem;
    color: #a8d86e;
    margin-right: 8px;
    font-weight: 600;
}

.signal-bar {
    width: 6px;
    background: #1a3009;
    border-radius: 2px;
}

.signal-bar:nth-child(2) { height: 8px; }
.signal-bar:nth-child(3) { height: 12px; }
.signal-bar:nth-child(4) { height: 16px; }
.signal-bar:nth-child(5) { height: 20px; }
.signal-bar:nth-child(6) { height: 24px; }

.signal-bar.active {
    background: #7ed321;
    box-shadow: 0 0 8px rgba(126, 211, 33, 0.6);
}

.station-display {
    text-align: center;
    padding: 0.5rem 0;
}

.status-label {
    display: block;
    font-size: 0.75rem;
    color: #6a9f3a;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.status-label.live {
    color: #7ed321;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.station-name {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #7ed321;
    text-shadow: 0 0 15px rgba(126, 211, 33, 0.5);
    margin-bottom: 0.3rem;
}

.freq-display {
    display: block;
    font-size: 0.9rem;
    color: #a8d86e;
    font-family: monospace;
    font-weight: 600;
}

.audio-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 28px;
}

.viz-bar {
    width: 8px;
    height: 5px;
    background: #7ed321;
    border-radius: 2px;
}

.audio-visualizer.active .viz-bar {
    animation: visualize 0.4s ease-in-out infinite;
}

.viz-bar:nth-child(1) { animation-delay: 0s; }
.viz-bar:nth-child(2) { animation-delay: 0.1s; }
.viz-bar:nth-child(3) { animation-delay: 0.05s; }
.viz-bar:nth-child(4) { animation-delay: 0.15s; }
.viz-bar:nth-child(5) { animation-delay: 0.08s; }
.viz-bar:nth-child(6) { animation-delay: 0.12s; }
.viz-bar:nth-child(7) { animation-delay: 0.03s; }
.viz-bar:nth-child(8) { animation-delay: 0.18s; }

@keyframes visualize {
    0%, 100% { height: 5px; }
    50% { height: 22px; }
}

.radio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.2rem;
}

.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f0b429 0%, #d4940c 100%);
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid #ffe066;
}

.control-btn:hover {
    background: linear-gradient(135deg, #ffe066 0%, #f0b429 100%);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.1rem;
    color: #1a3009;
}

.btn-label {
    font-size: 0.65rem;
    color: #1a3009;
    letter-spacing: 1px;
    font-weight: 700;
}

.volume-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.vol-label {
    font-size: 0.65rem;
    color: #a8d86e;
    letter-spacing: 1px;
    font-weight: 600;
}

.volume-knob {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, #4a4a4a 0%, #2a2a2a 100%);
    border-radius: 50%;
    border: 3px solid #5a5a5a;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.knob-marker {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: #f0b429;
    border-radius: 2px;
}

/* Field Station Section */
.field-station-section {
    margin-bottom: 2rem;
}

.field-station-card {
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 3px solid #4a7f23;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.field-station-card h2 {
    color: #f0b429;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.field-station-intro {
    color: #a8d86e;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.setup-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.setup-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(45, 80, 22, 0.4);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #4a7f23;
}

.setup-icon {
    font-size: 1.5rem;
}

.setup-item span:last-child {
    color: #c8e6a0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* How To Section */
.how-to-section {
    margin-bottom: 2rem;
}

.how-to-card {
    background: linear-gradient(135deg, #3d6b1c 0%, #2d5016 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 3px solid #f0b429;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.how-to-card h2 {
    color: #f0b429;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.how-to-list {
    color: #c8e6a0;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.how-to-list li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-size: 1rem;
}

.how-to-list li strong {
    color: #ffe066;
}

.how-to-tip {
    background: rgba(240, 180, 41, 0.15);
    border-left: 4px solid #f0b429;
    padding: 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
    color: #ffe066;
    font-size: 0.9rem;
    font-style: italic;
}

/* Info Banner */
.info-banner {
    margin-bottom: 2rem;
}

.info-banner-content {
    background: linear-gradient(135deg, #3d6b1c 0%, #2d5016 100%);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid #4a7f23;
}

.info-icon {
    font-size: 2rem;
}

.info-text {
    font-size: 0.95rem;
    color: #c8e6a0;
    line-height: 1.5;
}

.info-text strong {
    color: #f0b429;
}

/* Stations Section */
.stations-section {
    margin-bottom: 2.5rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.region-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4a7f23 0%, #3d6b1c 100%);
    color: #ffe066;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    border: 1px solid #6a9f3a;
}

.region-badge.danger {
    background: linear-gradient(135deg, #d9534f 0%, #c9302c 100%);
    color: #fff;
    border-color: #e66a66;
}

.section-header h2 {
    font-size: 1.6rem;
    color: #f0b429;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.section-desc {
    color: #a8d86e;
    font-size: 0.95rem;
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}

.radio-card {
    max-width: 350px;
}

/* Radio Cards */
.radio-card {
    background: linear-gradient(145deg, #3d6b1c 0%, #2d5016 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #4a7f23;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.radio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: #f0b429;
}

.radio-card.playing {
    border-color: #7ed321;
    box-shadow: 0 0 25px rgba(126, 211, 33, 0.4);
}

.alert-card {
    background: linear-gradient(145deg, #8b3a36 0%, #6b2a26 100%);
    border-color: #d9534f;
}

.alert-card:hover {
    border-color: #ff6b6b;
}

.card-header {
    background: linear-gradient(135deg, #1a3009 0%, #2d5016 100%);
    padding: 0.7rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #4a7f23;
}

.card-freq {
    font-family: monospace;
    font-size: 0.9rem;
    color: #7ed321;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(126, 211, 33, 0.5);
}

.alert-card .card-header {
    background: linear-gradient(135deg, #6b2a26 0%, #8b3a36 100%);
    border-bottom-color: #d9534f;
}

.alert-card .card-freq {
    color: #ff8888;
    text-shadow: 0 0 8px rgba(255, 136, 136, 0.5);
}

.card-callsign {
    font-size: 0.75rem;
    color: #a8d86e;
    background: rgba(0,0,0,0.3);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.alert-card .card-callsign {
    color: #ffcccc;
}

.card-body {
    padding: 1.2rem;
}

.card-body h3 {
    font-size: 1.15rem;
    color: #ffe066;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.alert-card .card-body h3 {
    color: #ffcccc;
}

.card-body p {
    font-size: 0.9rem;
    color: #a8d86e;
    margin-bottom: 1rem;
}

.alert-card .card-body p {
    color: #ffb3b3;
}

.tune-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #f0b429 0%, #d4940c 100%);
    border: 2px solid #ffe066;
    border-radius: 8px;
    color: #1a3009;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tune-btn:hover {
    background: linear-gradient(135deg, #ffe066 0%, #f0b429 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(240, 180, 41, 0.4);
}

.alert-card .tune-btn {
    background: linear-gradient(135deg, #e05550 0%, #c9302c 100%);
    color: #fff;
    border-color: #ff8888;
}

.alert-card .tune-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e05550 100%);
}

/* Skills Section */
.skills-section {
    margin-bottom: 2.5rem;
}

.skills-section h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #f0b429;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.skill-card {
    background: linear-gradient(145deg, #3d6b1c 0%, #2d5016 100%);
    border: 3px solid #f0b429;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: #ffe066;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.1rem;
    color: #ffe066;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.skill-card p {
    font-size: 0.9rem;
    color: #c8e6a0;
    line-height: 1.6;
}

/* Emergency Section */
.emergency-section {
    margin-bottom: 2rem;
}

.emergency-card {
    background: linear-gradient(145deg, #6b2a26 0%, #4d1f1c 100%);
    border: 3px solid #d9534f;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(217, 83, 79, 0.3);
}

.emergency-card h2 {
    color: #ff8888;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.term {
    background: rgba(0,0,0,0.3);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #8b4a47;
}

.term strong {
    display: block;
    color: #ff8888;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.term p {
    color: #ffcccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a3009 0%, #0d1804 100%);
    padding: 2rem;
    text-align: center;
    border-top: 4px solid #f0b429;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: #f0b429;
}

.footer-icon {
    font-size: 1.8rem;
}

.footer-tagline {
    color: #a8d86e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.copyright {
    color: #6a9f3a;
    font-size: 0.85rem;
}

.copyright a {
    color: #f0b429;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-about {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #4a7f23;
}

.footer-about p {
    color: #a8d86e;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.footer-about .contact-line {
    color: #6a9f3a;
}

.footer-about .contact-line a {
    color: #f0b429;
    text-decoration: none;
}

.footer-about .contact-line a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-text {
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .stations-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }

    .field-radio {
        padding: 1rem;
    }

    .station-name {
        font-size: 1.2rem;
    }

    .info-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading state */
.tune-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}
