@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ===== BODY ===== */
body {
    font-family: 'Roboto', sans-serif;
    background-image: url(/image/bg/bg-1.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    color: white;
}

/* ===== NAV BUTTONS ===== */
.nav-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 900;
    backdrop-filter: blur(6px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ===== CONTENT AREA ===== */
.content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    font-weight: 900;
    color: #ffffff;
}

/* ===== CARD STYLE (стеклянная панель) ===== */
.card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    animation: fade 0.4s ease;
    transition: 0.3s;
}


.card a
{
    text-decoration: none;
    color: #ffffff;
    background: #ffffff3a;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-weight: 900;
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
    width: 100%;
    max-width: 400px;
}

.card a:hover
{
    scale: 1.05;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

h1 {
    margin-top: 0;
    color: white;
}

img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
}

img:hover {
    transform: scale(1.03);
}

/* ===== PAGE VISIBILITY ===== */
.page { 
    display: none; 
}

.page.active { 
    display: block; 
}

/* ===== FADE ANIMATION ===== */
@keyframes fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== GLASS PANELS ===== */
.glass-panel {
    position: absolute;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.glass-panel:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255,255,255,0.15);
}

/* Пример позиции панелей (можно менять под свои элементы) */
.panel-1 { top: 0px; left: -100px; }
.panel-2 { top: 120px; right: -115px; }
.panel-3 { bottom: 150px; left: 20px; }

/* ===== Navbar оставлен полностью без изменений ===== */
/* NAVBAR */

.navbar
{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 40px;
}

.nav-left,
.nav-right
{
    display: flex;
    gap: 30px;
    width: 110%;
}

.nav-left
{
    justify-content: flex-end;
}

.nav-right
{
    justify-content: flex-start;
}

.logo
{
    width: 20%;
    display: flex;
    justify-content: center;
}

.navbar a
{
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;

    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgb(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    padding: 5px;

    font-weight: 900;
    font-size: 20px;
    text-decoration: none;


    transition: 0.3s;
}

.navbar a:hover
{
    scale: 1.1;
}

.logo a
{
    height: 50px;
    transition: 0.3s;
    color: white;
    text-decoration: none;
    font-size: 40px;
    border-radius: 15px;
}

.logo a:hover
{
    scale: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

