body {
    background: #0b0f14;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
}

h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    letter-spacing: 3px;
    color: #aaa;
}

/* KARTY */
.card {
    background: linear-gradient(145deg, #0d0d0d, #111);
    border: 1px solid #1f1f1f;
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.25s;
}

.card:hover {
    border-color: #444;
    transform: translateY(-3px);
}

.card h2 {
    margin: 0;
    color: #ddd;
}

.card p {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;

    background: #0b0b0b;
    border-left: 2px solid #333;
    padding: 0 20px;
    border-radius: 0 0 10px 10px;
    margin-bottom: 15px;

    color: #ddd;
}

/* OTWARTE */
.content.active {
    max-height: 400px; /* większe żeby nie ucinało */
    padding: 20px;
    overflow-y: auto;
}

/* SCROLL */
.content::-webkit-scrollbar {
    width: 6px;
}

.content::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}


.content {
    color: #ddd;
}

.content span {
    color: #888;
}

.content b {
    color: #9ad;
}
/* PRZYCISKI */
.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #222;
    cursor: pointer;
    transition: 0.25s;
}

/* POWRÓT */
.btn.back {
    background: #0f141a;
    color: #aaa;
}

.btn.back:hover {
    background: #151c24;
    color: #fff;
    border-color: #444;
    transform: translateY(-2px);
}

/* INFO */
.btn.info {
    background: #0a1a1f;
    color: #00d4ff;
    border: 1px solid #003944;
}

.btn.info:hover {
    background: #0f2a31;
    color: #00eaff;
    border-color: #00d4ff;
    transform: translateY(-2px);
}

/* POPUP */
.infoBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.infoBox.show {
    opacity: 1;
    pointer-events: all;
}

.infoContent {
    background: #0b0f14;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    max-width: 90%;

    border: 1px solid #222;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);

    color: #ddd;
    position: relative;
}

/* X zamykania */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #777;
}

.close:hover {
    color: #fff;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #222;
    cursor: pointer;
}

.btn.back {
    background: #0f141a;
    color: #aaa;
}

.btn.info {
    background: #0a1a1f;
    color: #00d4ff;
    border: 1px solid #003944;
}

/* POPUP */
.infoBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.infoBox.show {
    opacity: 1;
    pointer-events: all;
}

.infoContent {
    background: #0b0f14;
    padding: 30px;
    border-radius: 15px;
    width: 500px;
    max-width: 95%;
    border: 1px solid #222;
    position: relative;
}

/* PROFILE */
.profiles {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.profile {
    width: 220px;
    background: #0f141a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
}

.banner {
    height: 80px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profileTop {
    height: 30px;
    padding: 0 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #0f141a;
    margin-top: -30px;
    object-fit: cover;
}

.profileInfo {
    padding: 10px 15px 15px;
}

.id {
    color: #888;
    font-size: 12px;
}

.dev {
    color: #00d4ff;
}

.support {
    color: #9b59ff;
}

/* CLOSE */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}