﻿/* ============================================
   FISH COUNTS PAGE — PREMIUM GLASS CARDS
   Applies ONLY to fish-counts.php
============================================ */

/* WRAPPER */
.counts-grid-wrapper {
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

/* GRID */
#counts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.7rem;
    margin-top: 1.5rem;
    animation: fadeIn 0.6s ease-out;
}

/* CARD */
#counts-grid .count-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    animation: cardFloat 0.6s ease-out both;
}

/* Slight stagger animation */
#counts-grid .count-card:nth-child(1) { animation-delay: 0.05s; }
#counts-grid .count-card:nth-child(2) { animation-delay: 0.15s; }
#counts-grid .count-card:nth-child(3) { animation-delay: 0.25s; }
#counts-grid .count-card:nth-child(4) { animation-delay: 0.35s; }
#counts-grid .count-card:nth-child(5) { animation-delay: 0.45s; }

/* Hover effect */
#counts-grid .count-card:hover {
    transform: translateY(-6px);
    border-color: #34d399;
    box-shadow: 0 10px 28px rgba(0,0,0,0.32);
}

/* ICON */
.count-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.8rem auto;
    color: #34d399;
    opacity: 0.95;
}

/* LABEL */
#counts-grid .count-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    opacity: .95;
    margin-bottom: .45rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: .4px;
}

/* VALUE */
#counts-grid .count-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #34d399;
    opacity: 1;
    text-shadow: 0 0 18px rgba(52,211,153,0.45);
    margin-top: 0.25rem;
    margin-bottom: 0.1rem;
}

/* OPTIONAL SUBTEXT (trend placeholder) */
.count-sub {
    font-size: .85rem;
    opacity: 0.65;
    margin-top: .4rem;
}

/* MOBILE */
@media (max-width: 600px) {
    #counts-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    #counts-grid .count-card {
        padding: 1.4rem;
    }

    #counts-grid .count-number {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes cardFloat {
    0% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}