:root {
    --primary-red: #8B0000;
    --primary-dark: #2F2F2F;
    --accent-orange: #D2691E;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --light-tan: #F5DEB3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.95), rgba(139, 0, 0, 0.85)), 
                url('Images/WoodPlanksBare0067_5_S.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #FAF9F6;
    line-height: 1.6;
    overflow-x: hidden;
}

.header-container {
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(47,47,47,0.85) 100%);
    border-bottom: 4px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(139, 0, 0, 0.1);
}

.logo-section img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.6);
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

nav a:hover::before, nav a.active::before {
    transform: translateX(0);
}

nav a:hover {
    background: rgba(139, 0, 0, 0.2);
    color: var(--light-tan);
}

nav a.active {
    background: rgba(139, 0, 0, 0.3);
}

.contact-nav {
    background: var(--primary-red);
    padding: 1.2rem 1.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
}

.subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--light-tan);
    font-weight: 300;
}

/* TOP WINNERS SHOWCASE */
.top-winners-showcase {
    background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(139,0,0,0.9));
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 3px solid var(--gold);
}

.winners-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.winners-banner-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold);
    letter-spacing: 4px;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
}

.current-month-label {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--light-tan);
    letter-spacing: 2px;
    font-weight: 300;
}

.top-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.top-winner-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.top-winner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--accent-orange), var(--gold));
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.top-winner-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border-color: white;
}

.top-winner-trophy {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.top-winner-card:hover .top-winner-trophy {
    transform: scale(1.1);
}

.top-winner-award {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.top-winner-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.top-winner-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--light-tan);
    line-height: 1;
}

.year-selector {
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(47,47,47,0.85));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 2px solid rgba(139, 0, 0, 0.3);
}

.selector-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--light-tan);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.year-btn {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(165, 42, 42, 0.8));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem;
    border-radius: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.5);
    border-color: var(--gold);
}

.year-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--accent-orange));
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: scale(1.05);
}

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

.month-btn {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.6), rgba(165, 42, 42, 0.6));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.month-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.5);
    border-color: var(--gold);
}

.month-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--accent-orange));
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: scale(1.05);
}

.month-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-red), #A52A2A);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: var(--light-tan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.winners-section, .scores-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(47,47,47,0.8));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.scores-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(250,249,246,0.95));
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.table-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

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

.winner-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.winner-trophy {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.winner-badge {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.winner-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.winner-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.winner-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--light-tan);
    margin-top: 0.5rem;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box input {
    padding: 0.8rem 1.2rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

thead {
    background: linear-gradient(135deg, var(--primary-dark), #1a1a1a);
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

th:hover {
    background: rgba(255,255,255,0.1);
}

th.sortable::after {
    content: ' ⇅';
    opacity: 0.3;
}

th.sorted-asc::after {
    content: ' ↑';
    opacity: 1;
}

th.sorted-desc::after {
    content: ' ↓';
    opacity: 1;
}

tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f8f8f8;
}

tbody tr.top-3 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), transparent);
}

td {
    padding: 1rem;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.rank-cell {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.rank-1 { color: var(--gold); }
.rank-2 { color: var(--silver); }
.rank-3 { color: var(--bronze); }

.name-cell {
    font-weight: 600;
}

.award-badge {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.score-cell {
    font-weight: 600;
}

.round-cell {
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

.perfect-score {
    color: var(--primary-red);
    font-weight: 700;
}

footer {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-red);
}

footer p {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: white;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav a {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .contact-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    body { overflow-x: hidden; }
    .logo-section { padding: 1rem 0.5rem; }
    .logo-section img { max-height: 80px; }
    .contact-nav { width: 100%; justify-content: center; padding: 1rem; font-size: 0.75rem; }
    .content { padding: 0 1rem 2rem; margin: 1rem auto; }
    h1 { font-size: 2rem !important; letter-spacing: 2px !important; }
    .subtitle { font-size: 0.9rem !important; }
    .top-winners-showcase { padding: 1.5rem 1rem; border-radius: 15px; border-width: 2px; }
    .winners-banner-title { font-size: 1.8rem !important; }
    .current-month-label { font-size: 1rem !important; }
    .top-winners-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
    .top-winner-card { padding: 1.5rem 1rem; }
    .top-winner-trophy { max-width: 200px; }
    .top-winner-award { font-size: 1.4rem !important; }
    .top-winner-name { font-size: 1.2rem !important; }
    .top-winner-score { font-size: 2rem !important; }
    .year-selector { padding: 1.5rem 1rem; }
    .selector-title { font-size: 1.2rem !important; }
    .year-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important; gap: 0.75rem; }
    .year-btn { padding: 0.8rem 0.5rem !important; font-size: 1.2rem !important; }
    .month-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important; gap: 0.75rem; }
    .month-btn { padding: 0.8rem 0.5rem !important; font-size: 0.85rem !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem; }
    .stat-value { font-size: 2.5rem !important; }
    .stat-label { font-size: 0.8rem !important; }
    .winners-section { padding: 1.5rem 1rem; }
    .section-title { font-size: 1.5rem !important; }
    .winners-grid { grid-template-columns: 1fr !important; }
    .winner-trophy { max-width: 150px; }
    .scores-section { padding: 1.5rem 0.5rem; }
    .table-title { font-size: 1.8rem !important; }
    .search-box input { min-width: 100%; padding: 0.7rem 1rem; }
    th { padding: 0.6rem 0.3rem !important; font-size: 0.75rem !important; }
    td { padding: 0.6rem 0.3rem !important; font-size: 0.8rem !important; }
    .rank-cell { font-size: 1rem !important; }
    .score-cell { font-size: 0.9rem !important; }
    footer { padding: 1.5rem 1rem; }
    footer p { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem !important; }
    .winners-banner-title { font-size: 1.5rem !important; }
    .year-grid { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)) !important; }
    .year-btn { font-size: 1rem !important; }
    .month-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) and (orientation: landscape) {
    .top-winners-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (hover: none) and (pointer: coarse) {
    .year-btn, .month-btn, th { min-height: 44px; touch-action: manipulation; }
    nav a { min-height: 48px; touch-action: manipulation; }
}
    
.current-month-winners {
    display: none !important;
}

#winnersSection {
    display: none !important;
    visibility: hidden !important;
}

