body, html {
    margin: 0;
    padding: 0;
    height: 100%;
//    background: url('/css/background.png') no-repeat center center fixed;
}

.palworld-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
//    background: url('/css/background.png') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

.server-poster {
    max-width: 80%;
    max-height: 60vh;
    margin-top: 50px;
    margin-bottom: 20px;
    opacity: 0.7;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.server-info {
    background-color: rgba(0,0,0,0.6);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.copyable-input {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.copyable-input input {
    flex-grow: 1;
    padding: 10px;
    margin-right: 10px;
    background-color: #f4f4f4;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #45a049;
}

.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #ffeb3b;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.channel-links {
    margin-top: 20px;
}

.channel-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.channel-links a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}
.guide-section {
    background-color: rgba(0,0,0,0.6);
    padding: 40px 30px;
    border-radius: 10px;
    margin-top: 40px;
    max-width: 900px;
    width: 90%;
}

.guide-section h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #fff;
}

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

.guide-step {
    text-align: center;
}

.guide-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    border: 3px solid rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    margin: 0 auto;
    display: block;
}

.guide-image:hover {
    transform: scale(1.05);
    border-color: #667eea;
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.5);
    cursor: pointer;
}

.step-label {
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #667eea;
}
/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3em;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
.server-config-section {
    background-color: rgba(0,0,0,0.6);
    padding: 40px 30px;
    border-radius: 10px;
    margin-top: 40px;
    max-width: 900px;
    width: 90%;
}

.server-config-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #fff;
}

.config-error {
    background-color: rgba(255, 107, 107, 0.2);
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.config-error p {
    color: #ff6b6b;
    margin: 0;
    font-weight: 600;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.config-field {
    display: flex;
    flex-direction: column;
}

.config-field label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.95em;
}

.config-field input[type="text"],
.config-field input[type="number"] {
    padding: 12px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.config-field input[readonly] {
    background-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

.config-field input:not([readonly]):focus {
    outline: none;
    border-color: #667eea;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}
.discord-news-section {
    background-color: rgba(0,0,0,0.6);
    padding: 40px 30px;
    border-radius: 10px;
    margin-top: 40px;
    max-width: 900px;
    width: 90%;
}

.discord-news-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8em;
    color: #fff;
}

.news-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 1.1em;
}

.discord-widget-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

widgetbot {
    display: block;
    border-radius: 10px;
}
