/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.glass-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Liquid Glass Animation */
@keyframes liquidGlass {
    0% {
        border-radius: 20px 30px 25px 35px;
    }
    25% {
        border-radius: 30px 25px 35px 20px;
    }
    50% {
        border-radius: 25px 35px 20px 30px;
    }
    75% {
        border-radius: 35px 20px 30px 25px;
    }
    100% {
        border-radius: 20px 30px 25px 35px;
    }
}

.liquid-glass {
    animation: liquidGlass 8s ease-in-out infinite;
}

/* Floating Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Gradient Glass */
.gradient-glass {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* Frosted Glass */
.frosted-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

/* Glass Morphism Shadows */
.glass-shadow {
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.glass-shadow-hover:hover {
    box-shadow: 
        0 15px 45px 0 rgba(31, 38, 135, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* Bubble Effect */
.bubble-effect::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(1px);
}

.bubble-effect::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(1px);
}

/* Glass Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-nav-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.glass-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Glass Modal */
.glass-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Glass Form */
.glass-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.glass-form-group {
    margin-bottom: 1.5rem;
}

.glass-form-label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.glass-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.glass-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Glass Table */
.glass-table {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.glass-table th,
.glass-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.glass-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Glass Badge */
.glass-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    display: inline-block;
}

/* Glass Progress Bar */
.glass-progress {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.glass-progress-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Responsive Glass Effects */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .glass-form {
        padding: 1.5rem;
    }
    
    .glass-modal {
        margin: 1rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .glass-form {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .glass-button {
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
    }
}

