/* CSS Variables and Root Styles */
:root {
    color-scheme: dark;
    --pink: #ff64d4;
    --blue: #7dd3fc;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --menubar-bg: rgba(30, 30, 35, 0.85);
}

/* macOS Menu Bar */
.menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: var(--menubar-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 9999;
    font-size: 13px;
    font-weight: 500;
}

.menubar-left,
.menubar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menubar-item {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 4px;
    cursor: default;
    user-select: none;
    transition: opacity 0.2s ease;
}

.menubar-item:hover {
    opacity: 0.7;
}

.menubar-bold {
    font-weight: 600;
}

.menubar-item.osu-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.menubar-item.osu-icon:hover {
    opacity: 0.8;
}

.menubar-system-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 12px;
}

.menubar-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.menubar-icon:hover {
    opacity: 1;
}

.apple-icon::before {
    content: '';
    font-size: 15px;
}

.menubar-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

#discord-status-mini {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

/* Dynamic Island Styling */
.discord-dynamic-island {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.island-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.island-expanded {
    position: absolute;
    top: calc(100% + 8px);
    right: 50%;
    transform: translateX(50%) scale(0.9);
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 12px 16px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 280px;
    z-index: 10000;
}

.discord-dynamic-island:hover .island-expanded {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(50%) scale(1);
}

.island-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.island-album-art {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    display: none;
}

.island-album-art.visible {
    display: block;
}

.island-info {
    flex: 1;
    min-width: 0;
}

.island-song {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.island-artist {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.island-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.island-time {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

/* Hide scrollbar for all browsers */
body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Main Background with Gradient Layers */
body {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 120%, rgba(180, 120, 200, 0.1), transparent 50%),
        linear-gradient(180deg, #0a0a0f, #0f0f14 40%, #141419 100%);
    color: #ffffff;
}

/* Noise Texture Overlay */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    background-image: radial-gradient(rgba(199, 199, 199, 0.7) 1px, transparent 1.3px);
    background-size: 3px 3px;
    mix-blend-mode: normal;
}

/* Aurora Background Animation */
.aurora {
    position: fixed;
    inset: -20vh -10vw;
    pointer-events: none;
    filter: blur(80px) saturate(100%);
    opacity: .08;
    mix-blend-mode: screen;
    will-change: transform;
}

.aurora::before,
.aurora::after {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg at 50% 50%, #000000, #000000, #cccccc);
    animation: spin 28s linear infinite;
}

.aurora::after {
    animation-direction: reverse;
    animation-duration: 36s;
    opacity: .6;
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

/* Vector Graphics Background */
.vector {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    filter: blur(0.2px);
}

.vector path {
    stroke: url(#grad);
    stroke-width: 1.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vector .dash {
    stroke-dasharray: 240 600;
    animation: dash 22s linear infinite;
    opacity: .75;
}

.vector .dash2 {
    stroke-dasharray: 180 560;
    animation: dash 28s linear infinite reverse;
    opacity: .55;
}

@keyframes dash {
    to {
        stroke-dashoffset: -800;
    }
}

/* Glass Morphism Effect */
.glass {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: 
        linear-gradient(to bottom, rgba(10, 10, 10, .85), rgba(8, 8, 8, .75)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)) border-box;
    border: 1px solid transparent;
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: var(--shadow, 0 10px 40px rgba(0, 0, 0, .8));
    transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, filter .35s ease, background-position 2s linear;
    background-size: 100% 100%, 200% 200%;
    background-position: 0 0, 0% 50%;
    z-index: 10;
}

.glass:hover {
    background-position: 0 0, 100% 50%;
}

/* Interactive Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
    will-change: transform;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Button Hover Light Effect */
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity .3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    inset: -110% -40%;
    background: radial-gradient(120px 120px at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .08), transparent 55%);
    transition: opacity .25s;
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn:hover::after {
    opacity: 1;
}

/* Floating Animation */
.float {
    animation: floatY 6s ease-in-out infinite;
}

.float.delay-1 {
    animation-delay: .3s;
}

.float.delay-2 {
    animation-delay: .6s;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Ripple Click Effect */
.ripple {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .08) 40%, transparent 70%);
    transform: translate(-50%, -50%) scale(1);
    opacity: .8;
    animation: ripple .7s ease-out forwards;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(14);
        opacity: 0;
    }
}

/* Card Hover Effects with Light Effect */
.card {
    position: relative;
    overflow: hidden;
    transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Hover Light Effect - Bar Style */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.card::after {
    content: "";
    position: absolute;
    inset: -20% 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08) var(--x, 50%), transparent);
    transition: opacity .25s;
    opacity: 0;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::after {
    opacity: 1;
}

/* Reveal Animations */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(.985);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.reveal {
    animation-fill-mode: both;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .aurora,
    .reveal,
    .vector {
        animation: none !important;
    }
    
    .glass,
    .btn,
    .card,
    .float {
        transition: none !important;
        animation: none !important;
    }
}

/* Disable Text Selection */
body,
body * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* Gradient Text Effect */
.gradient-text {
    color: #ffffff;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    transition: filter 0.3s ease;
    padding: 0.2em 0.1em;
    display: inline-block;
    letter-spacing: -0.02em;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0) scale(1.05);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Glowing Orb Behind Title */
.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05), transparent 70%);
    filter: blur(60px);
    animation: orbPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes orbPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Status Dot Animation */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.9);
    }
}

