* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    background: url("images/background.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	transition: transform 2s ease;
}

/* Dark overlay for readability */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.content {
    position: relative;
    text-align: center;
    /*color: white;*/
    z-index: 2;
}

.title {
    font-size: 80px;
    color: gold;
    text-shadow: 
        0 0 10px orange,
        0 0 20px red,
        0 0 40px darkred;
    margin-bottom: 40px;
    animation: fadeIn 2s ease-in-out;
}

.press-start {
    font-size: 40px;
    cursor: pointer;
    animation: glow 1.5s infinite alternate;
}

/* Glow animation */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px orange;
    }
    to {
        text-shadow: 0 0 20px yellow, 0 0 40px red;
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Lightning flash overlay */
.lightning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

/* Lightning animation */
@keyframes flash {
    0% { opacity: 0; }
    10% { opacity: 0.9; }
    20% { opacity: 0; }
    30% { opacity: 0.6; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

/* Screen shake */
@keyframes shake {
    0% { transform: translate(0px, 0px); }
    20% { transform: translate(-5px, 5px); }
    40% { transform: translate(5px, -5px); }
    60% { transform: translate(-5px, 5px); }
    80% { transform: translate(5px, -5px); }
    100% { transform: translate(0px, 0px); }
}
/* Top Navigation Bar */
.topnav {
    position: fixed;      /* Lock it to top */
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #111;
    padding: 12px 30px;
    color: white;
    font-family: Arial, sans-serif;

    z-index: 1000;        /* Stay above everything */
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: gold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 6px 10px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: gold;
}

/* Parent must control hover */
.dropdown {
    position: relative;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;        /* Attach directly under parent */
    left: 0;
    background: #222;
    padding: 10px 0;
    list-style: none;
    min-width: 150px;
}

/* Show menu when hovering entire dropdown area */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Remove gaps */
.dropdown > a {
    display: inline-block;
    padding: 6px 10px;
}

.create-account {
    color: #00c3ff;   /* Change this to any color you want */
    font-weight: bold;
}

.create-account:hover {
    color: #00ffff;   /* Optional hover effect */
}

.already-account {
    color: #00c3ff;   /* Change this to any color you want */
    font-weight: bold;
}

.create-account:hover {
    color: #00ffff;   /* Optional hover effect */
}

/* Dashboard Layout */
.dashboard-container {
    padding: 100px 40px;
    text-align: center;
    color: white;
    background: linear-gradient(to bottom, #111, #000);
    min-height: 100vh;
}

.dashboard-container h1 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* Card Grid */
.card-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Card Style */
.card {
    background: #1a1a1a;
    padding: 25px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px gold;
}

.card h2 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 20px;
}

/* Button Style */
.btn {
    display: inline-block;
    padding: 8px 15px;
    background: gold;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background: orange;
}

/* Background */
.dashboard-bg {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    color: white;
}

/* Wrapper */
.dashboard-wrapper {
    padding: 120px 40px;
    backdrop-filter: blur(4px);
}

/* Panels */
.panel {
    background: rgba(0,0,0,0.7);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
    transition: 0.3s;
}

.panel:hover {
    box-shadow: 0 0 30px cyan;
}

/* Avatar */
.avatar-panel {
    display: flex;
    gap: 20px;
    align-items: center;
}

.avatar {
    width: 120px;
    border-radius: 50%;
    box-shadow: 0 0 15px gold;
}

/* Leaderboard */
.leaderboard {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard th, .leaderboard td {
    padding: 10px;
    border-bottom: 1px solid #444;
}

.leaderboard tr:hover {
    background: rgba(255,255,255,0.1);
}

/* Glow Text */
.glow-text {
    text-align: center;
    font-size: 36px;
    text-shadow:
        0 0 10px cyan,
        0 0 20px blue,
        0 0 30px white;
}

/* Admin Panel */
.admin-panel a {
    display: inline-block;
    margin-right: 15px;
    color: gold;
    font-weight: bold;
}
/*.status {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}*/
.server-status {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.server-status.online,
.server-status.offline {
    opacity: 1;
}
.server-status {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    padding: 12px 20px;
    border-radius: 8px;

    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;

    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.6);

    display: flex;
    align-items: center;
    gap: 10px;

    text-shadow: 0 0 10px currentColor;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.online {
    color: #00ff66;
}

.online .status-dot {
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66, 0 0 20px #00ff66;
}

.offline {
    color: #ff0033;
}

.offline .status-dot {
    background: #ff0033;
    box-shadow: 0 0 10px #ff0033, 0 0 20px #ff0033;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.download-btn {
    background: linear-gradient(45deg, #00ff66, #00ccff);
    padding: 8px 18px;
    border-radius: 6px;
    color: black !important;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.gm-panel {
    margin-top: 30px;
    border: 1px solid #ff4444;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(20, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.gm-header {
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ff4444;
    text-align: center;
}

.gm-content {
    display: none;
    padding: 15px;
    flex-direction: column;
    gap: 10px;
}

.gm-content a {
    display: block;
    padding: 10px;
    background: rgba(255,0,0,0.1);
    border-radius: 6px;
    text-decoration: none;
    color: #ff8888;
    transition: 0.3s;
}

.gm-content a:hover {
    background: rgba(255,0,0,0.3);
    box-shadow: 0 0 10px red;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.store-item {
    background: rgba(0,0,0,0.7);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.store-item button {
    margin-top: 10px;
    padding: 10px 15px;
    border: none;
    background: cyan;
    font-weight: bold;
    cursor: pointer;
}

.news-post {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    border-left: 4px solid cyan;
    border-radius: 8px;
}

/* Background */
body {
    background: url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Georgia, serif;
    color: #e6d3a3;
}

/* Dark overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

/* Main Wrapper */
.co-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* Main Panel */
.co-panel {
    width: 900px;
    padding: 40px;
    background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
    border: 3px solid #8b6f2d;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

/* Title */
.co-title {
    text-align: center;
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255,215,0,0.7);
    letter-spacing: 3px;
}

/* News Card */
.co-news-card {
    padding: 25px;
    margin-bottom: 30px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #5c4520;
    box-shadow: inset 0 0 20px rgba(255,215,0,0.1);
}

/* News Title */
.co-news-card h2 {
    color: #ffd700;
    margin-bottom: 10px;
}

/* Meta */
.co-meta {
    font-size: 13px;
    color: #a88c4f;
    margin-bottom: 15px;
}

/* Content */
.co-content {
    line-height: 1.6;
    color: #e6d3a3;
}

.co-header {
    width: 100%;
    padding: 25px 0;
    text-align: center;
    background: linear-gradient(to bottom, #2b1d0e, #140e06);
    border-bottom: 2px solid #8b6f2d;
    box-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.co-logo {
    font-size: 48px;
    color: #ffd700;
    letter-spacing: 4px;
    text-shadow: 0 0 15px gold;
    font-weight: bold;
}

.co-server-status {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 2px;
}

.co-nav {
    width: 100%;
    display: block;
}

.co-nav a {
    color: #d4af37;
    margin: 0 25px;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.co-nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px gold;
}

.co-panel {
    width: 1000px;
    padding: 50px;
    margin-bottom: 100px;

    background: linear-gradient(to bottom, #1b1308, #0f0a04);
    border: 4px solid #6e5424;
    box-shadow: 
        0 0 40px rgba(255,215,0,0.4),
        inset 0 0 30px rgba(255,215,0,0.1);
}

.co-news-card {
    position: relative;
    padding-bottom: 40px;
}

.co-news-card::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, transparent, gold, transparent);
    margin-top: 30px;
}