@charset "UTF-8";

/* ==================== MAIN MENU ==================== */
#cssmenu {
    background: #000000;
    border-top: 4px solid #cc0000;
    width: 990px;
    margin: 0 auto;
    position: relative;
    font-family: Calibri, Tahoma, Arial, sans-serif;
    z-index: 1000;
}

#cssmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#cssmenu > ul > li {
    position: relative;
}

/* Top Level Links */
#cssmenu > ul > li > a {
    color: #fff;
    padding: 13px 20px;
    display: block;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
    background: #cc0000;
}

/* ==================== SECOND LEVEL DROPDOWN ==================== */
#cssmenu ul ul {
    background: #b8b2b2;
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    display: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 6px 0;
    border-top: 3px solid #cc0000;
    text-align: left;
}

#cssmenu ul ul li a {
    color: #000;
    padding: 12px 20px;
    display: block;
    font-weight: 600;
    font-size: 14.5px;
    text-align: left;
}

#cssmenu ul ul li a:hover {
    background: #e0dcdc;
    color: #cc0000;
}

/* ==================== THIRD LEVEL DROPDOWN (Fixed) ==================== */
#cssmenu ul ul ul {
    background: #b8b2b2;
    position: absolute;
    top: 0;
    left: 100%;
    width: 260px;
    display: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 6px 0;
    border-top: 3px solid #cc0000;
    border-left: 3px solid #cc0000;
}

#cssmenu ul ul li {
    position: relative;
}

/* Show Second Level */
#cssmenu > ul > li:hover > ul {
    display: block;
}

/* Show Third Level */
#cssmenu ul ul li:hover > ul {
    display: block;
}

/* ==================== PURE CSS HAMBURGER ==================== */
#cssmenu .hamburger {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

#cssmenu .hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s;
}

#cssmenu .hamburger span:nth-child(1) { top: 0; }
#cssmenu .hamburger span:nth-child(2) { top: 10px; }
#cssmenu .hamburger span:nth-child(3) { top: 20px; }

#cssmenu .hamburger:hover span {
    background: #ff3333;
}

@media (max-width: 992px) {

    #cssmenu .hamburger {
        display: block !important;
    }

    #main-menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #000000;
        z-index: 1100;
        padding: 10px 0;
    }

    #main-menu.active {
        display: flex !important;
    }

    /* Centre second-level dropdowns */
    #cssmenu ul ul {
        position: absolute;
        top: 100%;
        left: 50% !important;
        transform: translateX(-50%);
        width: 260px;
        text-align: center;
        box-sizing: border-box;
    }	

    #cssmenu ul ul li a {
        text-align: center;
    }

    /* Third-level menus */
    #cssmenu ul ul ul {
        position: static;
        width: 100%;
        transform: none;
        left: auto;
    }

    #cssmenu ul ul ul li a {
        text-align: center;
    }
}
/* ==================== RESPONSIVE SOCIAL ICONS ==================== */
.social-icons {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icons img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.25s ease;
    object-fit: cover;
}

.social-icons img:hover {
    transform: scale(1.18);
    box-shadow: 0 6px 14px rgba(204, 0, 0, 0.5);
}

/* Smaller on mobile */
@media (max-width: 768px) {
    .social-icons img {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .social-icons img {
        width: 36px;
        height: 36px;
    }
    .social-icons {
        gap: 10px;
    }
}

/* ==========================
   Back To Top Button
   ========================== */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;              /* Hidden until user scrolls */
    z-index: 9999;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    transform: scale(1.15);
}

#top-icon {
    width: 60px;
    height: 60px;
    display: block;
    border-radius: 0.3em;       /* Matches your buttons */
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
}

#back-to-top:hover #top-icon {
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.5);
}

/* Mobile adjustment */
@media (max-width: 992px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

body {
	background-image: url(../../webpageimages/burried.png);
	font-family: Verdana, Geneva, sans-serif;
	text-align: center;
}


/* ==================== STATISTICS TABLES - 990px MAX WIDTH ==================== */

.stats-container {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Main Table Styling */
table {
    width: 100%;
    max-width: 990px;
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 15px;
    background: #1a1a1a;
    color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

table thead {
    background: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

table th,
table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #444;
}

table th {
    color: #00ccff;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

table th:hover {
    background: #444;
}

table tr:hover {
    background: #252525;
}

table td {
    vertical-align: middle;
}

/* Column Widths */
table th:first-child,
table td:first-child {          /* Rank */
    width: 55px;
    text-align: center;
}

table td:nth-child(2) {         /* Song */
    width: 38%;
    font-weight: 500;
    color: #fff;
}

table td:not(:nth-child(2)) {   /* All number columns */
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Highlight Top 5 - Red */
table.top5 tr:nth-child(-n+5) td:first-child {
    color: #ff2222;
    font-size: 1.1em;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 990px) {
    .stats-container,
    table {
        max-width: 100%;
    }
    table {
        font-size: 14px;
    }
    table th,
    table td {
        padding: 10px 8px;
    }
}

table th {
    cursor: pointer;
    user-select: none;
}

/* Default state */
table th::after {
    content: " ↕";
    color: #aaa;
    font-size: 11px;
}

/* Sorted ascending */
table th.asc::after {
    content: " ▲";
    color: #fff;
}

/* Sorted descending */
table th.desc::after {
    content: " ▼";
    color: #fff;
}

table.top5 th:first-child::after {
    content: "";
}

/* Centre Rank and numeric column headers */
table th:first-child {
    text-align: center;
}

table th:not(:first-child):not(:nth-child(2)) {
    text-align: center;
}

.livedebuts th:nth-child(3),
.livedebuts td:nth-child(3),
.livedebuts th:nth-child(4),
.livedebuts td:nth-child(4) {
    text-align: left !important;
}

.livedebuts th:nth-child(1),
.livedebuts td:nth-child(1) {
    width: 30%;
    text-align: left;
}

.livedebuts th:nth-child(2),
.livedebuts td:nth-child(2) {
    width: 20%;
}

.livedebuts th:nth-child(3),
.livedebuts td:nth-child(3) {
    width: 20%;
}

.livedebuts th:nth-child(4),
.livedebuts td:nth-child(4) {
    width: 30%;
}

/* Zebra Striping */
table tbody tr:nth-child(even) {
    background: #1f1f1f;
}

/* Table Title - Changed to WHITE */
.table-title {
    font-size: 1.45em;
    margin: 35px 0 12px 0;
    color: #ffffff;           /* White */
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    max-width: 990px;
    margin-left: auto;
    margin-right: auto;
}

.table-subtitle {
    font-size: 0.70em;
    margin: 35px 0 12px 0;
    color: #ffffff;           /* White */
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    max-width: 990px;
    margin-left: auto;
    margin-right: auto;
}

.main-wrapper {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 10px;
}

a:link {
	color: #FFF;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #FFF;
}
a:hover {
	text-decoration: underline;
	color: #F00;
}
a:active {
	text-decoration: none;
	font-size: 10px;
}

/* Fact Box */

.fact-box {
    max-width: 990px;
    margin: 15px auto;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ddd;
}

.fact-box h2 {
    margin: 0 0 10px 0;
    text-align: center;
    color: #00ccff;
    font-size: 0.95em;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.fact-grid div {
    background: #252525;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.3;
	font-size: 0.95em;
}

.fact-grid strong {
    display: block;
    color: #ffffff;
    margin-bottom: 2px;
    font-size: 0.75em;
}

.fact-value {
    display: block;
    font-size: 0.80em;
}
/* Mobile */

@media (max-width: 768px) {
    .fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fact-grid {
        grid-template-columns: 1fr;
    }
}

