/* Variables */
:root {
  --bgcol1: #2c3e50;
  --bgcol2: #1e2b38;
  --gold: #d4af37;
  --bordergold: rgba(212, 175, 55, 0.5);
  --bordergoldthin: rgba(212, 175, 55, 0.3);
  --stripe-pattern: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 3px,
    transparent 3px,
    transparent 12px );
}

/* Font imports */
@font-face {
	font-family: 'Quicksand';
	src: url('fonts/Quicksand-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand';
	src: url('fonts/Quicksand-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

/* Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: var(--bgcol1);
	color: #e9e9e9;
	line-height: 1.6;
	background-image: linear-gradient(to bottom, var(--bgcol1), var(--bgcol2));
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
}

main {
	flex: 1;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Background */
.elemental-symbols {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	opacity: 0.08;
}

.symbol {
	position: absolute;
	font-size: 32px;
	color: var(--gold);
}

.symbol:nth-child(1) { top: 15%; left: 10%; }
.symbol:nth-child(2) { top: 25%; right: 15%; }
.symbol:nth-child(3) { bottom: 20%; left: 20%; }
.symbol:nth-child(4) { bottom: 30%; right: 10%; }
.symbol:nth-child(5) { top: 50%; left: 25%; }
.symbol:nth-child(6) { top: 40%; right: 25%; }
		
/* Header Styles */
header {
    background-color: rgba(23, 32, 42, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--bordergoldthin);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
	position: relative;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
	color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #a8b2c1;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
}

.current {
	color: var(--gold);
}

.user-info {
    display: flex;
	position: absolute;
	right: 0;
    align-items: center;
}

.level-indicator {
    font-size: 14px;
    margin-right: 15px;
    color: #a8b2c1;
}

.avatar {
    width: 35px;
    height: 35px;
	background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: bold;
}

.avatar:hover {
	background-color: var(--bordergoldthin);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.button {
	display: block;
	width: 100%;
	padding: 12px;
	margin-top: 25px;
	text-align: center;
	border-radius: 8px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	background-color: rgba(23, 32, 42, 0.9);
	border: 1px solid var(--bordergold);
	color: #60b976;
	background-color: rgba(96, 185, 118, 0.1);
}
	
.button:hover {
	background-color: rgba(96, 185, 118, 0.2);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.badge {
	color: #d4af37;
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: bold;
	border: 1px solid var(--bordergoldthin);
	border-radius: 10px;
}

/* Grid Styles */

.grid {
	display: grid;
	grid-template-columns: auto;
	gap: 25px;
	padding-top: 30px;
}

.box {
	background-color: rgba(23, 32, 42, 0.7);
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	padding: 25px;
	border: 1px solid var(--bordergoldthin);
	opacity: 0;
	transform: translateY(-100px);
	animation: DropAndFade 0.5s ease-out forwards;
}

@keyframes DropAndFade {
  0% {
	opacity: 0;
	transform: translateY(-100px);
  }
  70% {
	opacity: 1;
	transform: translateY(10px); /* bounce */
  }
  100% {
	opacity: 1;
	transform: translateY(0);
  }
}

#delaymini {
	animation-delay: 0.1s;
}

@media (min-width: 1000px) {
	.grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
	#widebox {
		grid-column: span 2;
	}
}

.horizontally {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.progress-bar {
	height: 12px;
	width: 100%;
	background-color: rgba(23, 32, 42, 0.9);
	border-radius: 5px;
	margin-bottom: 5px;
	overflow: hidden;
	border: 1px solid var(--bordergoldthin);
}

.progress-fill {
	height: 100%;
	background-color: #d4af37;
	border-radius: 5px;
	transition: width 0.5s ease;
}

/* Footer */
footer {
	background-color: rgba(23, 32, 42, 0.95);
	color: #a8b2c1;
	padding: 20px 0;
	margin-top: 30px;
	text-align: center;
	border-top: 1px solid var(--bordergoldthin); 
}

/* Stats */
.stats-container {
	display: flex;
	justify-content: space-between;
	text-align: center;
}

.stat-item {
	flex: 1;
}

.stat-value {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 5px;
	color: var(--gold);
}

.stat-label {
	font-size: 14px;
	color: #a8b2c1;
}