/* =========================
   COLOR SYSTEM
   ========================= */
:root{
    --blue-bg-main: #000b3d;      /* page background */
    --blue-bg-header: #040424;    /* header / nav */
    --blue-bg-card: #010242;      /* cards / panels */

    --blue-accent: #2e109b;       /* hover / accent */

    --text-light: #ffffff;
    --text-muted: #ececee;
}

/* =========================
   GLOBAL RESET
   ========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Knewave", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* =========================
   GLOBAL BACKGROUND
   ========================= */
body{
    background-color: var(--blue-bg-main);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body:not(:has(.hero)){
    display: flex;
    flex-direction: column;
}

body:not(:has(.hero)) main, 
body:not(:has(.hero)) .main,
body:not(:has(.hero)) .page-header{
    flex: 1 0 auto;
}

body:not(:has(.hero)) .site-footer{
    flex-shrink: 0;
}

/* =========================
   HERO SECTION
   ========================= */
.hero{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(
        rgba(1,2,66,0.55),
        rgba(1,2,66,0.55)
    );
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   NAVIGATION
   ========================= */
header{
    background-color: var(--blue-bg-header);
    padding: 0;
    text-align: center;
}

nav{
    width: 100%;
    padding: 12px 8%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

nav .logo{
    width: 60px;
    height: 50px;
}

nav ul li{
    list-style: none;
    display: inline-block;
    margin: 40px;
}

nav ul li a{
    text-decoration: none;
    color: var(--text-light);
    font-size: 17px;
}

nav ul li a:hover{
    color: transparent;
    -webkit-text-stroke: 1px var(--blue-accent);
    transition: 0.5s;
}

/* =========================
   DROPDOWN MENU
   ========================= */
.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn{
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 17px;
    padding: 0;
}

.dropdown .dropbtn:hover{
    color: transparent;
    -webkit-text-stroke: 1px var(--blue-accent);
    transition: 0.5s;
}

.dropdown-content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 10px 0;
    background: var(--blue-bg-card);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    z-index: 9999;
}

.dropdown:hover .dropdown-content{
    display: block;
}

.dropdown-content a{
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
}

.dropdown-content a:hover{
    color: transparent;
    -webkit-text-stroke: 1px var(--blue-accent);
    transition: 0.3s;
}

/* =========================
   HERO CONTENT
   ========================= */
.content{
    text-align: center;
}

.content h1{
    font-size: 100px;
    margin-bottom: 10px;
}

.content a{
    text-decoration: none;
    display: inline-block;
    color: var(--text-light);
    font-size: 24px;
    border: 2px solid var(--blue-accent);
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}

.content a:hover{
    background-color: var(--blue-accent);
    transition: 0.5s;
}

/* =========================
   VIDEO BACKGROUND
   ========================= */
.back-video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@media (min-aspect-ratio: 16/9){
    .back-video{
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9){
    .back-video{
        width: auto;
        height: 100%;
    }
}

/* =========================
   PAGE HEADER
   ========================= */
.page-header{
    background-color: var(--blue-bg-header);
    padding: 40px 10%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-header h1{
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #a8c0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header p{
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* =========================
   PAGE SECTIONS
   ========================= */
.main{
    padding: 50px 10%;
    text-align: center;
}

.index-main{
    padding: 50px 10%;
    text-align: left;
}

.main h2, .index-main h2{
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a8c0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

/* =========================
   CARDS / STATS / CHANGELOG
   ========================= */
.stats-category{
    margin-top: 30px;
    padding: 15px;
    border-radius: 12px;
    background-color: var(--blue-bg-card);
    border: 1px solid rgba(255,255,255,0.18);
}

.stats-category h2{
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8c0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.stats-category ul{
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.stats-category li{
    margin: 14px 0;
    line-height: 1.5;
}

/* =========================
   STATS FORM
   ========================= */
#myForm{
    background: var(--blue-bg-card);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
}

#myForm label{
    display: block;
    font-size: 1.3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #a8c0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

#myForm input[type="text"]{
    width: 100%;
    max-width: 400px;
    padding: 14px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#myForm input[type="text"]:focus{
    outline: none;
    border-color: #a8c0ff;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 15px rgba(168, 192, 255, 0.3);
}

#myForm button{
    padding: 12px 40px;
    font-size: 1rem;
    background: linear-gradient(135deg, #2e109b 0%, #5a3dc9 100%);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#myForm button:hover{
    background: linear-gradient(135deg, #3f1dc9 0%, #6b4ee0 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(90, 61, 201, 0.4);
}

/* =========================
   STATS GRID
   ========================= */
.stats-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
}

.stat-card{
    padding: 14px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.12) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.stat-card:hover{
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.22) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168, 192, 255, 0.3);
    border-color: rgba(168, 192, 255, 0.5);
}

/* =========================
   PLAYER LIST
   ========================= */
.player-list-section{
    margin-top: 30px;
}

.player-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    min-height: 50px;
    align-items: center;
}

.player-name{
    padding: 6px 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.15);
}

.no-players{
    color: #999;
    font-style: italic;
}

/* =========================
   POTM
   ========================= */
.potm{
    padding: 20px;
    background-color: var(--blue-bg-card);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text-light);
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    margin: 30px 10%;
}

/* =========================
   CHANGELOG CLEANUP
   ========================= */
#changelog ul{
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

#changelog li{
    margin: 8px 0;
    line-height: 1.6;
    color: var(--text-muted);
}

