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

body {
	background-color: #010a12;
	font-family: 'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
	color: #e6f7ff;
	overflow-x: auto;
}

.oceanic-database {
	background: radial-gradient(circle at 20% 30%, #02131e, #01070c);
	min-height: 100vh;
}

/* HEADER GRAPHIC: no bottom line */
.logo-header {
	text-align: center;
	padding: 2rem 1rem 1rem;
	background: rgba(1, 10, 18, 0.65);
	backdrop-filter: blur(4px);
	border-bottom: none;
}
.logo-header img {
	width: 80%;
	max-width: 500px;
	height: auto;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
	transition: transform 0.2s;
	display: block;
	margin: 0 auto;
}
.logo-header img:hover {
	transform: scale(1.01);
}

.container-wide {
	max-width: 1600px;
	margin: 0 auto;
	padding: 1.8rem 2rem 3rem;
}

/* INFO BAR */
.info-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.2rem;
	margin-bottom: 2rem;
	background: rgba(8, 28, 40, 0.6);
	backdrop-filter: blur(8px);
	padding: 1.2rem 1.8rem;
	border-radius: 2rem;
	border: 1px solid rgba(184, 214, 245, 0.2);
}
.date-lorem {
	flex: 2;
	min-width: 200px;
}
.last-updated {
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	color: #B8D6F5;
	margin-bottom: 0.5rem;
	display: inline-block;
	background: rgba(0,0,0,0.4);
	padding: 0.2rem 0.8rem;
	border-radius: 2rem;
}
.lorem-text {
	font-size: 0.85rem;
	line-height: 1.45;
	color: #cbe4f5;
	opacity: 0.9;
	max-width: 550px;
}
.search-box {
	flex: 1;
	min-width: 220px;
}
.insta-search {
	width: 100%;
	background: rgba(0, 20, 30, 0.8);
	border: 1px solid #2a5f7a;
	padding: 0.7rem 1rem;
	border-radius: 2.5rem;
	font-family: 'Inter', monospace;
	font-size: 0.9rem;
	color: #f0fcff;
	outline: none;
	transition: all 0.2s;
}
.insta-search:focus {
	border-color: #B8D6F5;
	box-shadow: 0 0 0 2px rgba(184,214,245,0.3);
	background: #03161f;
}
.insta-search::placeholder {
	color: #3c6e90; 
}

/* ROTATION SECTIONS */
.rotation-section {
	margin-bottom: 1.2rem;
	background: rgba(5, 20, 28, 0.4);
	border-radius: 1.8rem;
	backdrop-filter: blur(2px);
	overflow-x: auto;
}

/* SECTION HEADERS: centered, larger text */
.section-title {
	font-family: 'Helvetica Neue', 'Helvetica', 'Inter', sans-serif;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.3px;
	padding: 0.8rem 1.5rem 0.4rem 1.5rem;
	text-align: center;
	width: 100%;
	background: rgba(0, 20, 30, 0.3);
	border-radius: 1.8rem 1.8rem 0 0;
}
.title-outline {
	font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
	font-weight: 900;
	-webkit-text-stroke: 1px #ffffff;
	color: transparent;
	text-shadow: none;
}
.title-white {
	color: #ffffff;
	font-weight: 600;
}

/* TABLE: adjusted column widths (Artist narrower, Title wider) */
.data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	table-layout: fixed;
}
.data-table th:nth-child(1) { width: 3%; }   /* Note column - arrow */
.data-table th:nth-child(2) { width: 28%; }  /* Artist */
.data-table th:nth-child(3) { width: 40%; }  /* Title */
.data-table th:nth-child(4) { width: 9%; }   /* Year */
.data-table th:nth-child(5) { width: 9%; }  /* Nation (IOC) */
.data-table th:nth-child(6) { width: 11%; }  /* Date Added */

.data-table th {
	text-align: left;
	padding: 0.35rem 0.5rem;
	background: rgba(0, 25, 35, 0.7);
	font-weight: 600;
	color: #cae9ff;
	cursor: pointer;
	user-select: none;
	transition: background 0.2s;
	border-bottom: none;
	font-size: 0.8rem;
}
.data-table th:hover {
	background: rgba(184, 214, 245, 0.2);
	color: white;
}
/* sorting arrows: decreased opacity */
.data-table th i {
	margin-left: 0.4rem;
	font-size: 0.7rem;
	opacity: 0.45;
	color: #7ca5c0;
}
/* First column (Note) th: flush left with 12px left padding */
.data-table th:first-child {
	padding-left: 12px;
	text-align: left;
}
.data-table td {
	padding: 0.35rem 0.5rem;
	border-bottom: 1px solid rgba(72, 120, 140, 0.3);
	vertical-align: middle;
	word-wrap: break-word;
}
/* First column cells also get left padding */
.data-table td:first-child {
	padding-left: 12px;
}
.data-table tr {
	transition: background 0.15s;
}
.data-table tr:hover {
	background: rgba(184, 214, 245, 0.08);
}

/* Note column styling: no background, clean numbers + badges */
.chart-note {
	font-weight: 700;
	font-family: monospace;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	font-size: 0.85rem;
	padding: 2px 0;
}
.badge-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 10px;
	vertical-align: middle;
}
.badge-new {
	background-color: #2dd4bf;
	box-shadow: 0 0 4px #2dd4bf;
}
.badge-leaving {
	background-color: #f97316;
	box-shadow: 0 0 4px #f97316;
}

/* Title cell: white on hover, no underline */
.title-cell {
	cursor: pointer;
	transition: color 0.2s;
}
.title-cell:hover {
	color: #ffffff;
	text-decoration: none;
}
.artist-name {
	font-weight: 500;
}

/* RESPONSIVE: hide Date Added column on smaller screens */
@media (max-width: 800px) {
	.data-table th:nth-child(6),
	.data-table td:nth-child(6) {
		display: none;
	}
	.data-table th:nth-child(1) { width: 7%; }
	.data-table th:nth-child(2) { width: 30%; }
	.data-table th:nth-child(3) { width: 37%; }
	.data-table th:nth-child(4) { width: 13%; }
	.data-table th:nth-child(5) { width: 13%; }
}

@media (max-width: 1000px) {
	.container-wide {
		padding: 1rem;
	}
	.section-title {
		font-size: 1.6rem;
	}
	.data-table th, .data-table td {
		padding: 0.3rem 0.4rem;
		font-size: 0.75rem;
	}
	.data-table th:first-child {
		padding-left: 8px;
	}
	.data-table td:first-child {
		padding-left: 8px;
	}
	.info-bar {
		flex-direction: column;
	}
}

@media (max-width: 700px) {
	.data-table {
		font-size: 0.7rem;
	}
	.section-title {
		font-size: 1.2rem;
	}
}

footer {
	text-align: center;
	padding: 2rem 1rem 1.5rem;
	font-size: 0.9rem;
	color: #4c7a8f;
	border-top: 0px;
	margin-top: 2rem;
}
.footer-inline-insert {
	color: #B8D6F5;
	font-weight: 500;
}