@import url('https://fonts.googleapis.com/css2?family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

/* Announcement Settings */
/* Original

.announcement {
	position: relative;
	background: #ff0000;
	background: linear-gradient(90deg, #ffcc00, #ff0000);
	color: #000;
	font-weight: bold;
	text-align: center;
	padding: 12px;
	font-size: 1.1em;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;

}
.announcement:before {
	content: "🚨 Attention: The website is still a work-in-progress! Any advice is appreciated! 🚨";
}*/
/* Flashing gradient animation */

/* Base layout and font support */
html, body {
	margin: 0;
	padding: 0;
	padding-bottom: 1em;
	min-height: 100%;
	font-family: "Sour Gummy", sans-serif;
	text-shadow: 0 0 6px #000000;
	color: #e0f2a6;
	background-color: #1b2a13;
	display: flex;
	flex-direction: column;
	background: url('images/banner.png') no-repeat scroll center center / 100% 100%;
	background-color: #1b2a13;
	display: flex;
	flex-direction: column;
}

/* Announcement bar with flashing gradient */
@keyframes flash-gradient {
	0%, 100% {
		background: linear-gradient(90deg, #ffcc00, #ff0000);
	}
	50% {
		background: linear-gradient(90deg, #ff0000, #ffcc00);
	}
}
.announcement {
	animation: flash-gradient 5s infinite alternate;
	padding: 12px;
	text-align: center;
	font-weight: bold;
	font-size: 1.1em;
	color: #000;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
}
.announcement:before {
	content: "🚨 Attention: The website is still a work-in-progress! Any advice is appreciated! 🚨";
}

body {
	display: flex;
	flex-direction: column;
}
main {
	flex: 1;
}

/* Navigation */
nav {
	background: #2a421d;
	padding: 10px;
	text-align: center;
}

nav a {
	color: #e0f2a6;
	margin: 0 10px;
	text-decoration: none;
	font-weight: bold;
	position: relative;
	display: inline-block;        /* makes transforms obvious */
	padding: 8px 12px;
	text-decoration: none;
	transition:	transform .18s ease, color .18s ease,
			text-shadow .18s ease, box-shadow .18s ease, background .18s ease;
}

nav a:hover,
nav a:focus-visible {
	transform: translateY(-2px);
	color: #F9F5EF;
	text-shadow:
		0 1px 0 #3A1300,
		0 6px 18px rgba(0,0,0,.35),
		0 0 14px rgba(192,108,0,.55); /* banana glow */
}

/* Header */

.site-header{
	position: relative;
	background: url('images/vines.png') no-repeat center top / cover;
	padding: clamp(18px, 2.5vw, 28px) 16px;
	text-align: center;
}
.site-header::before{
	content:"";
	position:absolute; inset:0; pointer-events:none; z-index:0;
	/* darker corners + soft bottom fade to blend into nav/alert */
	background:
		radial-gradient(60% 60% at 0% 0%, rgba(0,0,0,.35), transparent 60%),
		radial-gradient(60% 60% at 100% 0%, rgba(0,0,0,.35), transparent 60%),
		linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,0) 38%, rgba(0,0,0,0) 70%, rgba(0,0,0,.20));
}
.site-header > *{ position: relative; z-index: 1; }


.header-logo {
	height: 80px;
}
.header-text h1 {
	margin: 0;
	font-size: 2.5em;
	color: #38f8ff;
	text-shadow: 2px 2px 4px #000;
}
.header-text h2 {
	margin: 5px 0 0;
	color: #aaffaa;
	font-size: 1.2em;
}

/* Homepage background */
.homepage {
	background: #e0f2a6 url('images/banner.png') no-repeat scroll center center / 100% 100%;
	background-color: #1b2a13;
	display: flex;
	flex-direction: column;
}

/* Homepage text block */
.background-content {
	padding: 40px;
	background: rgba(27, 42, 19, 0.85);
	max-width: 800px;
	margin: 50px auto;
	border-radius: 10px;
}

/* General content section */
.content {
	padding: 20px;
}

/* Center page headers */
.content h2,
.background-content h2 {
	position: relative; z-index: 1;
	font-family: "Sour Gummy", system-ui, sans-serif;
	font-weight: 800;
	color: #F9F5EF;
	text-align: center;
}

.content h2::before,
.background-content h2::before{
	content: "";
	position: absolute; inset: -6px -10px;
	background: rgba(0,0,0,.35);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-radius: 12px;
	z-index: -1;
	border: 1px solid rgba(255,255,255,.06);
}

/* YouTube section */
.youtube-wrapper {
	text-align: center;
}

/* Table styles */
table {
	width: 100%;
	border-collapse: collapse;
	font-weight: bold;
	border: 2px solid #000; /* outer border */
}
th {
	color: #ffffff;
	background-color: #224422;
	padding: 10px;
}
table thead tr th:nth-child(odd) {
	background-color: #224422;
}
table thead tr th:nth-child(even) {
	background-color: #225533;
}
table tbody tr:nth-child(odd) {
	background-color: #fce96a; /* bright yellow */
}
table tbody tr:nth-child(even) {
	background-color: #4fa64f; /* jungle green */
}
td {
	padding: 10px;
	color: #000;
}
th, td {
	padding: 10px;
	border: 2px solid #000; /* internal grid lines */
}

/* Fan Art gallery */
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
.gallery figure {
	text-align: center;
}
.gallery img {
	max-width: 200px;
	background: #1b2a13;
	border: 2px solid #456633;
	border-radius: 5px;
}
.gallery figcaption {
	color: #F9F5EF;
	background: linear-gradient(180deg,#C06C00,#E59700);
	border: 2px solid #3A1300;
	border-radius: 8px;
	margin-top: 5px;
	padding: 1em;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Footer (CSS-controlled text) */
footer.copyright {
	background: #2A421D;
	margin-top: auto;
	position: fixed;
	bottom: 0;
	width: 100%;
}
footer.copyright:before {
	content: "©️ 2025 Hail4Gaming";
	display: block;
	text-align: center;
	padding: 10px;
	font-size: 0.9em;
	color: #e0f2a6;
}