.latest-badge{
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
}

/* =========================
   CHANGELOG PAGE OVERRIDES
   ========================= */
body.changelog-page{
    background-color: var(--blue-bg-main);
    color: var(--text-muted);
}

body.changelog-page .stats-category{
    background-color: var(--blue-bg-card);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

body.changelog-page .stats-category:hover{
    border-color: rgba(168, 192, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.changelog-page .stats-category h2{
    margin-bottom: 15px;
}

body.changelog-page .stats-category p{
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* =========================
   DOWNLOADS PAGE
   ========================= */
.downloads-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-item{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--blue-bg-card);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-item:hover{
    border-color: rgba(168, 192, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.download-icon{
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.download-content{
    flex: 1;
}

.download-content strong{
    font-size: 1.2rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.download-content p{
    color: var(--text-muted);
    margin: 8px 0;
    line-height: 1.5;
}

.download-link{
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2e109b 0%, #5a3dc9 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-link:hover{
    background: linear-gradient(135deg, #3f1dc9 0%, #6b4ee0 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(90, 61, 201, 0.4);
}

/* =========================
   ADMINS PAGE
   ========================= */

.admins-wrap{
    padding: 50px 10%;
    text-align: left;
}

.admins-section{
    margin-top: 30px;
}

.admins-wrap h2{
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8c0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    text-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.admin-level-description{
    text-align: center;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 0.95rem;
}

/* Flex container for admin cards */
.admins-flex{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

/* Admin card */
.admin-card{
    width: 260px;
    padding: 16px;
    border-radius: 16px;
    background-color: var(--blue-bg-card);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text-light);
}

/* Top row (pic + name) */
.admin-top{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* Profile picture placeholder */
.admin-pic{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
    display: grid;
    place-items: center;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Admin name */
.admin-name{
    margin: 0;
    font-size: 18px;
}

/* Motto */
.admin-motto{
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}


/* =========================
   FOOTER
   ========================= */
.site-footer{
    background-color: var(--blue-bg-header);
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
    margin-top: 60px;
    margin-left: -10%;
    margin-right: -10%;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-inner{
    padding: 0 10% 20px 10%;
}

.footer-inner p{
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

.footer-inner p:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-links a{
    color: #6fa8ff;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover{
    text-decoration: underline;
    color: var(--text-muted);
}

/* MAP UI */
.leaflet-map{
    width: 100%;
    height: 70vh;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    background-color: #324b55 !important;
}

.leaflet-map .leaflet-container {
    background-color: #324b55 !important;
}

.leaflet-map .leaflet-pane {
    background-color: #324b55 !important;
}

.map-toolbar{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.map-search{
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    outline: none;
    width: min(420px, 100%);
}

.map-filters{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    opacity: 0.95;
}

.map-btn{
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    cursor: pointer;
}

.map-btn:hover{
    background: rgba(255,255,255,0.14);
}

/* Legend */
.map-legend{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    opacity: 0.95;
}

.legend-item{
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Marker dots */
.marker-wrap{ background: transparent; border: 0; }

.dot{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.95);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.18);
}

.dot-bank  { background: #2ecc71; }  /* green */
.dot-owner { background: #f1c40f; }  /* yellow */
.dot-rent  { background: #3498db; }  /* blue */
.dot-owned { background: #e74c3c; }  /* red */

/* Leaflet popup font match */
.leaflet-popup-content{
    font-family: "Knewave", system-ui;
}
/* Prevent changelog flash while JS loads */
#changelog.is-loading{
    visibility: hidden;
}

#changelog.is-ready{
    visibility: visible;
}

/* Hide ONLY the changelog footer until content loads */
#changelog-footer{
    visibility: hidden;
}

#changelog-footer.footer-ready{
    visibility: visible;
}

/* =========================
   SWEETALERT2 CUSTOM STYLING
   ========================= */
.swal2-popup{
    background: var(--blue-bg-card) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px !important;
    color: var(--text-light) !important;
}

.swal2-title{
    color: var(--text-light) !important;
    font-family: "Knewave", system-ui !important;
}

.swal2-html-container{
    color: var(--text-muted) !important;
    font-family: "Knewave", system-ui !important;
}

.swal2-confirm{
    background: linear-gradient(135deg, #2e109b 0%, #5a3dc9 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 30px !important;
    font-family: "Knewave", system-ui !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover{
    background: linear-gradient(135deg, #3f1dc9 0%, #6b4ee0 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(90, 61, 201, 0.4) !important;
}

.swal2-icon.swal2-error{
    border-color: #e74c3c !important;
    color: #e74c3c !important;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line']{
    background-color: #e74c3c !important;
}

/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

/* Tablets and smaller */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 12px 5%;
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 10px 15px;
    }

    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hero section */
    .content h1 {
        font-size: 60px;
    }

    .content a {
        font-size: 20px;
        padding: 12px 50px;
    }

    /* Page header */
    .page-header {
        padding: 30px 5%;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Main sections */
    .main, .index-main {
        padding: 30px 5%;
    }

    .main h2, .index-main h2 {
        font-size: 1.8rem;
    }

    /* Stats grid - 2 columns on tablet */
    .stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    /* Forms */
    #myForm {
        padding: 20px;
    }

    #myForm input[type="text"] {
        max-width: 100%;
    }

    /* Map toolbar */
    .map-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .map-search {
        width: 100%;
    }

    .map-filters {
        flex-direction: column;
        gap: 8px;
    }

    /* Admin cards */
    .admins-flex {
        flex-direction: column;
        align-items: center;
    }

    .admin-card {
        width: 100%;
        max-width: 400px;
    }

    /* Downloads */
    .download-item {
        flex-direction: column;
        text-align: center;
    }

    /* Footer */
    .footer-inner {
        padding: 0 5% 20px 5%;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    /* Navigation - hamburger style */
    nav {
        padding: 10px 3%;
    }

    nav .logo {
        width: 50px;
        height: 42px;
    }

    nav ul li {
        margin: 8px 10px;
    }

    nav ul li a, nav .dropbtn {
        font-size: 15px;
    }

    /* Hero */
    .hero {
        padding: 0 3%;
    }

    .content h1 {
        font-size: 40px;
    }

    .content a {
        font-size: 18px;
        padding: 10px 40px;
    }

    /* Page header */
    .page-header {
        padding: 20px 3%;
    }

    .page-header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* Main sections */
    .main, .index-main {
        padding: 20px 3%;
    }

    .main h2, .index-main h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    /* Stats grid - single column on mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stat-card {
        padding: 12px 10px;
        font-size: 13px;
    }

    /* Forms */
    #myForm {
        padding: 15px;
    }

    #myForm label {
        font-size: 1.1rem;
    }

    #myForm input[type="text"] {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    #myForm button {
        padding: 10px 30px;
        font-size: 0.95rem;
    }

    /* Stats category */
    .stats-category {
        padding: 12px;
    }

    .stats-category h2 {
        font-size: 1.5rem;
    }

    /* Player list */
    .player-list {
        padding: 10px;
        gap: 6px;
    }

    .player-name {
        padding: 5px 10px;
        font-size: 13px;
    }

    /* POTM */
    .potm {
        margin: 20px 3%;
        padding: 15px;
    }

    /* Maps */
    .leaflet-map {
        height: 50vh;
        min-height: 300px;
    }

    .map-legend {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    /* Admin cards */
    .admin-card {
        width: 100%;
        padding: 14px;
    }

    .admin-name {
        font-size: 16px;
    }

    /* Downloads */
    .download-icon {
        font-size: 2rem;
    }

    .download-content strong {
        font-size: 1.1rem;
    }

    .download-content p {
        font-size: 0.9rem;
    }

    /* Footer */
    .site-footer {
        margin-top: 40px;
    }

    .footer-inner {
        padding: 0 3% 15px 3%;
    }

    .footer-inner p {
        font-size: 12px;
    }

    /* Changelog */
    .stats-category ul {
        padding-left: 15px;
    }

    .stats-category li {
        font-size: 14px;
        margin: 10px 0;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .content h1 {
        font-size: 32px;
    }

    .content a {
        font-size: 16px;
        padding: 8px 30px;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .main h2, .index-main h2 {
        font-size: 1.3rem;
    }

    nav ul li {
        margin: 6px 8px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    nav ul li a,
    nav .dropbtn,
    .download-link,
    .map-btn,
    #myForm button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Dropdown always visible on tap */
    .dropdown-content {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        margin-top: 5px;
        z-index: 10000;
    }

    /* Prevent hover effects on touch */
    .stat-card:hover,
    .download-item:hover,
    .admin-card:hover {
        transform: none;
    }
}
