/* ===================================
   SIMPLE WEB 1.0 STYLESHEET
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #D3D3D3;
    color: #000;
    line-height: 1.6;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    background-color: #FFF;
    border: 3px solid #000;
    padding: 20px;
    margin-bottom: 20px;
}

.header h1 {
    display: inline;
    font-size: 32px;
    color: #000080;
    margin: 0 10px;
}

.header-gif {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

/* Construction Banner */
.construction {
    text-align: center;
    background-color: #FFFF00;
    border: 2px solid #000;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.construction img {
    width: 50px;
    margin: 0 10px;
    vertical-align: middle;
}

/* Main Container */
.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Sections */
.section {
    margin-bottom: 30px;
}

.section h2 {
    background: linear-gradient(180deg, #FFF 0%, #C0C0C0 100%);
    border: 2px solid #000;
    padding: 10px;
    text-align: center;
    font-size: 24px;
    color: #000080;
}

.title-gif {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin: 0 10px;
}

/* Content Boxes */
.content-box {
    background-color: #FFF;
    border: 2px solid #000;
    padding: 20px;
    margin-top: 10px;
}

.content-box hr {
    margin: 15px 0;
    border: 0;
    border-top: 2px dashed #999;
}

/* Bio Table */
.bio-table {
    width: 100%;
    margin-bottom: 15px;
}

.avatar-cell {
    width: 100px;
    text-align: center;
    vertical-align: top;
}

.avatar {
    font-size: 80px;
    line-height: 1;
}

.bio-text p {
    margin: 5px 0;
}

/* Link Grid */
.link-grid {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.link-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    background-color: #F0F0F0;
    border: 2px solid #666;
    transition: all 0.3s ease;
}

.link-box:hover {
    background-color: #FFFFE0;
    border-color: #000080;
    transform: translateY(-5px);
    box-shadow: 4px 4px 0px #000;
}

.link-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.link-box h3 {
    color: #000080;
    margin: 10px 0;
}

.link-box p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(180deg, #FFF 0%, #C0C0C0 100%);
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.button:hover {
    background: linear-gradient(180deg, #FFFFE0 0%, #FFD700 100%);
    transform: scale(1.05);
    cursor: pointer;
}

.button:active {
    transform: scale(0.98);
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 10px;
    margin: 5px 0;
    background-color: #F5F5F5;
    border-left: 4px solid #000080;
    transition: background-color 0.3s ease;
}

.info-list li:hover {
    background-color: #FFFFE0;
}

.info-label {
    font-weight: bold;
    color: #000080;
}

/* Blink Animation (subtle) */
.blink {
    animation: blink-animation 2s infinite;
    font-weight: bold;
    color: #FF0000;
}

@keyframes blink-animation {
    0%, 49% { opacity: 1; }
    50%, 99% { opacity: 0.3; }
}

/* ===================================
   CSS ANIMATED DECORATIONS
   =================================== */

/* Spinning Star */
.star-spin {
    display: inline-block;
    font-size: 30px;
    animation: spin 3s linear infinite;
    margin: 0 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulsing Dot */
.pulse-dot {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #FFD700, #FF8C00);
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Blinking Square */
.blink-square {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #FF0000;
    margin: 0 5px;
    vertical-align: middle;
    animation: blink-colors 1s infinite;
}

@keyframes blink-colors {
    0%, 100% { background-color: #FF0000; }
    33% { background-color: #00FF00; }
    66% { background-color: #0000FF; }
}

/* Bouncing Arrow */
.bounce-arrow {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #000080;
    animation: bounce 1s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Construction Animation */
.construction-anim {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    vertical-align: middle;
    position: relative;
}

.construction-anim::before {
    content: "⚠️";
    font-size: 40px;
    position: absolute;
    animation: construction-flash 0.8s ease-in-out infinite;
}

@keyframes construction-flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* Rainbow Sparkle */
.rainbow-sparkle {
    display: inline-block;
    font-size: 30px;
    vertical-align: middle;
    margin: 0 10px;
    animation: rainbow 3s linear infinite, sparkle-twinkle 1.5s ease-in-out infinite;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes sparkle-twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Wobble Star */
.wobble-star {
    display: inline-block;
    font-size: 30px;
    vertical-align: middle;
    margin: 0 10px;
    animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

/* Footer */
footer {
    text-align: center;
    background-color: #FFF;
    border: 3px solid #000;
    padding: 20px;
    margin-top: 30px;
}

footer p {
    margin: 10px 0;
}

footer img {
    width: 20px;
    margin: 0 5px;
    vertical-align: middle;
}

.visitor-counter {
    background-color: #000;
    color: #0F0;
    padding: 10px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border: 2px solid #0F0;
}

#visitorCount {
    font-size: 20px;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 24px;
    }

    .link-grid {
        flex-direction: column;
    }

    .link-box {
        min-width: auto;
    }

    .avatar {
        font-size: 60px;
    }
}

/* Link Styles */
a {
    color: #0000EE;
    text-decoration: underline;
}

a:visited {
    color: #551A8B;
}

a:hover {
    color: #FF0000;
}

/* Strong emphasis */
strong {
    color: #000080;
}
