/* /home/digigrid/public_html/css/index.css */
/* =========================
   Landing Page Intro
   ========================= */

.page-intro {
    margin: 0 auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    text-align: center;
}

.page-intro h1 {
    margin: 0 auto;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0078D4;
}

.intro-tagline {
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #444;
    max-width: 60ch;
    font-style: italic;
}

.columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.column {
    box-sizing: border-box;
}
.left-column {
    flex: 1;
    min-width: 400px;
}
.right-column {
    flex: 2;
    min-width: 400px;
}
.counts-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}
.counts-table th, .counts-table td {
    border: 1px solid #ddd;
    padding: 4px;
    text-align: left;
}
.counts-table th {
    background-color: #f2f2f2;
}



@media (max-width: 768px) {
    .page-intro {
        margin: 0 auto;
        padding-bottom: 0.75rem;
    }

    .page-intro h1 {
        font-size: 1.6rem;
    }

    .intro-tagline {
        font-size: 1rem;
        font-style: italic;
    }
}

@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }
    .left-column, .right-column {
        flex: 1;
        min-width: 100%;
    }
    .counts-table th, .counts-table td {
        font-size: 14px;
        padding: 6px;
    }
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding: 1rem;
}

.hero-cta {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    padding: 1.8rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(40,167,69,0.2);
}
.hero-cta h2 {
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  color:#00487F
}



.hero-cta h4 {
    margin: 0 auto;
    font-size: 1.7rem;
    font-weight: bold;
    color:#1a1a1a ;
}

.hero-cta p {
    margin: 0.5rem 0;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: black;
    font-weight: bold;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    margin: 1rem 0;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.login-link {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.live-stats, .quick-start, .trust-badge {
    background: #f8f9fa;
    padding: 1.4rem;
    border-radius: 12px;
    border: 3px solid #28a745;
}

.live-stats h3, .quick-start h3, .trust-badge h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: #1e7e34;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.8rem;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.4rem;
    color: #28a745;
}

.stat span {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-start ol {
    margin: 0;
    padding-left: 1.2rem;
}

.quick-start li {
    margin: 0.6rem 0;
    font-size: 0.95rem;
}

.trust-badge blockquote {
    margin: 0 0 1rem;
    padding: 0 0 0 1rem;
    border-left: 3px solid #28a745;
    font-style: italic;
    color: #444;
}

.trust-badge cite {
    display: block;
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

.badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.badges span {
    background: #e9f7ef;
    color: #28a745;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
/* === LEFT COLUMN SECTIONS === */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding: 1rem;
}

.rankings-section, .awards-section {
    background: #f8f9fa;
    padding: 1.4rem;
    border-radius: 12px;
    border: 3px solid #28a745;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rankings-section h2, .awards-section h2 {
    margin: 0 0 0.8rem;
    font-size: 1.3rem;
    color: #1e7e34;
    text-align: center;
    font-weight: 700;
}

.rankings-section h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: black;
    text-align: center;
    font-weight: 600;
}

/* Table inside sections */
.rankings-section .counts-table,
.awards-section .counts-table {
    margin: 0;
    font-size: 0.95rem;
}

.rankings-section .counts-table th,
.awards-section .counts-table th {
    background-color: #e9f7ef;
    color: #1e7e34;
    font-weight: 600;
}

.rankings-section .counts-table td,
.awards-section .counts-table td {
    padding: 0.6rem 0.4rem;
}

.live-ticker {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 90px;
}
.live-ticker-row {
    padding: 6px 4px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}
.live-ticker-row:last-child {
    border-bottom: none;
}
.live-ticker-row .lt-time {
    color: #888;
    margin-right: 6px;
}
.live-ticker-row .lt-station,
.live-ticker-row .lt-worked {
    font-weight: 700;
    color: #00487F;
}
.live-ticker-row .lt-band {
    font-weight: 600;
    color: #28a745;
}
.live-ticker-empty {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 10px 0;
}

@keyframes liveTickerFlash {
    0%   { background-color: #fff3a0; }
    100% { background-color: transparent; }
}
.live-ticker-new {
    animation: liveTickerFlash 3s ease-out;
}
/* Responsive */
@media (max-width: 768px) {
    .left-column, .right-column {
        padding: 0.8rem;
    }
    .rankings-section, .awards-section {
        padding: 1rem;
    }
    .rankings-section h2, .awards-section h2 {
        font-size: 1.2rem;
    }
}
