.projects-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 350px;
}

.projects-carousel .project-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: right center;
    box-sizing: border-box;
    background: #0f0a18;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1 !important;
}

.projects-carousel .project-card:first-child {
    z-index: 2;
    transform: translateX(0) scale(1);
}

.projects-carousel .project-card.card-overlay {
    z-index: 1;
    transform: translateX(40px) scale(0.95);
}

.projects-carousel:hover .project-card:first-child {
    transform: translateX(-40px) scale(0.95);
    z-index: 1;
}

.projects-carousel:hover .project-card.card-overlay {
    transform: translateX(0) scale(1);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.4);
}

.project-info {
    flex: 1;
    padding-right: 2rem;
}

.project-info h3 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    letter-spacing: -1px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5865F2;
    
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.logo-preview-box {
    margin-top: 1.5rem;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.project-img-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

.placeholder-text {
    position: absolute;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-img-preview[src]+.placeholder-text {
    display: none;
}


.glass-chat-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.glass-chat-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

.glass-chat {
    width: 400px;
    max-width: 90vw;
    background: rgba(15, 10, 20, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(147, 51, 234, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-chat-wrapper.hidden .glass-chat {
    transform: translateY(50px) scale(0.9);
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(147, 51, 234, 0.1);
}

.devyia-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--purple-primary);
    background-image: url('../assets/images/devyia-avatar.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
}

.devyia-info {
    flex: 1;
    margin-left: 1rem;
}

.devyia-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.devyia-info span {
    font-size: 0.8rem;
    color: #4ade80;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.close-btn:hover {
    opacity: 1;
}

.chat-body {
    padding: 1.5rem;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 85%;
}

.bot-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.user-message {
    background: rgba(147, 51, 234, 0.4);
    border: 1px solid rgba(147, 51, 234, 0.6);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    color: white;
}

.chat-footer {
    padding: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.chat-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.chat-input:focus {
    outline: none;
    border-color: var(--purple-light);
}

.chat-footer .send-btn {
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background: var(--purple-primary);
    color: white;
    font-weight: 600;
}

.glass-panel {
    background: rgba(20, 15, 30, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.glass-nav {
    background: rgba(10, 5, 15, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(147, 51, 234, 0.05);
}

.liquid-hover {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

.liquid-hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.3), transparent);
    border-radius: 20px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
    pointer-events: none;
}

.liquid-hover:hover::before {
    width: 100%;
}

.process-card {
    border-color: rgba(147, 51, 234, 0.1);
}

.process-card:hover {
    border-color: var(--purple-glow);
    box-shadow: inset 0 0 20px rgba(147, 51, 234, 0.05), 0 8px 32px rgba(147, 51, 234, 0.15);
}

.card-number {
    font-size: 1.5rem;
    color: var(--purple-light);
    margin-bottom: 1rem;
}

.card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--glass-border) 0%, transparent 100%);
    margin-bottom: 2rem;
}

.process-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
}

.process-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.dark-panel {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.border-purple {
    border-color: rgba(147, 51, 234, 0.3);
}

.purple-gradient-panel {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.8) 0%, rgba(88, 28, 135, 0.9) 100%);
    border: none;
}

.card-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.dark-panel h4,
.purple-gradient-panel h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.dark-panel p,
.purple-gradient-panel p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.9rem;
}

.purple-gradient-panel p {
    color: rgba(255, 255, 255, 0.9);
}

.glass-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--purple-light);
    background: rgba(255, 255, 255, 0.05);
}

.liquid-btn {
    background: linear-gradient(135deg, var(--text-main) 0%, #e2e8f0 100%);
    color: var(--bg-dark);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.liquid-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px var(--purple-glow);
    background: linear-gradient(135deg, #ffffff 0%, var(--purple-light) 200%);
    color: var(--bg-dark);
}