/* Home Window Page Styles */
.home-window-page {
    position: absolute;
    top: 100px;
    left: 200px;
    width: 120vh;
    background: #181717;
    height: 80vh;
    border-radius: 10px;
    overflow: scroll;
    box-shadow: 0 0 7px black;
    padding-bottom: 60px;
    display: none;
}

.home-window-hero {
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.home-intro-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding: 2rem;
}

.welcome-card {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #333;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2ea043;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.2rem;
    color: #2ea043;
    margin-bottom: 1rem;
    font-weight: 500;
}

.typing-text {
    font-size: 1rem;
    color: #a0a0a0;
    font-style: italic;
}

#typingText {
    border-right: 2px solid #2ea043;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #2ea043; }
    51%, 100% { border-color: transparent; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ea043;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.description-section {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #333;
}

.description-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.description-content p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.clock-section {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clock-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.analog-clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.clock-face {
    width: 150px;
    height: 150px;
    border: 3px solid #2ea043;
    border-radius: 50%;
    position: relative;
    background: #2a2a2a;
}

.hour-markers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 2px;
    height: 15px;
    background: #fff;
    top: 5px;
    left: 50%;
    transform-origin: 50% 70px;
    margin-left: -1px;
}

.hour-hand {
    position: absolute;
    width: 4px;
    height: 40px;
    background: #fff;
    top: 35px;
    left: 50%;
    transform-origin: 50% 40px;
    margin-left: -2px;
    border-radius: 2px;
}

.minute-hand {
    position: absolute;
    width: 3px;
    height: 55px;
    background: #2ea043;
    top: 20px;
    left: 50%;
    transform-origin: 50% 55px;
    margin-left: -1.5px;
    border-radius: 1.5px;
}

.second-hand {
    position: absolute;
    width: 1px;
    height: 60px;
    background: #ff4444;
    top: 15px;
    left: 50%;
    transform-origin: 50% 60px;
    margin-left: -0.5px;
    transition: transform 0.1s ease-out;
}

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

.digital-time {
    color: #2ea043;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.live-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #333;
}

.info-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-window-page {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .profile-name {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .clock-face {
        width: 120px;
        height: 120px;
    }
    
    .hour-hand {
        height: 30px;
        top: 30px;
        transform-origin: 50% 30px;
    }
    
    .minute-hand {
        height: 45px;
        top: 15px;
        transform-origin: 50% 45px;
    }
    
    .second-hand {
        height: 50px;
        top: 10px;
        transform-origin: 50% 50px;
    }
    
    .marker {
        transform-origin: 50% 55px;
    }

    .live-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-window-hero {
        padding: 10px;
    }

    .home-intro-section {
        padding: 1rem;
    }

    .welcome-card, .quick-actions, .info-card {
        padding: 1rem;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.8rem;
    }
}