/* Базові стилі */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 70%, #111 100%);
    color: #eaeaea;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
}

/* Header */
.header {
    background: linear-gradient(90deg, #0b0b0b, #1a1a1a);
    text-align: center;
    padding: 18px;
    border-bottom: 2px solid #0077ff;
    box-shadow: 0 0 20px rgba(0,119,255,0.18);
}

.logo {
    width: 180px;
    border-radius: 8px;
    border: 2px solid rgba(0,119,255,0.35);
    transition: transform 0.25s;
}

.logo:hover { transform: scale(1.03); }

h1 {
    color: #00b4ff;
    margin-top: 8px;
    text-shadow: 0 0 10px rgba(0,180,255,0.18);
}

/* Меню */
.menu { margin-top: 8px; }
.menu a {
    color: #00b4ff;
    margin: 0 12px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.25s, text-shadow 0.25s;
}
.menu a:hover {
    color: #ff6600;
    text-shadow: 0 0 8px rgba(255,102,0,0.3);
}
body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    color: #eaeaea;

    /* Фон із зображенням Steam + градієнт */
    background:
        linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(17,17,17,0.85) 100%),
        url('https://cdn.shazoo.ru/812252_S4TolUd_gxntr1nxgaigj7c.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Банер */
.banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-top: 3px solid #0077ff;
    border-bottom: 3px solid #0077ff;
}

/* Контент та галерея */
.content { padding: 22px 0; }
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

/* Картка фото */
.photo {
    background: #141414;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0,119,255,0.18);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
}
.photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(0,119,255,0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 3д ефект при наведенні */
.photo:hover img {
    transform: perspective(600px) rotateY(8deg) rotateX(6deg) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 170, 255, 0.6);
}
.photo:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0,119,255,0.18);
    border-color: rgba(0,180,255,0.6);
}

.photo p {
    padding: 10px;
    font-size: 15px;
    color: #00b4ff;
    font-weight: 600;
}

/* About */
.about {
    background: #101010;
    border: 2px solid rgba(0,119,255,0.35);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 0 14px rgba(0,119,255,0.12);
}
.hidden { display: none; }

/*  соц іконки */
.footer {
    background: linear-gradient(90deg, #0b0b0b, #1a1a1a);
    text-align: center;
    padding: 18px;
    margin-top: 18px;
    border-top: 2px solid #0077ff;
}
.social-icons { margin-top: 12px; }
.social-icons a {
    display: inline-block;
    margin: 0 10px;
    border-radius: 50%;
    padding: 6px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.02);
}
.social-icons img {
    width: 44px;
    height: 44px;
    display: block;
    border-radius: 50%;
}
.social-icons a:hover {
    transform: scale(1.18);
    border-color: rgba(0,180,255,0.8);
    box-shadow: 0 0 18px rgba(0,180,255,0.28);
}

/* Модальне вікно */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal.hidden { display: none; }
.modal-content {
    width: 320px;
    max-width: calc(100% - 40px);
    padding: 18px;
    border-radius: 10px;
    background: linear-gradient(180deg,#070707,#0f0f0f);
    border: 2px solid rgba(0,119,255,0.35);
    box-shadow: 0 10px 30px rgba(0,119,255,0.18);
    color: #e6f7ff;
    text-align: center;
    animation: pop 0.18s ease-out;
}
@keyframes pop {
    from { transform: translateY(10px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-content h3 { margin: 6px 0 10px; color: #00e0ff; }
.modal-content p { color: #cfefff; font-size: 15px; line-height: 1.4; }

/* Кнопка закриття */
.close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: transparent;
    border: none;
    color: #ff9a66;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.18s;
}
.close:hover { color: #00b4ff; }

/* Адаптив */
@media (max-width: 900px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .banner img { height: 240px; object-fit: cover; }
}
@media (max-width: 520px) {
    .gallery { grid-template-columns: 1fr; }
    .logo { width: 140px; }
    .banner img { height: 180px; }
    .photo img { height: 160px; }
}
/* Бокові банери */
.side-banners {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 900;
}

.side-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #0a0a0a;
    border: 2px solid rgba(0,119,255,0.35);
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 120px;
}

.side-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.side-banner span {
    color: #00b4ff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 6px 0;
    background: rgba(0,0,0,0.5);
    width: 100%;
}

.side-banner:hover {
    transform: translateX(-10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,180,255,0.4);
}

.side-banner:hover img {
    transform: scale(1.08);
}

/* Адаптив для мобільних */
@media (max-width: 900px) {
    .side-banners { display: none; }
}
