:root {
    --mp-dark: #0a0a0f;
    --mp-darker: #060609;
    --mp-accent: #4ecdc4;
    --mp-accent-hover: #45b7aa;
    --mp-text: #e0e0e0;
    --mp-text-muted: #888;
    --mp-card-bg: #12121a;
    --mp-card-border: #1e1e2e;
    --mp-navbar-bg: rgba(10, 10, 15, 0.92);
    --mp-section-alt: #0d0d14;
    --mp-footer-bg: #060609;
}

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

body {
    background-color: var(--mp-dark);
    color: var(--mp-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

a {
    color: var(--mp-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--mp-accent-hover);
}

.btn-primary {
    background-color: var(--mp-accent);
    border-color: var(--mp-accent);
    color: var(--mp-dark);
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--mp-accent-hover);
    border-color: var(--mp-accent-hover);
    color: var(--mp-dark);
}

.btn-outline-primary {
    border-color: var(--mp-accent);
    color: var(--mp-accent);
}

.btn-outline-primary:hover {
    background-color: var(--mp-accent);
    border-color: var(--mp-accent);
    color: var(--mp-dark);
}

.btn-outline-light:hover {
    color: var(--mp-dark);
}

.btn-outline-dark {
    border-color: var(--mp-text);
    color: var(--mp-text);
}

.btn-outline-dark:hover {
    background-color: var(--mp-text);
    color: var(--mp-dark);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-brand-logo {
    height: 2rem;
    width: auto;
}

.navbar {
    background-color: var(--mp-navbar-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--mp-card-border);
    padding: 0.8rem 0;
}

.navbar .nav-link {
    color: var(--mp-text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--mp-accent);
    border-radius: 1px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--mp-darker) 0%, var(--mp-dark) 50%, #0f1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(78, 205, 196, 0.03) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(2%, -2%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><circle cx="1" cy="1" r="0.6" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--mp-text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.hero-actions .btn {
    padding: 0.75rem 2rem;
    margin: 0.25rem;
    border-radius: 50px;
}

.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--mp-darker), var(--mp-dark));
    text-align: center;
    border-bottom: 1px solid var(--mp-card-border);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--mp-text-muted);
    margin-top: 0.5rem;
}

.section-content {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--mp-text-muted);
    margin-top: 0.5rem;
}

.section-featured-games,
.section-featured-products {
    padding: 80px 0;
}

.section-featured-products {
    background-color: var(--mp-section-alt);
}

.item-card {
    background-color: var(--mp-card-bg);
    border: 1px solid var(--mp-card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.item-card:hover {
    transform: translateY(-6px);
    border-color: var(--mp-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--mp-accent);
}

.item-card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: var(--mp-darker);
}

.placeholder-img {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mp-darker);
    color: var(--mp-text-muted);
    font-size: 2.5rem;
}

.item-card .card-body {
    padding: 1.25rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-meta .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--mp-text);
}

.price-tag {
    font-weight: 700;
    color: var(--mp-accent);
    font-size: 0.95rem;
}

.item-card .card-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.item-card .card-text {
    color: var(--mp-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.section-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--mp-darker), var(--mp-dark));
    border-top: 1px solid var(--mp-card-border);
}

.section-cta h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-cta p {
    color: var(--mp-text-muted);
    margin-bottom: 2rem;
}

.section-cta .btn {
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
}

.contact-card {
    background-color: var(--mp-card-bg);
    border: 1px solid var(--mp-card-border);
    border-radius: 12px;
    padding: 2rem;
}

.contact-card .form-control,
.contact-card .form-select {
    background-color: var(--mp-darker);
    border-color: var(--mp-card-border);
    color: var(--mp-text);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    background-color: var(--mp-darker);
    border-color: var(--mp-accent);
    color: var(--mp-text);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

.contact-card .form-label {
    color: var(--mp-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--mp-text-muted);
}

.empty-state h3 {
    color: var(--mp-text);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(78, 205, 196, 0.1);
    color: var(--mp-accent);
    font-size: 1.2rem;
}

.highlight-item h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.highlight-item p {
    color: var(--mp-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.site-footer {
    background-color: var(--mp-footer-bg);
    border-top: 1px solid var(--mp-card-border);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-logo {
    height: 2rem;
    width: auto;
}

.footer-brand .brand-text {
    font-size: 1.2rem;
}

.footer-tagline {
    color: var(--mp-text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--mp-card-bg);
    border: 1px solid var(--mp-card-border);
    color: var(--mp-text-muted);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: var(--mp-accent);
    border-color: var(--mp-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mp-card-border);
}

.footer-bottom p {
    color: var(--mp-text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.admin-body {
    background-color: #f4f6f9;
}

.admin-navbar {
    margin-bottom: 0;
}

.admin-stat-card {
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
}

.admin-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.admin-login-body {
    background: linear-gradient(135deg, var(--mp-darker), var(--mp-dark));
}

.table-dark th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

main {
    min-height: 100vh;
}