/* Floating Particles Background */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift, 0)) scale(1);
        opacity: 0;
    }
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    mix-blend-mode: screen;
    will-change: left, top;
}

/* Spotify Tooltip Styles */
#discord-status {
    position: relative;
    z-index: 50;
}

.spotify-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

#discord-status.has-spotify:hover .spotify-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.spotify-tooltip-content {
    background: linear-gradient(to bottom, rgba(10, 10, 10, .95), rgba(8, 8, 8, .90));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.spotify-album-art {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.spotify-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.spotify-song {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-artist {
    font-size: 12px;
    color: #a0a0a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-progress-container {
    margin-top: 6px;
}

.spotify-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.spotify-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1db954, #1ed760);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.spotify-time {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #808080;
    margin-top: 4px;
}

/* ============================================
   MACOS WINDOW STYLE
   ============================================ */
.macos-window {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(30, 30, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform-style: preserve-3d;
}

.window-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: rgba(20, 20, 24, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-right: auto;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28c840;
}

.macos-window:hover .control.close:hover {
    background: #ff3b30;
}

.macos-window:hover .control.minimize:hover {
    background: #ffaa00;
}

.macos-window:hover .control.maximize:hover {
    background: #20b030;
}

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.window-content {
    padding: 20px;
}

/* ============================================
   MACOS LINKS LIST
   ============================================ */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.link-item:active {
    transform: translateX(4px) scale(0.98);
}

.link-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-content {
    flex: 1;
    min-width: 0;
}

.link-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2px;
}

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

.link-arrow {
    width: 20px;
    height: 20px;
    opacity: 0.4;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.link-item:hover .link-arrow {
    opacity: 0.8;
    transform: translateX(4px);
}

/* ============================================
   MACOS BACKGROUND ELEMENTS
   ============================================ */
.macos-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

.macos-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.3), transparent 70%);
    top: 10%;
    right: -10%;
    animation: float-glow 20s ease-in-out infinite;
}

.macos-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.25), transparent 70%);
    bottom: 10%;
    left: -10%;
    animation: float-glow 25s ease-in-out infinite reverse;
}

@keyframes float-glow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -80px) scale(1.1);
    }
    66% {
        transform: translate(-80px, 100px) scale(0.9);
    }
}

/* Responsive macOS Window */
@media (max-width: 768px) {
    .macos-window {
        margin: 0 1rem;
    }
    
    .window-title {
        font-size: 12px;
    }
    
    .window-content {
        padding: 16px;
    }
    
    .link-item {
        padding: 10px 12px;
    }
    
    .link-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .link-title {
        font-size: 14px;
    }
    
    .link-description {
        font-size: 11px;
    }
}
/* ============================================
   MACOS DOCK
   ============================================ */
.dock {
  display: flex;
  align-items: center;
  position: fixed;
  padding: 0.2rem 0.5rem 0 0.5rem;
  bottom: 3%;
  left: 50%;
  height: 65px;
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.555);
  z-index: 10;
  animation: top-to-bottom 0.5s ease;
}

@media screen and (max-width: 900px) {
  .dock {
    border-radius: 20px;
  }
}

.dock .point {
  width: 6px;
  height: 6px;
  margin: 0;
  background: #f08080;
  border-radius: 50%;
  display: none;
  animation: top-to-bottom 0.3s;
  transition: 0.3s;
}

.dock .column {
  width: 1px;
  height: 45px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.4);
}

