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

body {
    overflow: hidden;
}

.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.apple-logo {
    width: 120px;
    height: 135px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #c0c0c0 100%);
    border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
    position: relative;
    margin-bottom: 60px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.5),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.apple-logo::before {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 50%;
    top: 25px;
    left: -20px;
}

.apple-logo::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 35px;
    right: 20px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.progress-bar-container {
    width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #0099cc 50%, #00d4ff 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.progress-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 20px;
    letter-spacing: 1px;
}

.version-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    margin-top: 40px;
    letter-spacing: 0.5px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.progress-bar {
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00d4ff 25%, 
        #0099cc 50%, 
        #00d4ff 75%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 10;
}

.login-screen.show {
    opacity: 1;
    visibility: visible;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.login-container {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 40px;
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.avatar-icon {
    font-size: 50px;
}

.user-name {
    font-size: 24px;
    color: white;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.password-container {
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.password-input {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.login-options {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.option-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.caps-lock-warning {
    display: none;
    color: #ffcc00;
    font-size: 12px;
    margin-top: 20px;
    animation: pulse 1s ease-in-out infinite;
}

.caps-lock-warning.show {
    display: block;
}

.login-footer {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.time-display {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 2px;
}

.date-display {
    font-size: 14px;
    margin-top: 4px;
    letter-spacing: 1px;
}

.desktop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.desktop.show {
    display: block;
}

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 100;
}

.menu-left {
    display: flex;
    gap: 15px;
}

.menu-item {
    position: relative;
    color: white;
    font-size: 13px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu-item span {
    display: block;
}

.menu-item #apple-menu span {
    font-size: 18px;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(40, 40, 40, 0.98);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s;
    z-index: 200;
    overflow: hidden;
}

.menu-item:hover .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 20px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(0, 139, 255, 0.6);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-status {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 13px;
}

.status-icon {
    font-size: 14px;
}

.status-time {
    font-variant-numeric: tabular-nums;
}

.desktop-icons {
    position: absolute;
    top: 40px;
    left: 18px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    max-width: 800px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    width: 80px;
}

.desktop-icon:hover {
    transform: scale(1.1);
}

.icon-image {
    font-size: 48px;
    margin-bottom: 4px;
}

.icon-label {
    color: white;
    font-size: 11px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dock {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    z-index: 99;
}

.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s;
}

.dock-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
}

.dock-item.active {
    background: rgba(255, 255, 255, 0.15);
}

.dock-icon {
    font-size: 40px;
}

.dock-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.windows-container {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.window {
    position: absolute;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    pointer-events: auto;
    min-width: 400px;
    min-height: 300px;
    z-index: 50;
}

.window.active {
    z-index: 60;
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(40, 40, 40, 0.9);
    cursor: move;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot.close {
    background: #ff5f57;
}

.window-dot.minimize {
    background: #ffbd2e;
}

.window-dot.maximize {
    background: #28c840;
}

.window-title {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.window-content {
    padding: 20px;
    color: white;
    font-size: 13px;
    height: calc(100% - 36px);
    overflow: auto;
}

.finder-sidebar {
    width: 150px;
    float: left;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.finder-sidebar-item {
    padding: 6px 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.finder-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.finder-sidebar-item.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.finder-content {
    margin-left: 165px;
    height: 100%;
}

.finder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.finder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.finder-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.finder-item-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.finder-item-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.about-window-content {
    text-align: center;
}

.about-logo {
    font-size: 64px;
    margin-bottom: 20px;
}

.about-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 5px;
}

.about-version {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.about-button {
    padding: 8px 20px;
    background: rgba(0, 139, 255, 0.8);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.about-button:hover {
    background: rgba(0, 139, 255, 1);
}

.system-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.settings-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.settings-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.settings-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.settings-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.safari-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.safari-address-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.safari-address-bar input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 12px;
    outline: none;
}

.safari-address-bar button {
    padding: 8px 16px;
    background: rgba(0, 139, 255, 0.8);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.safari-page {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 20px;
    overflow: auto;
}

.safari-page h1 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.safari-page p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.messages-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.messages-list {
    flex: 1;
    overflow: auto;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.message-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.message-info {
    flex: 1;
}

.message-name {
    font-size: 13px;
    color: white;
}

.message-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.message-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.sound-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.sound-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sound-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.sound-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(0, 139, 255, 0.8);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.alert-sounds {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.alert-sound-item {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
}

.alert-sound-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.alert-sound-item.active {
    background: rgba(0, 139, 255, 0.3);
    border-color: rgba(0, 139, 255, 0.5);
    color: white;
}

.battery-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.battery-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.battery-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.battery-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.display-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.display-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.display-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.display-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.schedule-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.schedule-option {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
}

.schedule-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.schedule-option.active {
    background: rgba(0, 139, 255, 0.3);
    border-color: rgba(0, 139, 255, 0.5);
    color: white;
}

.mouse-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.mouse-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mouse-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.mouse-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.keyboard-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.keyboard-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.keyboard-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.keyboard-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.shortcut-name {
    color: white;
    font-size: 13px;
}

.shortcut-keys {
    font-family: -apple-system, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
}

.privacy-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.privacy-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.privacy-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.privacy-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.privacy-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.privacy-icon {
    font-size: 20px;
    margin-right: 15px;
}

.privacy-info {
    flex: 1;
}

.privacy-name {
    font-size: 13px;
    color: white;
}

.privacy-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.privacy-status {
    font-size: 12px;
    color: rgba(0, 139, 255, 0.8);
    font-weight: 500;
}

.network-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.network-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.network-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.network-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.wifi-network {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.wifi-network:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wifi-network.active {
    background: rgba(0, 139, 255, 0.2);
    border: 1px solid rgba(0, 139, 255, 0.3);
}

.wifi-name {
    flex: 1;
    color: white;
    font-size: 13px;
}

.wifi-signal {
    font-size: 14px;
    margin-right: 10px;
}

.wifi-security {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.network-detail {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.6);
}

.network-detail span:last-child {
    color: white;
}

.bluetooth-device {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 5px;
}

.bluetooth-device.available:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bluetooth-icon {
    font-size: 20px;
    margin-right: 12px;
}

.bluetooth-info {
    flex: 1;
}

.bluetooth-name {
    font-size: 13px;
    color: white;
}

.bluetooth-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.bluetooth-battery {
    font-size: 12px;
    color: #4CAF50;
    font-weight: 500;
}

.bluetooth-connect {
    font-size: 12px;
    color: rgba(0, 139, 255, 0.8);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
}

.bluetooth-connect:hover {
    background: rgba(0, 139, 255, 0.2);
}

.general-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.general-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.general-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.general-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.about-detail {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
}

.about-detail span:last-child {
    color: white;
}

.wallpaper-preview {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.wallpaper-option {
    aspect-ratio: 1;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.wallpaper-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.wallpaper-option.active {
    border-color: rgba(0, 139, 255, 0.8);
}

.screen-saver-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.screen-saver-option {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.screen-saver-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.screen-saver-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.screen-saver-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.users-tab {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    transition: all 0.2s;
}

.users-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.users-tab.active {
    background: rgba(0, 139, 255, 0.3);
    color: white;
}

.users-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.user-avatar {
    font-size: 80px;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.user-mini-avatar {
    font-size: 32px;
    margin-right: 15px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 13px;
    color: white;
}

.user-type {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.user-status {
    padding-right: 10px;
}

.login-display-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.login-display-option {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.login-display-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.login-display-option.active {
    background: rgba(0, 139, 255, 0.2);
    border-color: rgba(0, 139, 255, 0.5);
}

.login-display-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.login-display-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Game Styles */
.snake-game, .dodger-game {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.snake-header, .dodger-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    width: 100%;
    justify-content: center;
}

.snake-score, .dodger-score, .dodger-level {
    font-size: 16px;
    font-weight: 600;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
}

.dodger-level {
    color: #FF9800;
    background: rgba(255, 152, 0, 0.2);
}

.snake-btn, .dodger-btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.snake-btn:first-child, .dodger-btn:first-child {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.snake-btn:first-child:hover, .dodger-btn:first-child:hover {
    background: linear-gradient(135deg, #43a047, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.snake-btn:nth-child(2), .dodger-btn:nth-child(3) {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.snake-btn:nth-child(2):hover, .dodger-btn:nth-child(3):hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.snake-btn:last-child, .dodger-btn:last-child {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.snake-btn:last-child:hover, .dodger-btn:last-child:hover {
    background: linear-gradient(135deg, #d32f2f, #c62828);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.snake-game-area, .dodger-game-area {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

#snake-canvas, #dodger-canvas {
    display: block;
    background: #1a1a2e;
}

.snake-controls, .dodger-controls {
    text-align: center;
}

.snake-controls-info, .dodger-controls-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}