.award-cell {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
}

/* HIDE WINNERS SECTION COMPLETELY */
.current-month-winners {
    display: none !important;
    visibility: hidden !important;
}

.winners-section {
    display: none !important;
    visibility: hidden !important;
}

#winnersSection {
    display: none !important;
    visibility: hidden !important;
}

.award-cell {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
}

.contact-nav {
    padding: 0.8rem 1.5rem;
    text-align: center;
    background: rgba(139, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-nav span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-nav a:hover {
    color: var(--gold) !important;
}


/* Champions Gallery */
.champions-gallery {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.champion-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.champion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
}

.champion-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.champion-info {
    padding: 1.5rem;
    text-align: center;
}

.champion-award {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.champion-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

@media (max-width: 768px) {
    .champions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .champion-photo {
        height: 250px;
    }
}


/* ========================================
   MOBILE OPTIMIZATION
   ======================================== */

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 0;
    }
    
    nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .contact-nav {
        width: 100%;
        padding: 1rem;
        font-size: 0.75rem;
    }
}

/* Mobile Year/Month Selection */
@media (max-width: 768px) {
    .year-selector, .month-selector {
        padding: 1rem;
    }
    
    .selector-title {
        font-size: 1.2rem !important;
    }
    
    .year-grid, .month-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .year-btn, .month-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Mobile Statistics */
@media (max-width: 768px) {
    .statistics-section {
        padding: 1.5rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Mobile Table */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .scores-table {
        font-size: 0.85rem;
        min-width: 600px; /* Allows horizontal scroll */
    }
    
    .scores-table th,
    .scores-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .rank-cell {
        min-width: 40px;
    }
    
    .name-cell {
        min-width: 100px;
        font-size: 0.85rem;
    }
    
    .award-cell {
        min-width: 80px;
        font-size: 0.75rem;
    }
    
    .round-cell {
        min-width: 60px;
    }
    
    .score-cell {
        min-width: 60px;
        font-weight: 700;
    }
}

/* Mobile Page Header */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
}

/* Mobile Content Wrapper */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem;
    }
    
    .main-container {
        padding: 1rem 0;
    }
}

/* Mobile Section Titles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
        padding: 0.75rem 0;
    }
}

/* Mobile Logo */
@media (max-width: 768px) {
    .logo-section {
        padding: 1.5rem 1rem;
    }
    
    .logo-section img {
        max-height: 80px;
    }
}

/* Mobile Search */
@media (max-width: 768px) {
    #searchInput {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Hide scroll indicator on mobile for better UX */
@media (max-width: 768px) {
    .table-container::after {
        content: '← Swipe to see more →';
        display: block;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.5);
        font-style: italic;
    }
}

/* Smaller screens (phones in portrait) */
@media (max-width: 480px) {
    .year-grid, .month-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.9rem;
    }
    
    .champions-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .year-grid, .month-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch-friendly sizing */
@media (hover: none) and (pointer: coarse) {
    nav a,
    .year-btn,
    .month-btn {
        min-height: 48px; /* iOS/Android touch target minimum */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
