.glass {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.06),
        transparent
    );
    transform: skewX(-20deg);
    animation: glass-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glass-shimmer {
    0% { left: -50%; }
    100% { left: 150%; }
}

.glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.06) 60%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: inherit;
    opacity: 0.7;
    z-index: -1;
}

.glass-btn {
    position: relative;
    background: rgba(240, 165, 0, 0.12);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(240, 165, 0, 0.3);
    border-radius: 500px;
    color: #f0a500;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 16px rgba(240, 165, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: skewX(-18deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.glass-btn:hover {
    background: rgba(240, 165, 0, 0.22);
    border-color: rgba(240, 165, 0, 0.55);
    box-shadow: 0 4px 24px rgba(240, 165, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.glass-btn:hover::before {
    left: 120%;
}

.glass-btn:active {
    transform: translateY(0) scale(0.98);
    background: rgba(240, 165, 0, 0.28);
}

.glass-nav {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.glass-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        transparent 50%
    );
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.glass-nav.active {
    background: rgba(240, 165, 0, 0.1);
    border-color: rgba(240, 165, 0, 0.35);
    box-shadow: 0 0 20px rgba(240, 165, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

.glass-nav:hover:not(.active) {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-input {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.glass-input:focus {
    border-color: rgba(240, 165, 0, 0.5);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 16px rgba(240, 165, 0, 0.1);
}
