/* ================================================
   PLAY-MERCILESS SILKROAD THEME ENHANCEMENTS
   Matching the beautiful header/navbar design
   ================================================ */

/* Color Variables (extracted from header design) */
:root {
	--sr-gold-light: #f6d365;
	--sr-gold-mid: #fda085;
	--sr-gold-dark: #c99b3b;
	--sr-accent-red: #ff0818;
	--sr-bg-dark: #141619;
	--sr-bg-panel: rgba(20, 22, 25, 0.85);
	--sr-bg-translucent: rgba(0, 0, 0, 0.45);
	--sr-border-gold: rgba(201, 155, 59, 0.3);
	--sr-shadow-gold: rgba(201, 155, 59, 0.15);
	--sr-text-gold: #d4a85e;
	--sr-text-muted: #939393;
}

/* ================================================
   STYLIZED NEWS POST BOXES
   ================================================ */

.blog-post {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 25px 30px;
	margin-bottom: 30px;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.blog-post::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

.blog-post::after {
	content: '\25C6';
	position: absolute;
	top: 15px;
	right: 20px;
	color: var(--sr-gold-dark);
	font-size: 40px;
	opacity: 0.1;
	pointer-events: none;
}

.blog-post:hover {
	border-color: var(--sr-gold-dark);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(201, 155, 59, 0.2),
		0 0 60px rgba(201, 155, 59, 0.25);
	transform: translateY(-2px);
}

.blog-post .post-content h2 {
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 15px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-post .post-content h2::before {
	content: '\25C6';
	display: inline-block;
	margin-right: 12px;
	color: var(--sr-gold-dark);
	font-size: 0.5em;
	vertical-align: middle;
}

.blog-post .post-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.blog-post .post-meta li {
	color: var(--sr-text-muted);
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.blog-post .post-meta li i {
	color: var(--sr-gold-dark);
}

.blog-post .post-content p,
.blog-post .post-content div {
	color: #e0e0e0;
	line-height: 1.7;
	font-size: 15px;
}

/* ================================================
   STYLIZED WIDGET/SIDEBAR BOXES
   ================================================ */

.widget {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 0;
	margin-bottom: 30px;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
}

.widget::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

.widget .title {
	background: rgba(0, 0, 0, 0.3);
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	padding: 18px 25px;
	margin: 0;
	border-bottom: 1px solid var(--sr-border-gold);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.widget .title::before {
	content: '\25C6';
	display: inline-block;
	margin-right: 10px;
	color: var(--sr-gold-dark);
	font-size: 0.6em;
	vertical-align: middle;
}

.widget > hr {
	display: none; /* Hide default hr since we have border */
}

.widget iframe,
.widget > div:not(.title) {
	padding: 20px;
}

/* Discord widget specific styling */
.widget iframe[src*="discord"] {
	width: 100% !important;
	border-radius: 0 0 8px 8px;
	padding: 0;
	display: block;
}

/* ================================================
   DOWNLOAD BLOCKS
   ================================================ */

.down-block {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 20px;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
}

.down-block::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

/* ================================================
   INFO PANEL BOXES (for various content sections)
   ================================================ */

.info-panel {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 25px;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.info-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

.info-panel:hover {
	border-color: var(--sr-gold-dark);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(201, 155, 59, 0.2),
		0 0 60px rgba(201, 155, 59, 0.25);
}

.info-panel h3,
.info-panel h4,
.info-panel h5 {
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	margin-top: 0;
	margin-bottom: 15px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.info-panel h3::before,
.info-panel h4::before {
	content: '\25C6';
	display: inline-block;
	margin-right: 10px;
	color: var(--sr-gold-dark);
	font-size: 0.6em;
	vertical-align: middle;
}

/* ================================================
   SECTION BACKGROUND ENHANCEMENTS
   ================================================ */

section {
	background: transparent;
}

section .container {
	position: relative;
	z-index: 2;
}

/* Main content area styling */
.col-lg-9 {
	padding-right: 30px;
}

.col-lg-3 {
	padding-left: 15px;
}

/* ================================================
   FOOTER STYLING TO MATCH THEME
   ================================================ */

footer {
	background: linear-gradient(180deg, transparent 0%, rgba(20, 22, 25, 0.8) 100%);
	border-top: 2px solid var(--sr-border-gold);
	padding: 30px 0;
	margin-top: 50px;
	text-align: center;
	position: relative;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--sr-gold-dark) 50%, transparent 100%);
}

footer p {
	color: var(--sr-text-muted);
	margin: 0;
	font-size: 14px;
}

footer b {
	color: var(--sr-text-gold);
	font-weight: 700;
}

/* ================================================
   BUTTON STYLING TO MATCH THEME
   ================================================ */

.btn {
	background: linear-gradient(135deg, #ff0818 0%, #cc0614 100%);
	border: 2px solid var(--sr-gold-dark);
	color: #fff;
	font-size: 16px;
	padding: 10px 25px;
	font-weight: 700;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(255, 8, 24, 0.3);
	transition: all 0.3s ease;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn:hover {
	background: linear-gradient(135deg, #cc0614 0%, #990510 100%);
	border-color: var(--sr-gold-light);
	box-shadow: 0 6px 16px rgba(255, 8, 24, 0.5);
	transform: translateY(-2px);
	color: #fff;
}

/* ================================================
   TABLE STYLING (for rankings, etc.)
   ================================================ */

.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: rgba(79, 54, 55, 0.3);
}

.table-striped > tbody > tr:nth-of-type(even) {
	background-color: rgba(20, 22, 25, 0.3);
}

.table {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	overflow: hidden;
}

.table > thead > tr > th {
	background: rgba(0, 0, 0, 0.3);
	color: var(--sr-text-gold);
	border-bottom: 2px solid var(--sr-border-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================================================
   PAGINATION STYLING
   ================================================ */

.pagination {
	margin: 30px 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.pagination li a,
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	color: var(--sr-text-gold);
	border-radius: 6px;
	padding: 8px 15px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.pagination li a:hover,
.pagination li a:focus,
.pagination li.active a,
.pagination li.active a:hover {
	background: linear-gradient(135deg, #ff0818 0%, #cc0614 100%);
	border-color: var(--sr-gold-dark);
	color: #fff;
	box-shadow: 0 4px 12px rgba(255, 8, 24, 0.3);
}

/* ================================================
   CAROUSEL/SLIDER STYLING
   ================================================ */

.carousel,
.carousel-inner,
.carousel-item {
	border-radius: 10px;
	overflow: hidden;
}

.full-carousel {
	margin-bottom: 30px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ================================================
   GENERIC CONTENT PAGES (FAQ, Rules, Guides, Events)
   ================================================ */

/* Wrap any generic content in a themed container */
.content-page {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 30px 35px;
	margin-bottom: 30px;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
}

.content-page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

.content-page h1,
.content-page h2,
.content-page h3,
.content-page h4,
.content-page h5 {
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	margin-top: 25px;
	margin-bottom: 15px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.content-page h1 { font-size: 32px; }
.content-page h2 { font-size: 28px; }
.content-page h3 { font-size: 24px; }
.content-page h4 { font-size: 20px; }
.content-page h5 { font-size: 18px; }

.content-page h2::before,
.content-page h3::before {
	content: '\25C6';
	display: inline-block;
	margin-right: 10px;
	color: var(--sr-gold-dark);
	font-size: 0.6em;
	vertical-align: middle;
}

.content-page p {
	color: #e0e0e0;
	line-height: 1.8;
	font-size: 15px;
	margin-bottom: 15px;
}

.content-page ul,
.content-page ol {
	color: #e0e0e0;
	line-height: 1.8;
	font-size: 15px;
	margin-bottom: 15px;
	padding-left: 30px;
}

.content-page ul li,
.content-page ol li {
	margin-bottom: 8px;
}

.content-page a {
	color: var(--sr-gold-light);
	transition: color 0.2s ease;
}

.content-page a:hover {
	color: var(--sr-gold-mid);
	text-decoration: none;
}

.content-page hr {
	border-top: 1px solid var(--sr-border-gold);
	margin: 25px 0;
	opacity: 0.4;
}

/* ================================================
   BREADCRUMBS ENHANCEMENT
   ================================================ */

.breadcrumb {
	background: linear-gradient(135deg, rgba(20, 22, 25, 0.8) 0%, rgba(30, 25, 20, 0.7) 100%);
	border: 1px solid var(--sr-border-gold);
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.breadcrumb > li > a {
	color: var(--sr-text-gold);
	transition: color 0.2s ease;
}

.breadcrumb > li > a:hover {
	color: var(--sr-gold-light);
	background: rgba(201, 155, 59, 0.1);
	border-radius: 4px;
}

.breadcrumb > .active {
	color: #c0c0c0;
}

/* ================================================
   FORM ELEMENTS GLOBAL ENHANCEMENT
   ================================================ */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
	background: linear-gradient(135deg, rgba(20, 22, 25, 0.95) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	color: #e0e0e0;
	border-radius: 6px;
	transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	border-color: var(--sr-gold-dark);
	box-shadow: 0 0 15px rgba(201, 155, 59, 0.3);
	background: rgba(30, 25, 20, 0.95);
	outline: none;
}

/* ================================================
   SEARCH BOX STYLING
   ================================================ */

.search-box {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 25px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.search-box input[type="text"] {
	width: 100%;
	padding: 12px 15px;
}

/* ================================================
   ALERT/MESSAGE BOXES
   ================================================ */

.alert {
	border-radius: 8px;
	border-width: 2px;
	padding: 15px 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.alert-success {
	background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(39, 174, 96, 0.1) 100%);
	border-color: #27ae60;
	color: #a8e6a8;
}

.alert-info {
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0.1) 100%);
	border-color: #3498db;
	color: #a8d8f0;
}

.alert-warning {
	background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(243, 156, 18, 0.1) 100%);
	border-color: #f39c12;
	color: #ffd699;
}

.alert-danger {
	background: linear-gradient(135deg, rgba(231, 76, 60, 0.15) 0%, rgba(231, 76, 60, 0.1) 100%);
	border-color: #e74c3c;
	color: #ffb3b3;
}

/* ================================================
   MODAL ENHANCEMENTS
   ================================================ */

.modal-content {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.95) 100%);
	border: 2px solid var(--sr-border-gold);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
	background: rgba(0, 0, 0, 0.3);
	border-bottom: 2px solid var(--sr-border-gold);
}

.modal-title {
	color: var(--sr-text-gold) !important;
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
}

.modal-body {
	color: #e0e0e0;
}

.modal-footer {
	background: rgba(0, 0, 0, 0.2);
	border-top: 1px solid var(--sr-border-gold);
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media (max-width: 991px) {
	.col-lg-9,
	.col-lg-3 {
		padding-left: 15px;
		padding-right: 15px;
	}

	.blog-post {
		padding: 20px;
	}

	.info-panel {
		padding: 20px;
	}

	.content-page {
		padding: 25px 20px;
	}

	.download-box {
		min-height: auto;
	}
}

@media (max-width: 767px) {
	.blog-post .post-content h2 {
		font-size: 22px;
	}

	.widget .title {
		font-size: 18px;
		padding: 15px 20px;
	}

	.content-page h1 { font-size: 26px; }
	.content-page h2 { font-size: 22px; }
	.content-page h3 { font-size: 20px; }

	.ranking-table thead tr.main-tr th {
		font-size: 14px;
		padding: 12px 8px;
	}

	.ranking-table tbody tr td {
		font-size: 13px;
		padding: 10px 8px;
	}

	.download-box {
		padding: 20px 15px;
	}

	.download-box i.fa {
		font-size: 60px;
	}

	.download-box h4 {
		font-size: 18px;
	}
}

/* ================================================
   DOWNLOAD PAGE STYLING
   ================================================ */

.download-box {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 30px 25px;
	margin-bottom: 30px;
	text-align: center;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.download-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

.download-box:hover {
	border-color: var(--sr-gold-dark);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(201, 155, 59, 0.2),
		0 0 60px rgba(201, 155, 59, 0.25);
	transform: translateY(-4px);
}

.download-box i.fa {
	font-size: 80px;
	color: var(--sr-gold-dark);
	margin-bottom: 20px;
	display: block;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.download-box h4 {
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	margin: 15px 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.download-box hr {
	border-top: 1px solid var(--sr-border-gold);
	margin: 20px 0;
	opacity: 0.5;
}

.download-box span {
	color: #c0c0c0;
	font-size: 14px;
	line-height: 1.6;
}

.download-box .btn {
	margin-top: 15px;
	width: 100%;
	max-width: 200px;
}

/* System Requirements Title */
.classic-title {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 15px 25px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.classic-title::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

.classic-title span {
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-size: 24px;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.classic-title span::before {
	content: '\25C6';
	display: inline-block;
	margin-right: 12px;
	color: var(--sr-gold-dark);
	font-size: 0.6em;
	vertical-align: middle;
}

/* ================================================
   PROFILE DROPDOWN STYLING
   ================================================ */

.nav-profile.dropdown {
	display: inline-block;
	position: relative;
}

.nav-profile > a.dropdown-toggle {
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	padding: 0 12px;
	font-weight: 400;
	line-height: 55px;
	border-radius: 0 !important;
	position: relative;
	display: inline-block;
	transition: all 0.3s ease;
}

@media (max-width: 991px) {
	.nav-profile > a.dropdown-toggle {
		line-height: 40px; /* Reduce height on tablets */
		padding: 0 8px;
	}
}

@media (max-width: 767px) {
	.nav-profile > a.dropdown-toggle {
		line-height: 35px; /* Further reduce on mobile */
		font-size: 12px;
		padding: 0 6px;
	}
}

.nav-profile > a.dropdown-toggle:hover {
	color: #fff;
	background: rgba(0, 0, 0, 0.3);
	text-decoration: none;
}

.nav-profile > a.dropdown-toggle i.fa {
	font-size: 15px;
	margin-right: 5px;
	color: var(--sr-gold-dark);
}

.nav-profile .dropdown-menu {
	margin: 0;
	margin-top: 2px;
	padding: 5px 0;
	min-width: 200px;
	right: 0;
	left: auto;
	top: 100%;
	border-radius: 0;
	border: 0;
	background: linear-gradient(135deg, rgb(20, 22, 25) 0%, rgb(30, 25, 20) 100%);
	border: 2px solid var(--sr-border-gold);
	border-top: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
	position: absolute;
	z-index: 99999;
	display: none;
}

.nav-profile .dropdown-menu::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
	z-index: 1;
}

.nav-profile .dropdown-menu li {
	padding: 0;
	margin-right: 0;
}

.nav-profile .dropdown-menu li.divider {
	height: 1px;
	margin: 8px 0;
	overflow: hidden;
	background: var(--sr-border-gold);
	opacity: 0.3;
}

.nav-profile .dropdown-menu a {
	display: block;
	margin: 0;
	padding: 10px 20px;
	line-height: initial;
	font-size: 13px;
	color: #ffffff;
	font-family: "Open Sans", sans-serif;
	transition: all 0.2s ease;
	position: relative;
	z-index: 10;
	border-left: 3px solid transparent;
}

.nav-profile .dropdown-menu a i {
	color: var(--sr-gold-light);
	font-size: 13px;
	width: 22px;
	margin-right: 5px;
	transition: all 0.2s ease;
}

.nav-profile .dropdown-menu a:hover {
	color: var(--sr-text-gold);
	background: linear-gradient(90deg, rgba(201, 155, 59, 0.2) 0%, rgba(201, 155, 59, 0.05) 100%);
	text-decoration: none;
	border-left-color: var(--sr-gold-light);
	box-shadow: inset 0 0 15px rgba(246, 211, 101, 0.1);
}

.nav-profile .dropdown-menu a:hover i {
	color: var(--sr-gold-mid);
	transform: translateX(2px);
}

/* Make sure dropdown shows on hover and click */
.nav-profile.dropdown:hover .dropdown-menu,
.nav-profile.dropdown.open .dropdown-menu {
	display: block;
}

/* ================================================
   USER INFO DISPLAY IN NAVBAR
   ================================================ */

.nav-user-info {
	display: inline-block;
	margin-right: 15px;
	padding: 0 12px;
	line-height: 55px;
	border-right: 1px solid rgba(201, 155, 59, 0.2);
}

@media (max-width: 991px) {
	.nav-user-info {
		line-height: 40px; /* Reduce height on tablets */
		padding: 0 8px;
		margin-right: 10px;
	}
}

@media (max-width: 767px) {
	.nav-user-info {
		line-height: 35px; /* Further reduce on mobile */
		padding: 0 6px;
		margin-right: 5px;
	}
}

.nav-user-info .user-welcome {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	margin-right: 15px;
}

.nav-user-info .user-welcome strong {
	color: var(--sr-text-gold);
	font-weight: 600;
}

.nav-user-info .user-silk {
	display: inline-block;
	background: linear-gradient(135deg, rgba(201, 155, 59, 0.2) 0%, rgba(201, 155, 59, 0.1) 100%);
	padding: 6px 12px;
	border-radius: 4px;
	border: 1px solid var(--sr-border-gold);
	color: var(--sr-text-gold);
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.nav-user-info .user-silk i {
	color: var(--sr-gold-light);
	margin-right: 5px;
	font-size: 12px;
}

.nav-user-info .user-silk:hover {
	background: linear-gradient(135deg, rgba(201, 155, 59, 0.3) 0%, rgba(201, 155, 59, 0.15) 100%);
	border-color: var(--sr-gold-dark);
	box-shadow: 0 0 10px rgba(201, 155, 59, 0.3);
}

/* Responsive adjustments for user info */
@media (max-width: 767px) {
	.nav-user-info {
		display: flex;
		flex-direction: column;
		line-height: 1.3;
		padding: 5px 8px;
		margin-right: 8px;
		border-right: none;
		border-bottom: 1px solid rgba(201, 155, 59, 0.2);
	}
	
	.nav-user-info .user-welcome {
		font-size: 11px;
		margin-right: 0;
		margin-bottom: 3px;
	}

	.nav-user-info .user-silk {
		margin-right: 10px;
	}
}

/* ================================================
   RANKING TABLES STYLING
   ================================================ */

.ranking-table {
	width: 100%;
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	overflow: hidden;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	margin-bottom: 30px;
	position: relative;
}

.ranking-table::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
	z-index: 1;
}

.ranking-table thead {
	background: rgba(0, 0, 0, 0.4);
}

.ranking-table thead tr.main-tr th {
	background: rgba(0, 0, 0, 0.3);
	color: var(--sr-text-gold);
	border-bottom: 2px solid var(--sr-border-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	padding: 18px 15px;
	font-size: 16px;
	text-align: center;
}

.ranking-table tbody tr {
	border-bottom: 1px solid rgba(201, 155, 59, 0.1);
	transition: all 0.2s ease;
}

.ranking-table tbody tr:nth-of-type(odd) {
	background-color: rgba(79, 54, 55, 0.15);
}

.ranking-table tbody tr:nth-of-type(even) {
	background-color: rgba(20, 22, 25, 0.15);
}

.ranking-table tbody tr:hover {
	background-color: rgba(201, 155, 59, 0.15);
	transform: scale(1.01);
}

.ranking-table tbody tr td {
	padding: 15px 15px;
	color: #e0e0e0;
	font-size: 15px;
	vertical-align: middle;
}

.ranking-table tbody tr td a {
	color: var(--sr-text-gold);
	font-weight: 600;
	transition: color 0.2s ease;
}

.ranking-table tbody tr td a:hover {
	color: var(--sr-gold-light);
	text-decoration: none;
}

/* Top 3 special styling for rankings */
.ranking-table tbody tr:nth-child(1) td:first-child::before {
	content: '🥇 ';
	font-size: 18px;
}

.ranking-table tbody tr:nth-child(2) td:first-child::before {
	content: '🥈 ';
	font-size: 18px;
}

.ranking-table tbody tr:nth-child(3) td:first-child::before {
	content: '🥉 ';
	font-size: 18px;
}

.ranking-table tbody tr:nth-child(1),
.ranking-table tbody tr:nth-child(2),
.ranking-table tbody tr:nth-child(3) {
	background: linear-gradient(90deg, rgba(246, 211, 101, 0.12) 0%, rgba(201, 155, 59, 0.08) 100%);
}

/* ================================================
   DONATE PAGE STYLING
   ================================================ */

.donate-page .form-control,
.donate-page select {
	background: linear-gradient(135deg, rgba(20, 22, 25, 0.95) 0%, rgba(30, 25, 20, 0.9) 100%) !important;
	border: 2px solid var(--sr-border-gold) !important;
	color: var(--sr-text-gold) !important;
	border-radius: 8px !important;
	padding: 12px 20px !important;
	font-size: 15px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
	transition: all 0.3s ease !important;
}

.donate-page .form-control:hover,
.donate-page select:hover {
	border-color: var(--sr-gold-dark) !important;
	box-shadow: 0 6px 16px rgba(201, 155, 59, 0.3) !important;
}

.donate-page .form-control option,
.donate-page select option {
	background: #1a1c20 !important;
	color: var(--sr-text-gold) !important;
	padding: 10px !important;
}

.donate-page h4 {
	color: var(--sr-text-gold);
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	margin-bottom: 20px;
}

.donate-page center img {
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	margin-bottom: 30px;
	max-width: 100%;
	height: auto;
}

/* Wrap donate content in themed container */
.donate-page form {
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	padding: 40px 30px;
	margin: 20px auto;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	position: relative;
	overflow: hidden;
}

.donate-page form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

/* ================================================
   ALLIANCE/GUILD PAGES STYLING
   ================================================ */

.alliance-table,
.guild-table {
	width: 100%;
	background: linear-gradient(135deg, var(--sr-bg-panel) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	border-radius: 10px;
	overflow: hidden;
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(201, 155, 59, 0.1),
		0 0 40px var(--sr-shadow-gold);
	margin-bottom: 30px;
}

/* ================================================
   REGISTER PAGE STYLING
   ================================================ */

.register-page .form-group label {
	color: var(--sr-text-gold);
	font-weight: 600;
	margin-bottom: 8px;
}

.register-page .form-control {
	background: linear-gradient(135deg, rgba(20, 22, 25, 0.95) 0%, rgba(30, 25, 20, 0.9) 100%);
	border: 2px solid var(--sr-border-gold);
	color: #e0e0e0;
	border-radius: 6px;
	padding: 12px 15px;
}

.register-page .form-control:focus {
	border-color: var(--sr-gold-dark);
	box-shadow: 0 0 15px rgba(201, 155, 59, 0.3);
	background: rgba(30, 25, 20, 0.95);
}

/* ================================================
   UTILITY CLASSES FOR EASY BOX CREATION
   ================================================ */

/* Gold accent box - for important notices */
.gold-box {
	background: linear-gradient(135deg, rgba(246, 211, 101, 0.15) 0%, rgba(201, 155, 59, 0.1) 100%);
	border: 2px solid var(--sr-gold-dark);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(201, 155, 59, 0.2);
	position: relative;
	overflow: hidden;
}

.gold-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sr-gold-light) 0%, var(--sr-gold-mid) 40%, var(--sr-gold-dark) 100%);
}

/* Red accent box - for announcements/alerts */
.red-box {
	background: linear-gradient(135deg, rgba(255, 8, 24, 0.15) 0%, rgba(153, 5, 16, 0.1) 100%);
	border: 2px solid var(--sr-accent-red);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(255, 8, 24, 0.2);
	position: relative;
	overflow: hidden;
}

.red-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #ff0818 0%, #cc0614 100%);
}

/* Dark box - for secondary content */
.dark-box {
	background: linear-gradient(135deg, rgba(20, 22, 25, 0.95) 0%, rgba(10, 12, 15, 0.9) 100%);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
