:root {
    --bg: #030305;
    --panel-bg: rgba(10, 12, 18, 0.6);
    --accent: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.4);
    --ua-blue: #0057b7;
    --ua-yellow: #ffd700;
    --text: #f1f5f9;
    --text-muted: #64748b;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 5vw 10vh, rgba(0, 87, 183, 0.15) 0%, transparent 35vw),
        radial-gradient(circle at 85vw 70vh, rgba(255, 215, 0, 0.08) 0%, transparent 45vw);
    background-attachment: fixed;
    padding-top: 100px;
}

/* Навігація */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 10%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 24px; font-weight: 900; letter-spacing: 2px;
    text-transform: uppercase; color: #fff;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.logo span {
    background: linear-gradient(90deg, var(--ua-blue), var(--ua-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav { display: flex; gap: 35px; }

nav a {
    color: var(--text-muted); text-decoration: none;
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; transition: all 0.3s ease;
    padding: 8px 0; position: relative;
}

nav a:hover, nav a.active {
    color: #fff; text-shadow: 0 0 10px var(--accent);
}

nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent);
}

nav a:hover::after, nav a.active::after { width: 100%; }

/* Контейнери та Панелі (Ефект Скла) */
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

.glass-card {
    background: var(--panel-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 30px 60px rgba(0, 240, 255, 0.08);
    transform: translateY(-5px);
}

/* Кнопки */
.btn-neon {
    padding: 16px 45px; font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px; color: #000;
    background: var(--accent); border: none; border-radius: 6px;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
    text-decoration: none; display: inline-block;
}

.btn-neon:hover {
    color: #fff; background: #000;
    box-shadow: 0 0 30px var(--accent), inset 0 0 0 2px var(--accent);
}

/* Сітка Галереї */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px;
}

.gallery-card {
    position: relative; height: 300px; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); cursor: pointer;
}

.gallery-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img { transform: scale(1.1) rotate(0.5deg); }

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(3,3,5,0.95) 10%, rgba(3,3,5,0.4) 60%, transparent);
    opacity: 0; transition: opacity 0.4s ease;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
}

.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h3 { color: var(--accent); margin-bottom: 5px; font-size: 1.3rem; }
