* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: #0a0e27;
	color: #e0e0e0;
	line-height: 1.6;
}

/* Blur effect when modal is open */
body.blur-active {
	filter: blur(5px);
	user-select: none;
}

body.blur-active .overlay,
body.blur-active .modal {
	z-index: 1001;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Navigation Bar */
.navbar {
	background: linear-gradient(135deg, #1a1f3a 0%, #16213e 100%);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: #00d4ff;
	text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	color: #e0e0e0;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
}

.nav-links a:hover {
	color: #00d4ff;
	text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, #1a1f3a 0%, #0d1117 100%);
	padding: 4rem 0;
	text-align: center;
	border-bottom: 2px solid #00d4ff;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: #00d4ff;
	text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.hero p {
	font-size: 1.3rem;
	margin-bottom: 2rem;
	color: #b0b0b0;
}

.search-bar {
	display: flex;
	gap: 0.5rem;
	max-width: 500px;
	margin: 0 auto;
}

.search-bar input {
	flex: 1;
	padding: 12px 20px;
	border: 2px solid #00d4ff;
	background: #1a1f3a;
	color: #e0e0e0;
	border-radius: 5px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.search-bar input:focus {
	outline: none;
	box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
	background: #0d1117;
}

.search-bar button {
	padding: 12px 30px;
	background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
	color: #000;
	border: none;
	border-radius: 5px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
}

.search-bar button:hover {
	box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
	transform: translateY(-2px);
}

/* Featured Section */
.featured-section {
	padding: 3rem 0;
}

.featured-section h2,
.categories-section h2,
.listing-section h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	color: #00d4ff;
}

/* Content Grid */
.content-grid {
	display: flex;
	overflow-x: auto;
	padding-bottom: 1rem;
	scrollbar-width: thin;
	scrollbar-color: #00d4ff #1a1f3a;
	gap: 1.5rem;
}

.content-grid::-webkit-scrollbar {
	height: 8px;
}

.content-grid::-webkit-scrollbar-track {
	background: #1a1f3a;
	border-radius: 4px;
}

.content-grid::-webkit-scrollbar-thumb {
	background: #00d4ff;
	border-radius: 4px;
}

.content-grid::-webkit-scrollbar-thumb:hover {
	background: #0099cc;
}

/* Featured Grid - Horizontal Scroll */
.featured-section .content-grid {
	display: flex;
	overflow-x: auto;
	padding-bottom: 1rem;
	scrollbar-width: thin;
	scrollbar-color: #00d4ff #1a1f3a;
}

.featured-section .content-grid::-webkit-scrollbar {
	height: 8px;
}

.featured-section .content-grid::-webkit-scrollbar-track {
	background: #1a1f3a;
	border-radius: 4px;
}

.featured-section .content-grid::-webkit-scrollbar-thumb {
	background: #00d4ff;
	border-radius: 4px;
}

.featured-section .content-grid::-webkit-scrollbar-thumb:hover {
	background: #0099cc;
}

.content-card {
	background: #1a1f3a;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid #2a2f4a;
	flex-shrink: 0;
}

.content-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
	border-color: #00d4ff;
}

.content-thumbnail {
	width: 100%;
	height: 225px;
	/* background: linear-gradient(135deg, #2a2f4a 0%, #1a1f3a 100%); */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	color: #00d4ff;
	opacity: 0.7;
}

.content-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: contrast(1.1) brightness(1.05) saturate(1.1);
}

.content-info {
	padding: 1rem;
}

.content-title {
	font-weight: bold;
	color: #00d4ff;
	margin-bottom: 0.5rem;
}

.content-meta {
	font-size: 0.85rem;
	color: #888;
	margin-bottom: 0.5rem;
}

.dub-options {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.dub-tag {
	background: #00d4ff;
	color: #000;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: bold;
}

.quality-badge {
	display: inline-block;
	background: #ff6b00;
	padding: 4px 10px;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: bold;
}

.rate-btn {
	display: inline-block;
	background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
	color: #000;
	padding: 6px 12px;
	border-radius: 5px;
	font-size: 0.8rem;
	font-weight: bold;
	cursor: pointer;
	border: none;
	margin-top: 0.5rem;
	transition: all 0.3s ease;
}

.rate-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Email Section */
.email-section {
	margin-bottom: 1.5rem;
}

.email-section label {
	display: block;
	color: #00d4ff;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.email-section input[type="email"] {
	width: 100%;
	padding: 10px 15px;
	background: #1a1f3a;
	border: 1px solid #2a2f4a;
	border-radius: 5px;
	color: #e0e0e0;
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.email-section input[type="email"]:focus {
	outline: none;
	border-color: #00d4ff;
}

/* Categories Section */
.categories-section {
	padding: 3rem 0;
	background: #0d1117;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
}

.category-card {
	background: #1a1f3a;
	padding: 2rem 1rem;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.category-card:hover {
	border-color: #00d4ff;
	transform: scale(1.05);
	box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.category-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.category-name {
	font-weight: bold;
	color: #00d4ff;
}

/* Listing Section */
.listing-section {
	padding: 3rem 0;
}

.listing-section .content-grid {
	display: flex;
	overflow-x: auto;
	padding-bottom: 1rem;
	scrollbar-width: thin;
	scrollbar-color: #00d4ff #1a1f3a;
}

.listing-section .content-grid::-webkit-scrollbar {
	height: 8px;
}

.listing-section .content-grid::-webkit-scrollbar-track {
	background: #1a1f3a;
	border-radius: 4px;
}

.listing-section .content-grid::-webkit-scrollbar-thumb {
	background: #00d4ff;
	border-radius: 4px;
}

.listing-section .content-grid::-webkit-scrollbar-thumb:hover {
	background: #0099cc;
}

.listing-filters {
	display: flex;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.listing-filters label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
}

.listing-filters select {
	padding: 8px 12px;
	background: #1a1f3a;
	color: #00d4ff;
	border: 2px solid #00d4ff;
	border-radius: 5px;
	cursor: pointer;
}

.listing-filters select:focus {
	outline: none;
	box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Info Sections */
.info-section {
	padding: 3rem 0;
	border-top: 1px solid #2a2f4a;
}

.info-section h2 {
	font-size: 1.8rem;
	color: #00d4ff;
	margin-bottom: 1rem;
}

.info-section p {
	font-size: 1rem;
	color: #b0b0b0;
	margin-bottom: 1rem;
	line-height: 1.8;
}

/* Footer */
.footer {
	background: linear-gradient(135deg, #1a1f3a 0%, #0d1117 100%);
	padding: 2rem 0;
	text-align: center;
	border-top: 2px solid #00d4ff;
	margin-top: 3rem;
}

.footer p {
	color: #888;
}

.footer a {
	color: #00d4ff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer a:hover {
	text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		gap: 1rem;
		font-size: 0.9rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.content-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}

	.category-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.listing-filters {
		flex-direction: column;
		gap: 1rem;
	}

	.search-bar {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.logo {
		font-size: 1.4rem;
	}

	.nav-links {
		gap: 0.5rem;
		font-size: 0.8rem;
	}

	.hero h1 {
		font-size: 1.5rem;
	}

	.category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.content-card {
		width: 250px;
	}
}

/* Modal styles */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	z-index: 300;
}
.overlay.open { opacity: 1; visibility: visible; }

.modal {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: min(900px, 95%);
	max-height: 85vh;
	overflow: auto;
	background: #0f1424;
	border: 1px solid #223;
	padding: 1.25rem;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.6);
	opacity: 0;
	visibility: hidden;
	transition: all 0.18s ease;
	z-index: 400;
}
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal .close {
	position: absolute;
	right: 10px;
	top: 8px;
	background: transparent;
	border: none;
	color: #ccc;
	font-size: 1.1rem;
	cursor: pointer;
}



.version-grid { display:flex; gap:6px; flex-wrap:wrap; margin-top:0.75rem; }
.version-btn { background:#1a1f3a; color:#fff; border:1px solid #2a2f4a; padding:6px 8px; border-radius:4px; cursor:pointer; }

/* Plugin download buttons - different colors for different plugins */
.cool-plugins { display:flex; gap:0.5rem; flex-wrap:wrap; margin-top:0.5rem; }
.plugin-btn {
    border:none;
    padding:8px 14px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
    font-size:0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.plugin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Primary - TAB Plugin (Blue) */
.plugin-btn.plugin-btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #000;
}

/* Secondary - PlaceholderAPI (Green) */
.plugin-btn.plugin-btn-secondary {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #fff;
}

/* Accent - ProtocolLib (Orange) */
.plugin-btn.plugin-btn-accent {
    background: linear-gradient(135deg, #fd7e14 0%, #dc3545 100%);
    color: #fff;
}

/* Success - EssentialsX (Green) */
.plugin-btn.plugin-btn-success {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    color: #fff;
}

/* Warning - Vault (Yellow) */
.plugin-btn.plugin-btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #000;
}

/* Purple - CratesPlus */
.plugin-btn.plugin-btn-purple {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: #fff;
}

/* Default - Other plugins */
.plugin-btn.plugin-btn-default {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    color: #fff;
}

/* Config download button */
.plugin-btn.plugin-btn-config {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
}

/* Plugin version badge */
.plugin-version {
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: normal;
}

/* Guide download button */
.plugin-btn.plugin-btn-guide {
    background: linear-gradient(135deg, #6610f2 0%, #520dc2 100%);
    color: #fff;
}

/* Resource Pack button */
.plugin-btn.plugin-btn-rp {
    background: linear-gradient(135deg, #e83e8c 0%, #d63384 100%);
    color: #fff;
}

/* Hologram Plugin button (Purple gradient) */
.plugin-btn.plugin-btn-holo {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: #fff;
}

/* Holo-Config button (Orange gradient) */
.plugin-btn.plugin-btn-holoconfig {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
}

/* Gallery modal styles */
.gallery-modal {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: min(95vw, 1000px);
	max-height: 95vh;
	background: rgba(0,10,20,0.95);
	border: 1px solid #223;
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.8);
	opacity: 0;
	visibility: hidden;
	transition: all 0.18s ease;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.gallery-modal.open { opacity: 1; visibility: visible; }
.gallery-modal .close {
	position: absolute;
	right: 10px;
	top: 8px;
	background: transparent;
	border: none;
	color: #ccc;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
}
.gallery-modal img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 4px;
}
.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.5);
	color: #fff;
	border: none;
	font-size: 2rem;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}
.gallery-nav:hover { background: rgba(0,0,0,0.8); }
#prevBtn { left: 10px; }
#nextBtn { right: 10px; }

.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 25px;
}

.zoom-btn {
    background: #00d4ff;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.zoom-btn:hover { background: #0099cc; }



/* Rating Modal Styles */
.rating-modal {
    width: min(500px, 90%);
    max-height: 80vh;
    overflow-y: auto;
}

.rating-modal h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    text-align: center;
}

.rating-display {
    text-align: center;
    margin-bottom: 1rem;
}

.rating-stars {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.rating-stars .star {
    color: #444;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: #ffd700;
}

.rating-value {
    font-size: 1.2rem;
    color: #888;
}

.rating-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

.comment-section {
    margin-bottom: 1.5rem;
}

.comment-section h4 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.comment-section textarea {
    width: 100%;
    padding: 10px;
    background: #1a1f3a;
    border: 1px solid #2a2f4a;
    border-radius: 5px;
    color: #e0e0e0;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 0.5rem;
}

.comment-section textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

.comments-list h4 {
    color: #00d4ff;
    margin-bottom: 0.75rem;
}

.comment-item {
    background: #1a1f3a;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 3px solid #00d4ff;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: bold;
    color: #00d4ff;
}

.comment-rating {
    color: #ffd700;
    font-size: 0.9rem;
}

.comment-date {
    font-size: 0.75rem;
    color: #888;
}

.comment-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.no-comments {
    color: #888;
    text-align: center;
    font-style: italic;
}

/* Feedback Admin Buttons */
.feedback-admin {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #2a2f4a;
}

.export-btn, .import-btn {
    flex: 1;
    padding: 10px;
    background: #1a1f3a;
    border: 1px solid #00d4ff;
    color: #00d4ff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.export-btn:hover, .import-btn:hover {
    background: #00d4ff;
    color: #000;
}
/* Guide Page Styles */
.guide-page {
	padding: 3rem 0;
	background: #0d1117;
}

.guide-page h2 {
	color: #00d4ff;
	margin-bottom: 2rem;
	text-align: center;
}

.back-btn {
	background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
	color: #000;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 2rem;
}

.back-btn:hover {
	box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
	transform: translateY(-2px);
}

.guide-ads {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 10px;
	margin-bottom: 2rem;
}

.guide-images {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 2rem;
}

.guide-images img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: transform 0.3s ease;
}

.guide-images img:hover {
	transform: scale(1.05);
}

.guide-plugins {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 2rem;
}

.guide-tutorial {
	background: #1a1f3a;
	border-left: 3px solid #00d4ff;
	padding: 1.5rem;
	border-radius: 8px;
	line-height: 1.6;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	margin-top: 2rem;
}

.guide-tutorial h4 {
	color: #00d4ff;
	margin-bottom: 1rem;
	font-size: 1.3rem;
	font-weight: bolder;
	text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.guide-tutorial p {
	color: #b0b0b0;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
}

.guide-tutorial strong {
	color: #00d4ff;
	font-weight: bold;
}

.guide-tutorial code {
	background: #0d1117;
	color: #00d4ff;
	padding: 0.2rem 0.4rem;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 0.85rem;
	border: 1px solid #2a2f4a;
}

/* Ads styles */
.ads {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 10px;
}

/* Mobile-friendly ads */
@media (max-width: 700px) {
	.ads {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.ads ins {
		width: 100% !important;
		max-width: 320px;
		height: auto !important;
	}
}