.dock .icon {
  position: relative;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.dock .icon a {
  display: block;
  line-height: 0;
}

.dock .icon img {
  width: 3.6rem;
  transition: 0.2s;
  transform: translateY(-2.5px);
  pointer-events: none;
}

.dock .icon:hover img {
  margin: 0 0 40px 0;
  width: 7.1rem;
}

.dock .icon:hover + * img {
  width: 5.6rem;
  margin: 0 0 25px 0;
}

.dock .icon:hover + .icon img[alt="osu!"] {
  width: 4.6rem !important;
  margin: 0 0 25px 0 !important;
}

.dock .icon:has(+ *:hover) img {
  width: 5.6rem;
  margin: 0 0 25px 0;
}

.dock .icon:has(+ .icon:hover) img[alt="osu!"] {
  width: 4.6rem !important;
  margin: 0 0 25px 0 !important;
}

.dock .icon img:active {
  filter: brightness(0.6) drop-shadow(0 0 10px #2c2c2c);
}

/* Adjust osu logo size */
.dock .icon img[alt="osu!"] {
  width: 2.8rem !important;
}

.dock .icon:hover img[alt="osu!"] {
  width: 6rem !important;
  margin: 0 0 40px 0 !important;
}

.dock .icon:hover + * img[alt="osu!"] {
  width: 4.6rem !important;
  margin: 0 0 25px 0 !important;
}

.dock .icon:has(+ *:hover) img[alt="osu!"] {
  width: 4.6rem !important;
  margin: 0 0 25px 0 !important;
}

/* Adjust trash icon size */
.dock .icon img[alt="Trash"] {
  width: 2.3rem;
  margin: 0 3px;
}

.dock .icon:hover img[alt="Trash"] {
  width: 5.3rem;
  margin: 0 3px 40px 3px;
}

.dock .icon:has(+ *:hover) img[alt="Trash"] {
  width: 4.1rem;
  margin: 0 3px 25px 3px;
}

.dock .icon:hover + * img[alt="Trash"] {
  width: 4.1rem;
  margin: 0 3px 25px 3px;
}

/* Dock Animations */
@keyframes top-to-bottom {
  0% {
    transform: translateX(-50%) translateY(-60px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes zoom-out {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes to-top-bottom {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translateY(-12px);
  }
  50% {
    transform: translateY(-3px);
  }
  75% {
    transform: translateY(-21px);
  }
  100% {
    transform: translateY(0px);
  }
}

    left: 50%;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(circle at 30% 30%, #00f2ea 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, #ff0050 0%, transparent 50%),
        #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dock-icon-instagram {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    border: none !important;
    position: relative;
}

.dock-icon-instagram::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid white;
    border-radius: 22%;
    box-sizing: border-box;
}

.dock-icon-instagram::after {
    content: '';
    position: absolute;
    width: 18%;
    height: 18%;
    border: 3px solid white;
    border-radius: 50%;
    top: 24%;
    right: 24%;
    box-sizing: border-box;
}

.dock-icon-photos {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%) !important;
    border: none !important;
    position: relative;
}

.dock-icon-photos::before {
    content: '';
    position: absolute;
    width: 65%;
    height: 65%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    clip-path: polygon(0 70%, 30% 45%, 60% 65%, 100% 30%, 100% 100%, 0 100%);
    border-radius: 4px;
}

.dock-icon-photos::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 20%;
    background: white;
    border-radius: 50%;
    top: 18%;
    right: 22%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dock-icon-osu {
    background: linear-gradient(135deg, #ff66aa, #ff1493) !important;
    border: none !important;
    position: relative;
}

.dock-icon-osu::before {
    content: 'osu!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    font-size: 0.7rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dock-icon-mail {
    background: linear-gradient(180deg, #1d7aeb 0%, #3d94f6 50%, #1d7aeb 100%) !important;
    border: none !important;
    position: relative;
}

.dock-icon-mail::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 55%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dock-icon-mail::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 13px solid #1d7aeb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Responsive Dock */
@media (max-width: 768px) {
    .dock {
        gap: 6px;
        padding: 6px 10px;
        height: 55px;
    }
    
    .dock .icon img {
        width: 2.8rem !important;
    }
    
    .dock .icon img[alt="osu!"] {
        width: 2.2rem !important;
    }
    
    .dock .icon img[alt="Trash"] {
        width: 1.8rem !important;
    }
    
    .dock .column {
        height: 32px;
    }
    
    .dock-item {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    
    .dock-item.magnify-2 {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }
    
    .dock-item.magnify-1 {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dock-container {
        bottom: 10px;
    }
    
    .dock {
        gap: 4px;
        padding: 6px 8px;
        height: 48px;
    }
    
    .dock .icon img {
        width: 2.2rem !important;
    }
    
    .dock .icon img[alt="osu!"] {
        width: 1.7rem !important;
    }
    
    .dock .icon img[alt="Trash"] {
        width: 1.4rem !important;
    }
    
    .dock .column {
        height: 26px;
    }
    
    .dock-item {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .dock-item.magnify-2,
    .dock-item.magnify-1 {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
}

/* ======================
   LIGHT THEME STYLES
   ====================== */

body.light-theme {
    background: linear-gradient(180deg, #f0f0f5 0%, #e8e8ed 50%, #f5f5fa 100%);
}

body.light-theme .menubar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .menubar-item {
    color: rgba(0, 0, 0, 0.85);
}

body.light-theme .menubar-divider {
    color: rgba(0, 0, 0, 0.2);
}

body.light-theme #discord-status-mini {
    color: rgba(0, 0, 0, 0.85);
}

body.light-theme .dock {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

body.light-theme .noise {
    opacity: 0.015;
}

body.light-theme .aurora {
    opacity: 0.2;
}

body.light-theme .vector {
    opacity: 0.15;
}

body.light-theme footer {
    color: rgba(0, 0, 0, 0.5);
}

/* Light theme window styles */
body.light-theme .terminal-window,
body.light-theme .calculator-window {
    background: rgba(245, 245, 250, 0.95);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 0.5px rgba(0, 0, 0, 0.1);
}

body.light-theme .terminal-window.active,
body.light-theme .calculator-window.active {
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 0.5px rgba(0, 0, 0, 0.15);
}

body.light-theme .title-bar {
    background: rgba(235, 235, 240, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .window-title {
    color: rgba(0, 0, 0, 0.85);
}

body.light-theme .terminal-content {
    background: rgba(255, 255, 255, 0.95);
}

body.light-theme .terminal-output,
body.light-theme .input-line {
    color: rgba(0, 0, 0, 0.9);
}

body.light-theme .user {
    color: #0066cc;
}

body.light-theme .path {
    color: #5856d6;
}

body.light-theme .symbol {
    color: rgba(0, 0, 0, 0.7);
}

body.light-theme .terminal-input {
    color: rgba(0, 0, 0, 0.9);
}

body.light-theme .cursor {
    background: rgba(0, 0, 0, 0.9);
}

body.light-theme .calculator-display {
    background: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.9);
}

body.light-theme .calc-btn {
    background: rgba(255, 255, 255, 0.8);
    color: rgba(0, 0, 0, 0.9);
}

body.light-theme .calc-btn:hover {
    background: rgba(255, 255, 255, 1);
}

body.light-theme .calc-btn.operator {
    background: #ff9f0a;
    color: white;
}

body.light-theme .calc-btn.function {
    background: rgba(200, 200, 205, 0.9);
    color: rgba(0, 0, 0, 0.9);
}

/* Apple Menu Dropdown */
.apple-menu-container {
    position: relative;
}

.apple-dropdown {
    position: absolute;
    top: 28px;
    left: 0;
    min-width: 220px;
    background: rgba(40, 40, 45, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.apple-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 6px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    transition: background 0.15s ease;
}

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

/* About This Mac Modal */
.about-mac-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-mac-overlay.active {
    opacity: 1;
}

.about-mac-window {
    width: 360px;
    background: rgba(40, 40, 45, 0.98);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-mac-overlay.active .about-mac-window {
    transform: scale(1);
}

.about-mac-header {
    height: 52px;
    background: rgba(50, 50, 55, 0.95);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.about-mac-buttons {
    display: flex;
    gap: 8px;
}

.about-mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.about-mac-btn:hover {
    transform: scale(1.1);
}

.about-mac-btn.close {
    background: #ff5f57;
}

.about-mac-btn.minimize {
    background: rgba(255, 255, 255, 0.15);
    cursor: default;
}

.about-mac-btn.maximize {
    background: rgba(255, 255, 255, 0.15);
    cursor: default;
}

.about-mac-btn.disabled:hover {
    transform: none;
}

.about-mac-content {
    padding: 48px 32px 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.macbook-icon {
    width: 180px;
    height: auto;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.macbook-title {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 6px;
}

.macbook-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 32px;
}

.macbook-specs {
    text-align: left;
    margin: 0 0 28px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: none;
    gap: 20px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.spec-value {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
    line-height: 1.5;
}

.more-info-btn {
    width: auto;
    padding: 10px 24px;
    background: rgba(100, 100, 105, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0 auto 20px;
    display: block;
    margin-bottom: 20px;
}

.more-info-btn:hover {
    background: rgba(100, 100, 105, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.about-mac-footer {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
    margin: 0;
}
