* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

body {
    color: #fff;
    overflow-x: hidden;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-bright: rgba(255, 255, 255, 0.2);
    --glass-shine: rgba(255, 255, 255, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --glass-blur: 30px;
    --glass-saturate: 220%;
}

.glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 var(--glass-shine),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

.glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

.glass-liquid {
    position: relative;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(50px) saturate(250%) brightness(1.1);
    -webkit-backdrop-filter: blur(50px) saturate(250%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        inset 0 2px 4px rgba(255, 255, 255, 0.05),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        inset 2px 0 4px rgba(255, 255, 255, 0.02),
        inset -2px 0 4px rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.glass-liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(120, 130, 180, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.glass-liquid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent 100%
    );
}

.glass-refraction {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 0 60px rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.glass-refraction::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 30%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    filter: blur(8px);
    pointer-events: none;
    animation: refractionMove 8s ease-in-out infinite;
}

.glass-refraction::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 20%;
    height: 20%;
    background: radial-gradient(
        ellipse at center,
        rgba(200, 220, 255, 0.1) 0%,
        transparent 70%
    );
    filter: blur(6px);
    pointer-events: none;
    animation: refractionMove 10s ease-in-out infinite reverse;
}

@keyframes refractionMove {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate(20%, 10%) scale(1.1); opacity: 1; }
    50% { transform: translate(10%, 20%) scale(0.9); opacity: 0.6; }
    75% { transform: translate(-10%, 5%) scale(1.05); opacity: 0.9; }
}

a { text-decoration: none; color: inherit; }
li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    touch-action: none;
}

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(60, 60, 70, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at 80% 100%, rgba(40, 40, 50, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #070708 0%, #020203 100%);
    z-index: -1;
    pointer-events: none;
}

.page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 20% 30%, rgba(100, 120, 180, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 25% at 80% 70%, rgba(130, 100, 160, 0.05) 0%, transparent 50%);
    animation: bgGlow 25s ease-in-out infinite;
}

@keyframes bgGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    animation: titleFadeIn 1.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, titleFloat 4s ease-in-out infinite 2s;
    cursor: pointer;
    user-select: none;
}

@keyframes titleFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 8px)); }
}

.hero-title:hover {
    animation-play-state: paused;
    animation: titleFadeIn 1.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title h1 {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    white-space: nowrap;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #e0e0e0 50%,
        #c8c8c8 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.hero-title:hover h1 {
    transform: scale(1.03) translateY(-4px);
    filter: drop-shadow(0 8px 30px rgba(255, 255, 255, 0.2));
}

@keyframes titleFadeIn {
    0%{ opacity: 0; transform: translate(-50%,-50%) translateY(40px); }
    100%{ opacity: 1; transform: translate(-50%,-50%); }
}

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    width: calc(100% - 40px);
    max-width: 1200px;
    padding: 14px 40px;
    border-radius: 60px;
    z-index: 999;
    opacity: 0;
    animation: navIn 1s 0.3s forwards;
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(60px) saturate(250%) brightness(1.1);
    -webkit-backdrop-filter: blur(60px) saturate(250%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        inset 0 2px 4px rgba(255, 255, 255, 0.04),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 60% 80% at 30% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 70% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 60px;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.25) 70%,
        transparent 100%
    );
}

