.egyptian-clock-container {
    position: fixed;
    top: 90px;
    /* Below navbar */
    left: 20px;
    z-index: 1000;
    width: 140px;
    height: 140px;
    background: #000000;
    border: 3px solid #C5A028;
    /* Egyptian Gold */
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(197, 160, 40, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.egyptian-clock-container:hover {
    transform: scale(1.05);
}

.clock-face {
    position: relative;
    width: 100%;
    height: 100%;
}

.clock-number {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #C5A028;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Cairo', serif;
    z-index: 2;
}

.clock-mark {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.clock-mark::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 1px;
    height: 5px;
    background: rgba(197, 160, 40, 0.5);
    /* Semi-transparent gold */
    transform: translateX(-50%);
}

.clock-mark.major::after {
    width: 2px;
    height: 8px;
    background: #C5A028;
    /* Solid gold */
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    border-radius: 10px;
    z-index: 5;
}

.hour-hand {
    width: 4px;
    height: 30%;
    background: #FFFFFF;
    margin-left: -2px;
}

.minute-hand {
    width: 3px;
    height: 40%;
    background: #FFFFFF;
    margin-left: -1.5px;
}

.second-hand {
    width: 2px;
    height: 45%;
    background: #CE1126;
    /* Egyptian Red */
    margin-left: -1px;
    z-index: 6;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #C5A028;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Digital Clock Styling */
.digital-clock {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    gap: 1px;
    direction: ltr;
    /* Ensure HH:MM:SS from left to right */
}

.dig-red {
    color: #CE1126;
}

.dig-white {
    color: #FFFFFF;
}

.dig-black {
    color: #000000;
    background: #ffffff;
    padding: 0 2px;
    border-radius: 2px;
}

/* Date Display - Luxury Window Style */
.dig-date {
    position: absolute;
    top: 22%;
    /* Positioned at the 12 o'clock area */
    left: 50%;
    transform: translateX(-50%);
    color: #C5A028;
    /* Egyptian Gold */
    font-size: 8px;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 160, 40, 0.6);
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Responsiveness */
@media (max-width: 768px) {
    .egyptian-clock-container {
        width: 100px;
        height: 100px;
        bottom: 10px;
        left: 10px;
    }

    .clock-number {
        font-size: 10px;
    }

    .digital-clock {
        font-size: 8px;
    }
}