body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #1e90ff;
    color: white;
    text-align: center;
    position: relative; /* Create a stacking context */
    z-index: 1; /* Ensure content is above the video */
}

.header {
    background: none;
    padding: 20px 0;
    position: relative;
    z-index: 5;
}

.header-container {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.minecraft-ip, .discord-link {
    display: flex;
    align-items: center;
}

.ip-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    align-items: center;
}

.ip-center button {
    padding: 6px 12px;
    background: #4caf50;
    border: none;
    color: white;
    font-size: 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease
}

.ip-center button:hover {
    background: #45a049;
}

.ip-row {
    display: flex;
    align-items: center;
    gap: 6px; /* space between player count and button */
    margin-top: -20px;
}

.ip-row span {
    font-size: 24px;
    font-weight: normal;
}

.copy-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.copy-btn img {
    width: 24px; /* or 20px if you want it tighter */
    height: 24px;
    display: block;
    background: none;
}


.copy-btn:hover img {
    transform: scale(1.1);
}

/* Ensure the background video stays behind everything */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Keep it behind other elements */
}

.main-banner img {
    width: 50%;
    height: 50%;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

.buttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button {
    display: inline-block;
    background: none;
    padding: 0;
    margin: 0 10px;
    border-radius: 0;
    text-decoration: none;
}

.button img {
    width: 256px; /* adjust size as needed */
    height: auto;
    transition: transform 0.2s ease;
}

.button img:hover {
    transform: scale(1.05);
}

/* Discord link styling */
.discord-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: opacity 0.2s ease;
}
.discord-link:hover {
    opacity: 0.85;
}

.discord-link img {
    width: 124px;
    height: 124px;
    border-radius: 50%;
}

.discord-text p {
    margin: 0;
    font-weight: bold;
    font-size: 24px;
}

.discord-text span {
    font-size: 24px;
    color: #f0f0f0;
}

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 30;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Content Box */
.modal-content {
    background-color: rgba(30, 30, 30, 0.55);
    margin: 10% auto;
    padding: 30px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Close Button */
.close {
    position: absolute;
    top: 12px;
    right: 16px;
    color: #ccc;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

/* Vote Links */
.vote-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.vote-links li {
    margin: 10px 0;
}

.vote-links a {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    background: #111;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.vote-links a:hover {
    background: #333;
    transform: scale(1.03);
}
