* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0053fe;
    --secondary: #f100fe;
    --mixed: #b03fff;
    --light-primary: #2773ff;
    --light-secondary: #d566ff;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: #202020;
    padding: 0;
    cursor: default;
    margin: 0;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 83, 254, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(241, 0, 254, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(176, 63, 255, 0.08) 0%, transparent 50%),
        #202020;
    z-index: 0;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(0, 83, 254, 0.15) 0%, 
            rgba(176, 63, 255, 0.1) 50%, 
            rgba(241, 0, 254, 0.15) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(241, 0, 254, 0.15) 0%, 
            rgba(176, 63, 255, 0.1) 50%, 
            rgba(0, 83, 254, 0.15) 100%);
    }
}

.window-container {
    position: absolute;
    z-index: 1;
    width: 900px;
    max-width: 90vw;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    transform: translate(-50%, -50%);
}

.window {
    position: relative;
    background: rgba(32, 32, 32, 0.6);
    backdrop-filter: blur(80px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-radius 0.3s ease;
    width: 100%;
    min-height: 0;
}

.window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.08) 0%, 
            rgba(255, 255, 255, 0.02) 50%,
            transparent 100%),
        radial-gradient(circle at 50% 0%, 
            rgba(0, 83, 254, 0.1) 0%, 
            transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(0, 83, 254, 0.03) 0%, 
            rgba(176, 63, 255, 0.02) 50%,
            rgba(241, 0, 254, 0.03) 100%);
    pointer-events: none;
    z-index: 0;
}

.window.dragging {
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.window.maximized {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100% !important;
    height: 100vh !important;
    display: flex;
    flex-direction: column;
}

.window.maximized .window-content {
    flex: 1;
    min-height: calc(100vh - 48px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-container.maximized {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.title-bar {
    height: 48px;
    background: rgba(45, 45, 48, 0.7);
    backdrop-filter: blur(60px) saturate(200%) brightness(1.05);
    -webkit-backdrop-filter: blur(60px) saturate(200%) brightness(1.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 16px;
    user-select: none;
    -webkit-user-select: none;
    cursor: move;
    -webkit-app-region: drag;
    position: relative;
    z-index: 1;
}

.title-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 83, 254, 0.3) 20%,
        rgba(176, 63, 255, 0.3) 50%,
        rgba(241, 0, 254, 0.3) 80%,
        transparent 100%);
    opacity: 0.6;
}

.title-bar:active {
    cursor: grabbing;
}

.title-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.window-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.window-title {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.title-bar-controls {
    display: flex;
    gap: 0;
    align-items: center;
    -webkit-app-region: no-drag;
    margin-left: auto;
}

.window-button {
    width: 46px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.15s ease;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    margin: 0;
}

.window-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.window-button:active {
    background: rgba(255, 255, 255, 0.2);
}

.window-button.close:hover {
    background: #e81123;
    color: white;
}

.window-button.close:active {
    background: #c50e1e;
}

.window-button i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.window-button.maximize i {
    font-size: 9px;
}

.window-button.maximize.restored i {
    font-size: 8px;
}

.window-button.minimize:hover i,
.window-button.maximize:hover i {
    transform: scale(1.1);
}

.window-button.close:hover i {
    transform: scale(1.15);
}

.window-content {
    position: relative;
    padding: 80px 50px;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 83, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(241, 0, 254, 0.08) 0%, transparent 50%),
        rgba(25, 25, 25, 0.3);
    z-index: 1;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 83, 254, 0.2));
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.message-card {
    background: rgba(40, 40, 45, 0.4);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px 45px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary) 0%,
        var(--mixed) 50%,
        var(--secondary) 100%);
    opacity: 0.8;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 83, 254, 0.3);
}

.title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.divider {
    margin-top: 35px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 100%);
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--light-primary), var(--light-secondary));
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(39, 115, 255, 0.6);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 25s ease-in-out infinite;
    mix-blend-mode: screen;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -80px;
    left: -80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: 8s;
}

.shape-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--mixed) 0%, transparent 70%);
    top: 50%;
    right: -70px;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.25;
    }
    25% {
        transform: translate(40px, -40px) scale(1.15) rotate(90deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        transform: translate(20px, -20px) scale(1.05) rotate(270deg);
        opacity: 0.28;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .window-content {
        padding: 50px 30px;
        min-height: 500px;
    }
    
    .window {
        border-radius: 10px;
    }
    
    .title-bar {
        height: 44px;
        padding: 0 10px;
    }
    
    .window-button {
        width: 42px;
        height: 30px;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .logo-container {
        margin-bottom: 40px;
    }
    
    .message-card {
        padding: 40px 35px;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 25px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .divider {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .window-content {
        padding: 40px 25px;
        min-height: 450px;
    }
    
    .window {
        border-radius: 8px;
    }
    
    .title-bar {
        height: 40px;
        padding: 0 8px;
    }
    
    .window-title {
        font-size: 12px;
    }
    
    .window-icon {
        width: 18px;
        height: 18px;
    }
    
    .window-button {
        width: 38px;
        height: 28px;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .message-card {
        padding: 35px 25px;
        border-radius: 12px;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 20px;
    }
    
    .title {
        font-size: 1.75rem;
        margin-bottom: 18px;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .divider {
        margin-top: 25px;
    }
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.taskbar.visible {
    display: flex;
}

.taskbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.taskbar-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.taskbar-item:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.15);
}

.taskbar-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.taskbar-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Smooth scrolling and selection */
::selection {
    background: var(--mixed);
    color: white;
}

::-moz-selection {
    background: var(--mixed);
    color: white;
}

