/* ==============================
   RESET I PODSTAWY
============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', 'Inter', serif;
}

body {
    background-color: #2c1e0f; /* ciemny brąz */
    color: #eee;
    line-height: 1.6;
    font-family: 'Cinzel', 'Inter', serif;
    background-attachment: fixed;
}

/* ==============================
   HEADER / NAV
============================== */
header {
    background: url('https://i.imgur.com/2sM1Qqj.jpg') no-repeat center center;
    background-size: cover;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 3px solid #ffd700;
    backdrop-filter: blur(2px);
}

header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 2px 2px 5px #000;
}

header nav {
    display: flex;
    gap: 20px;
}

header nav a {
    color: #f0e6c2;
    font-weight: 600;
    text-shadow: 1px 1px 2px #000;
    transition: color 0.3s, text-shadow 0.3s;
}

header nav a:hover {
    color: #ffd700;
    text-shadow: 2px 2px 4px #000;
}

/* ==============================
   HERO SECTION
============================== */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: url('https://i.imgur.com/2sM1Qqj.jpg') no-repeat center center;
    background-size: cover;
    border-bottom: 2px solid #ffd700;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}

.hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px #000;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f0e6c2;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background-color: #ffd700;
    color: #1b1b1b;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 2px 2px 5px #000, 0 0 10px #ffd70080 inset;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 0 15px #ffd700;
}

/* ==============================
   SEKCJE OGÓLNE
============================== */
section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
    background: url('https://i.imgur.com/3P6N8E5.jpg') no-repeat center center; /* drewno */
    background-size: cover;
    backdrop-filter: blur(3px);
    border-radius: 10px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

h1, h2 {
    color: #ffd700;
    text-shadow: 1px 1px 2px #000;
    margin-bottom: 20px;
}

/* ==============================
   SERWERY
============================== */
.servers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.server {
    flex: 1 1 220px;
    background-color: rgba(60, 40, 15, 0.85);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffd700;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.server:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #ffd700, 0 0 15px #000 inset;
    background-color: rgba(75, 45, 20, 0.9);
}

.server strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 1px 1px 2px #000;
}

.status {
    font-weight: bold;
}

.status.online {
    color: #32cd32;
}

.status.offline {
    color: #ff4d4d;
}

/* ==============================
   Hytale Server
============================== */
.hytale-server {
    flex: 1 1 220px;
    background-color: rgba(60, 40, 15, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px #000 inset;
    margin-top: 20px;
}

.hytale-server img {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 2px solid #ffd700;
}

.hytale-server .ip-box {
    background-color: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 6px;
    color: #ffd700;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    user-select: all;
}

.hytale-server .ip-box:hover {
    background-color: rgba(255, 215, 0, 0.2);
}

/* ==============================
   FORMULARZ
============================== */
form input, form textarea, form button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 6px;
    border: 2px solid #ffd700;
    font-size: 1rem;
    background-color: rgba(60, 40, 15, 0.85);
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    background-color: #ffd700;
    color: #1b1b1b;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 2px 2px 5px #000, 0 0 10px #ffd70080 inset;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

form button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 0 15px #ffd700;
}

#form-message {
    font-weight: bold;
    margin-top: 10px;
}

/* ==============================
   DISCORD SECTION
============================== */
#discord {
    text-align: center;
}

#discord .btn {
    margin-top: 15px;
}

/* ==============================
   FOOTER
============================== */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(50, 30, 15, 0.85);
    color: #f0e6c2;
    border-top: 2px solid #ffd700;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* ==============================
   RESPONSYWNOŚĆ
============================== */
@media (max-width: 768px) {
    .servers {
        flex-direction: column;
        align-items: center;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }
}
