/* Base Theme & Variables */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --p-color: #facc15; /* Bright Gold */
    --p-color-hover: #eab308;
    --p-color-alpha: rgba(250, 204, 21, 0.2);
    --s-color: #3b82f6; /* Playful Blue */
    --bg-dark: #12141d; /* Solid dark blue-gray */
    --bg-card: #1e2233; /* Solid chunky card */
    --bg-card-hover: #262b40;
    --text-main: #ffffff;
    --text-muted: #a1a5b5;
    --border-color: rgba(255, 255, 255, 0.05);
    --font-family: 'Outfit', sans-serif;
    --glass-blur: blur(0px); /* Remove glass for solid look */
    --border-radius: 24px; /* Huge playful corners */
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--p-color);
}

/* Background Color Overlay & Hero Banner */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('hero_banner.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 14, 20, 0.4), var(--bg-dark));
    z-index: 1;
}

/* Navigation bar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(5, 8, 16, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
}

.nav-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
}

.nav-logo-img {
    height: 45px;
    width: auto;
}

.nav-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-title span {
    color: var(--p-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover, .nav-link.active {
    color: var(--p-color);
    text-shadow: 0 0 10px var(--p-color-alpha);
}

.nav-btn-store {
    background: var(--p-color);
    color: var(--bg-dark) !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.nav-btn-store:hover {
    background: var(--text-main);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

/* Header Action Panels (IP / logo / discord) */
.header-action-grid {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    z-index: 2;
}

.action-card {
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.4), rgba(10, 15, 30, 0.7));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.action-card:hover {
    border-color: var(--p-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.25);
}

.action-card-text {
    display: flex;
    flex-direction: column;
}

.action-title {
    color: var(--p-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.action-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.action-icon {
    font-size: 1.8rem;
    color: var(--p-color);
}

.center-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Layout container */
.main-container {
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Left Column content */
.content-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Carousel/Slider */
.carousel {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(10, 14, 20, 0.95));
}

.carousel-caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    z-index: 2;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--p-color);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.carousel-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--p-color);
    box-shadow: 0 0 10px var(--p-color);
    width: 25px;
    border-radius: 6px;
}

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, var(--bg-card), #18253a);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--p-color-alpha) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-avatar {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.welcome-info h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.welcome-info h2 span {
    color: var(--p-color);
}

.welcome-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.welcome-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--p-color);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--p-color-alpha);
}

.btn-primary:hover {
    background: var(--text-main);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cards (News Posts / Widgets) */
.card {
    background: linear-gradient(145deg, var(--bg-card), rgba(5, 8, 16, 0.9));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card:hover {
    border-color: var(--border-color);
    background: var(--bg-card-hover);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-dark);
}

.news-title {
    color: var(--text-main);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title:hover {
    color: var(--p-color);
}

.news-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-body {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.news-body img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 15px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-stats {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-stats span i {
    color: var(--p-color);
    margin-right: 5px;
}

/* Sidebar Widgets */
.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--p-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--p-color-alpha);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-title span.badge {
    background: #00e5ff;
    color: #0a0e14;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    font-weight: 600;
}

/* Staff Section */
.staff-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--bg-dark), #080c12);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.staff-card {
    background: rgba(30, 34, 51, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--p-color);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
}

.staff-card-avatar {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    image-rendering: pixelated;
    margin: 0 auto 18px auto;
    display: block;
    border: 2px solid var(--border-color);
}
.staff-card h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.staff-card .staff-role-title {
    color: var(--p-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.staff-card .staff-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Footer Section */
.footer-about {
    margin-bottom: 40px; /* increased space between Play Now and Store Benefits */
}

.footer {
    background: #06090e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 120px;
}

.footer-about h3, .footer-store h3 {
    color: var(--p-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-store {
    justify-self: end;
}

/* Page Header */
.page-header {
    background: linear-gradient(to bottom, rgba(10, 14, 20, 0.4), var(--bg-dark)), url('hero_banner.png') no-repeat center center;
    background-size: cover;
    padding: 100px 20px 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}
.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 30px;
    transition: all 0.3s ease;
}

.rule-card:hover {
    border-color: var(--p-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.15);
    background: var(--bg-card-hover);
}

.rule-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-card-header i {
    font-size: 2rem;
    color: var(--p-color);
}

.rule-card-header h2 {
    font-size: 1.5rem;
    color: var(--text-main);
}

.rule-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.rule-list li i {
    color: var(--p-color);
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--p-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Toast Copy notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--p-color);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    transform: scale(0.8);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-title-txt {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--p-color);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--p-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-family);
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--p-color);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .header-action-grid {
        grid-template-columns: 1fr 1fr;
    }
    .center-logo-box {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header-action-grid {
        grid-template-columns: 1fr;
        bottom: -150px;
    }
    .main-container {
        margin-top: 180px;
    }
    .nav-menu {
        display: none;
    }
    .welcome-card {
        flex-direction: column;
        text-align: center;
    }
    .carousel {
        height: 250px;
    }
    .carousel-title {
        font-size: 1.4rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* PREMIUM CHUNKY UI OVERRIDES (Minepeak)    */
/* ========================================= */

body {
    background-color: var(--bg-dark);
}

.navbar {
    background: #1e2233;
    border-bottom: 4px solid #161925;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    margin: 0 2px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--p-color);
}

.btn-primary, .btn-secondary {
    border-radius: 16px;
    padding: 14px 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 0px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--p-color);
    color: #000 !important;
    box-shadow: 0 6px 0px #b48e00;
}

.btn-primary:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0px #b48e00;
    background: var(--p-color-hover);
}

.btn-secondary {
    background: #2a2f45;
    color: var(--text-main);
    box-shadow: 0 6px 0px #161925;
}

.btn-secondary:hover {
    background: #323852;
    transform: translateY(4px);
    box-shadow: 0 2px 0px #161925;
}

.card {
    background: var(--bg-card);
    border: 3px solid #2a2f45;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--p-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-wrapper::before {
    background: linear-gradient(to bottom, rgba(18, 20, 29, 0.2), var(--bg-dark));
}

.action-card {
    background: #1e2233;
    border: 3px solid #2a2f45;
    border-radius: var(--border-radius);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 0px #161925;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--p-color);
    box-shadow: 0 15px 0px #161925, 0 0 30px rgba(250, 204, 21, 0.1);
}

input, textarea, select {
    background: #161925 !important;
    border: 3px solid #2a2f45 !important;
    color: var(--text-main) !important;
    border-radius: 16px !important;
    padding: 16px 20px;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.5) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--p-color) !important;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.5), 0 0 0 4px var(--p-color-alpha) !important;
    outline: none !important;
}

.fade-in {
    animation: premiumFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes premiumFadeIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Add custom scrollbar matching theme */
::-webkit-scrollbar-thumb {
    background: #2a2f45;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--p-color);
}
