@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 2em;
    line-height: 1.6;
    color: #333;
    background: #e7ded3;
    padding: 40px 20px;
}

.page-layout {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 950px;
    margin: 0 auto;
}

.content {
    max-width: 580px;
    flex-shrink: 0;
}

.side-image {
    width: 250px;
    flex-shrink: 0;
    padding-top: 60px;
}

@media (max-width: 1000px) {
    .side-image {
        display: none;
    }

    .page-layout {
        justify-content: center;
    }
}

header {
    margin-bottom: 30px;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

h1 {
    font-size: 2em;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.time {
    font-size: 0.9em;
    color: #666;
    font-variant-numeric: tabular-nums;
    margin-top: 10px;
}

h2 {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 5px;
    color: #000;
}

p {
    margin-bottom: 15px;
    color: #444;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration: underline;
    text-decoration-style: dotted;
}

footer {
    margin-top: 30px;
    padding-top: 10px;
    border-top: none;
    background-image: linear-gradient(to right, #eee 85%, transparent 85%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.45em;
    color: #666;
    flex-basis: 100%;
}

.copyright {
    margin-right: 15%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.update-time {
    color: #999;
    font-size: 0.85em;
}

@media (max-width: 600px) {
    body {
        padding: 30px 15px;
    }

    h1 {
        font-size: 1.6em;
    }

    .profile-section {
        flex-direction: column;
        align-items: flex-start;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Simple clock animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.time {
    animation: pulse 2s ease-in-out infinite;
}

/* CSS for glitch text */

.glitch-text {
    animation: glitch .3s infinite;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: none;
    }
    33% {
        text-shadow:
            -2px -2px 0 rgba(0, 255, 255, 0.3),
            2px -2px 0 rgba(255, 0, 255, 0.3);
    }
    66% {
        text-shadow:
            2px 2px 0 rgba(0, 255, 255, 0.3),
            -2px 2px 0 rgba(255, 0, 255, 0.3);
    }
}