.header.scrolled {
    animation: none;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes navIn {
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo-img {
    height: 40px;
    opacity: 0;
    animation: logoIn 1.2s 0.5s forwards;
}

@keyframes logoIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

.desktop-nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.dropdown { position: relative; }

.dropdown-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.isolated-glass {
    background: rgba(15, 15, 20, 0.85) !important;
    backdrop-filter: blur(60px) saturate(250%) brightness(1.1) !important;
    -webkit-backdrop-filter: blur(60px) saturate(250%) brightness(1.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        inset 0 2px 4px rgba(255, 255, 255, 0.03),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999 !important;
    position: relative;
    overflow: hidden;
}

.isolated-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
}

.dropdown-menu {
    position: fixed;
    min-width: 190px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(60px) saturate(250%) brightness(1.1);
    -webkit-backdrop-filter: blur(60px) saturate(250%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.03),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.12);
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    display: none;
    padding: 6px 10px;
    z-index: 1002;
}

.mobile-nav {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 420px;
    border-radius: 28px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(60px) saturate(250%) brightness(1.1);
    -webkit-backdrop-filter: blur(60px) saturate(250%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 35px 120px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        inset 0 2px 4px rgba(255, 255, 255, 0.04),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.mobile-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mobile-dropdown {
    padding: 0 24px;
}

.mobile-dropdown-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16.5px;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.mobile-dropdown-menu, .dropdown-menu.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-dropdown-menu.active, .dropdown-menu.mobile-dropdown-menu.active {
    max-height: 300px;
    opacity: 1;
    padding-top: 8px;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 11px 0;
    color: #ddd;
    font-size: 15px;
}

.utc-box, .function-card, .footer {
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(50px) saturate(250%) brightness(1.1);
    -webkit-backdrop-filter: blur(50px) saturate(250%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        inset 0 2px 4px rgba(255, 255, 255, 0.04),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.utc-box::before, .function-card::before, .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(80, 90, 120, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.utc-box::after, .function-card::after, .footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 70%,
        transparent 100%
    );
}

.utc-box {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ccc;
    opacity: 0;
    transform: translateY(40px);
    animation: utcIn 1s 1.0s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes utcIn {
    to { opacity: 1; transform: translateY(0); }
}

.core-functions { 
    min-height: 100vh; 
    scroll-snap-align: start; 
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.function-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.function-card { 
    border-radius: 24px; 
    overflow: hidden; 
    height: 340px; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease, border-color 0.4s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.function-card:nth-child(1) { animation-delay: 0s; }
.function-card:nth-child(2) { animation-delay: 2s; }
.function-card:nth-child(3) { animation-delay: 4s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.function-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    animation-play-state: paused;
}

.card-title { padding: 22px; font-size: 16px; font-weight: 500; }
.card-content { padding: 0 22px 22px; flex: 1; }

.events-content, .youtube-content { 
    display: flex; align-items: center; justify-content: center; 
    min-height: 240px; color: #777; 
}

.footer { 
    padding: 60px 40px 40px;
    margin: 60px;
    border-radius: 32px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.12) 80%,
        transparent 100%
    );
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.footer:hover::before {
    opacity: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer:hover::after {
    opacity: 1;
}

.footer-content { 
    display: grid; 
    grid-template-columns: repeat(4,1fr); 
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
}

.footer-section {
    position: relative;
    padding: 0 8px;
}

.footer-section:first-child {
    padding-left: 0;
}

.footer-section:last-child {
    padding-right: 0;
}

.footer-section + .footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.12) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
}

.footer-section + .footer-section:hover::before {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.footer-section h3 { 
    font-size: 16px; 
    margin-bottom: 20px; 
    color: #fff; 
    font-weight: 500;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.footer-section:hover h3::after {
    width: 36px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.footer-section p, .footer-section a { color: #888; font-size: 14px; line-height: 2; transition: all 0.3s ease; }

.footer-section a:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.social-icon { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 12px; 
    color: #888;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover { 
    color: #fff; 
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.side-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(40px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999999;
    opacity: 0;
    animation: sideBtnIn 1s 1.2s ease forwards;
}

@keyframes sideBtnIn {
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.side-buttons a {
    width: 44px; height: 44px;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(60px) saturate(250%) brightness(1.2);
    -webkit-backdrop-filter: blur(60px) saturate(250%) brightness(1.2);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        inset 1px 0 0 rgba(255, 255, 255, 0.05),
        inset -1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.side-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.side-buttons a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
}

.side-buttons a:hover {
    background: rgba(15, 15, 25, 0.6);
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.side-buttons a img {
    width: 20px; height: 20px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }

    .header {
        top: 12px;
        width: calc(100% - 24px);
        padding: 12px 24px;
        border-radius: 50px;
    }

    .function-cards { 
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .function-card {
        height: auto;
        min-height: 300px;
    }

    .hero-title h1 { 
        font-size: 3.5rem;
        letter-spacing: 4px;
    }

    .footer {
        margin: 20px;
        padding: 40px 24px 30px;
        border-radius: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .header { 
        border-radius: 40px; 
        padding: 10px 20px;
    }
    .mobile-nav { 
        width: calc(100% - 24px); 
        border-radius: 24px;
    }

    .hero-title h1 { 
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .footer {
        margin: 16px;
        padding: 30px 20px 24px;
        border-radius: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-section h3 {
        margin-bottom: 14px;
    }
}