@charset "utf-8";

@import url('https://fonts.cdnfonts.com/css/apple-garamond');

@font-face {
    font-family: 'Hangyore';
    src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/hani/Hankc/Hankc.woff2') format('woff2'),
         url('//cdn.jsdelivr.net/korean-webfonts/1/corps/hani/Hankc/Hankc.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

  *, a {
  cursor: none !important;
}

html, body {
    margin: 0;
    overflow:hidden;
    background-color: #fafafa;
    cursor: none;
}

#radial-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1500px;
    height: 1500px;
    transform: translate(-200%, -50%); /* ← clock보다 왼쪽으로 이동 */
    z-index: 1;
    pointer-events: none;
  }


  #center-text{
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-40%, -50%); /* 정확히 정중앙 */
    font-family: 'Apple Garamond', sans-serif;
    font-style: normal;
    font-weight: 400;
    z-index: 2;
    font-size:500px;
  }


#clock-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }
  
  #clock {
    font-family: monospace;
    font-size: 2rem;
    color: #000000;
  }

#header-bar {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

#header-bar.overlay-active {
    background-color: #ffffff;
}

#project-name {
    position: fixed;
    left: 3%;
    font-size: 2rem;
    font-family: monospace;
    z-index: 1000;
  }
  
#project-name-right {
    position: fixed;
    right: 3%;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    color: #000;
  }
  
#clock-container, #project-name, #project-name-right {
    top: 50px;
  }

.mini-clock-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mini-clock {
    position: relative;
    width: 45px;
    height: 45px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 3px solid currentColor;
    background: transparent;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.mini-clock__hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(var(--rotation, 0deg));
    border-radius: 999px;
    background: currentColor;
}

.mini-clock__hand--hour {
    height: 17px;
}

.mini-clock__hand--minute {
    height: 16px;
}

.mini-clock__hand--second {
    height: 17px;
}

#project-name-right:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

#project-name-right:hover .mini-clock {
    transform: scale(1.06);
}

#floating-menu-overlay {
    --floating-bg: #00f2ff;
    --floating-fg: rgb(0, 0, 0);
    --floating-accent: #000000;
    --floating-hand-thickness: 2px;
    --floating-item-font: clamp(16px, 2.2vw, 28px);
    position: fixed;
    inset: 0;
    display: none;
    background: var(--floating-bg);
    color: var(--floating-fg);
    overflow: hidden;
    z-index: 80;
    font-family: 'Apple Garamond', sans-serif;
}

#floating-menu-overlay.active {
    display: block;
}

#floating-menu-overlay .floating-center-ellipse {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 1200px;
    height: 1200px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

#floating-menu-overlay .floating-center-dot {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    background: var(--floating-accent);
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
}

#floating-menu-overlay .floating-hand {
    position: fixed;
    left: 50%;
    top: 50%;
    height: var(--floating-hand-thickness);
    width: 0;
    background: var(--floating-accent);
    transform-origin: 0% 50%;
    transform: translate(0, -50%) rotate(0deg);
    z-index: 9;
    pointer-events: none;
    border-radius: 999px;
    opacity: 0.9;
}

#floating-menu-overlay .floating-hour-hand,
#floating-menu-overlay .floating-minute-hand {
    position: fixed;
    left: 50%;
    top: 50%;
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(0deg);
    background: var(--floating-accent);
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.9;
}

#floating-menu-overlay .floating-hour-hand {
    width: 10px;
    height: min(32vmin, 220px);
    z-index: 6;
}

#floating-menu-overlay .floating-minute-hand {
    width: 8px;
    height: min(40vmin, 280px);
    z-index: 7;
}

#floating-menu-overlay .floating-second-hand {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 6px;
    height: min(45vmin, 320px);
    transform-origin: 50% 100%;
    transform: translate(-50%, -100%) rotate(0deg);
    background: #ff2546;
    border-radius: 999px;
    pointer-events: none;
    z-index: 8;
}

#floating-menu-overlay .floating-menu {
    position: relative;
    width: 100%;
    height: 100%;
}

#floating-menu-overlay .floating-menu-item {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) translate(var(--radius, 0px)) rotate(calc(-1 * var(--rotate, 0deg))) scale(var(--scale, 1));
    transform-origin: center;
    color: inherit;
    text-decoration: none;
    font-size: var(--floating-item-font);
    opacity: 0.88;
    z-index: 5;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#floating-menu-overlay .floating-menu-item:hover {
    --scale: 1.06;
    opacity: 1;
}

#floating-menu-overlay .floating-menu-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
   
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    #floating-menu-overlay .floating-menu-item {
        transition: none;
    }
}

.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgb(0, 0, 0);
    background-color: #000000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}
