/* Body styling for background and centering */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #071828, #0f2237); /* Dark gradient background; change colors for theme */
    font-family: Arial, sans-serif;
}

/* Clock container for positioning */
.clock-container {
    position: relative;
}

/* Clock face styling */
.clock {
    width: 300px; /* Clock size; increase for larger clock */
    height: 300px;
    border-radius: 50%;
    background: #fff; /* White face; change for different color */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Shadow for depth; adjust for more/less */
    position: relative;
    border: 10px solid #333; /* Border; change thickness/color */
}


/* Hour marks (12 small lines) */
.hour-marks {
    position: absolute;
    width: 100%;
    height: 100%;
}
.mark {
    position: absolute;
    width: 5px; /* Mark width; adjust for thickness */
    height: 15px; /* Mark height; adjust for length */
    background: #333; /* Mark color; change */
    top: 10px; /* Distance from center; adjust */
    left: 50%;
    transform: translateX(-50%) rotate(var(--rotation)); /* Rotate each mark */
    border-radius: 2px;
    transform-origin: bottom center; /* Ensure rotation from bottom */
}

/* Numbers positioning */
.numbers {
    position: absolute;
    width: 100%;
    height: 100%;
}
.number {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 24px; /* Number size; adjust */
    font-weight: bold;
    color: #333; /* Number color; change */
    transform: rotate(calc(30deg * var(--i))); /* Rotate each number */
}
.number span {
    display: inline-block;
    transform: rotate(calc(-30deg * var(--i))); /* Counter-rotate text */
}

/* Hands styling */
.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    border-radius: 50% 50% 0 0;
}
.hour-hand {
    width: 8px; /* Width; adjust */
    height: 80px; /* Length; adjust */
    background: #333; /* Color; change */
    transform: translateX(-50%) rotate(0deg);
}
.minute-hand {
    width: 6px;
    height: 110px;
    background: #666;
    transform: translateX(-50%) rotate(0deg);
}
.second-hand {
    width: 2px;
    height: 120px;
    background: #e74c3c; /* Red for seconds; change */
    transform: translateX(-50%) rotate(0deg);
}

/* Center point */
.center-point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px; /* Size; adjust */
    height: 15px;
    background: #333; /* Color; change */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
