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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   background: linear-gradient(66deg,rgba(1, 35, 59, 1) 2%, rgba(4, 9, 15, 1) 21%, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 1) 94%);
    min-height: 100vh;
    padding-top: 70px; /* miejsce na header */
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(185deg, #0f0f0f, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

/* Logo */
.logo img {
    height: 70px;
    width: auto;
}

/* Menu główne - ul.links */
/* Nowa sekcja: logo + linki */
.left-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Poprawka listy linków */
.links {
    list-style: none;
    display: flex;
    gap: 25px;
    font-weight: 500;
    font-size: 1rem;
}

/* Linki w <li> */
.links li a {
    color: #454959;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-bottom: 12px;
}

.links li a:hover {
    color: #ffffff;
    border-bottom: 1px solid #009cff;
}

.link-active {
    color: #ffffff !important;
    border-bottom: 1px solid #009cff !important; 
}


.loginwithdc {
    width: 25px;
    margin-right: 20px;
    cursor: pointer;
}
/* Main container na całą szerokość */
main {
    width: 100%; 
    padding: 40px;
    padding-top: 100px;
    display: flex;
    justify-content: center;
   
}

.main-content {
    display: flex;
    max-width: 1400px;
    width: 100%;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Lewa kolumna */
.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Status serwera */
.status-box {
    position: relative;
    
    padding: 20px 25px;
    border-left: 6px solid #009cff;
    border-radius: 5px;
    color: #fff;
}

.status-dot {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #009cff;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.status-box h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #009cff;
}

.status-box p {
    font-size: 1.1rem;
}

/* Opis serwera */
.description h1 {
    font-size: 2.3rem;
    color: #009cff;
    margin-bottom: 10px;
}

.description p {
    font-size: 1.2rem;
    color: #dddddd;
}

/* Przyciski */
.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: #009cff;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #38b3ff;
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #009cff;
    color: #009cff;
}

.btn.secondary:hover {
    background-color: #0064a2b6;
    color: #fff;
}

/* Prawa kolumna - obrazek */
.right-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 800px;
}

.right-column img {
    width: 95%;
    max-height: 800px;
    object-fit: cover;
    border-radius: 10px;
}


a.btn {
    display: inline-block;
    margin: 0 10px;
    padding: 14px 30px;
    background-color: #009cff;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

a.btn:hover {
    background-color: #0064a2b6;
}

/* Responsywność */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
        justify-content: center;
        gap: 15px;
    }

    .links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        font-size: 0.9rem;
    }

    nav a {
        margin-left: 10px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    main {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .links {
        flex-direction: column;
        gap: 10px;
    }
}
