body { 
    font-family: 'Inter', sans-serif; 
    background-color: #09090B !important; 
    color: #FFFFFF; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}

section {
    background-color: transparent !important;
}

.glass { 
    background: rgba(24, 24, 27, 0.4) !important; 
    backdrop-filter: blur(20px) !important; 
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
}

.bg-gradient-mocha { 
    background: linear-gradient(135deg, #3390EC 0%, #2280D1 100%) !important; 
}

.text-gradient { 
    background: linear-gradient(to right, #3390EC, #FFFFFF); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* Фиксированный живой фон */
.midnight-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: #09090B;
    overflow: hidden;
    pointer-events: none;
}

.orb-1 {
    position: absolute;
    top: -10%;
    left: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(51, 144, 236, 0.35) 0%, rgba(51, 144, 236, 0) 75%);
    filter: blur(100px);
    border-radius: 50%;
}

.orb-2 {
    position: absolute;
    bottom: -10%;
    right: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 75%);
    filter: blur(100px);
    border-radius: 50%;
}

/* Bento Shadows */
.bento-card { 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.bento-card:hover { 
    transform: translateY(-5px) scale(1.01); 
    border-color: rgba(51, 144, 236, 0.4) !important; 
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8); 
}

/* Хедер с эффектом стекла */
header {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent !important;
}

header.scrolled {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Свечение для кнопок */
.glow-button {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(51, 144, 236, 0.2);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 30px rgba(51, 144, 236, 0.5);
    transform: translateY(-2px);
}

/* Пульсация для кнопки Telegram */
.tg-pulse {
    animation: tg-pulse 2s infinite;
}

@keyframes tg-pulse {
    0% { box-shadow: 0 0 0 0 rgba(51, 144, 236, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(51, 144, 236, 0); }
    100% { box-shadow: 0 0 0 0 rgba(51, 144, 236, 0); }
}

/* Магнитный эффект (базовый класс) */
.magnetic {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-scrollbar::-webkit-scrollbar { 
    width: 6px; 
}

.custom-scrollbar::-webkit-scrollbar-track { 
    background: transparent; 
}

.custom-scrollbar::-webkit-scrollbar-thumb { 
    background: rgba(51, 144, 236, 0.2); 
    border-radius: 10px; 
}
