/* Neocities Y2K Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=VT323&display=swap');

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

body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect fill="%23000" width="20" height="20"/><circle fill="%23FFD700" cx="2" cy="2" r="1"/><circle fill="%23FF69B4" cx="10" cy="10" r="1"/><circle fill="%2300FFFF" cx="18" cy="18" r="1"/><circle fill="%239D00FF" cx="6" cy="14" r="1"/></svg>');
    color: #000;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><text y="20" font-size="20">✨</text></svg>'), auto;
    overflow-x: hidden;
}

/* Links */
a {
    color: #0000FF;
    text-decoration: underline;
    font-weight: bold;
}

a:visited {
    color: #800080;
}

a:hover {
    color: #FF00FF;
    text-decoration: none;
    background: #FFFF00;
}

a:active {
    color: #FF0000;
}

/* Sparkle Cursor Trail */
#sparkles {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.sparkle {
    position: fixed;
    font-size: 20px;
    animation: sparkle-fade 1s ease-out forwards;
    pointer-events: none;
}

@keyframes sparkle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
}

/* Top Banner */
.banner {
    background: linear-gradient(90deg, #FF0080 0%, #FF00FF 25%, #8000FF 50%, #0080FF 75%, #00FFFF 100%);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 5px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.construction-gif {
    height: 30px;
    animation: bounce 1s infinite;
}

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

marquee.rainbow-text {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 
        2px 2px 0 #FF0080,
        4px 4px 0 #FF00FF,
        6px 6px 0 #8000FF;
    flex: 1;
}

/* Main Table */
.main-table {
    background: #FFFFFF;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(180deg, #FFE4E1 0%, #FFC0CB 100%);
    border-right: 5px dashed #FF69B4;
}

.sidebar-section {
    background: #FFF;
    border: 3px solid #FF69B4;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(255, 105, 180, 0.3);
}

.sidebar-section h2 {
    font-size: 16px;
    color: #FF1493;
    text-align: center;
    margin-bottom: 10px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links a {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 8px;
    border: 2px solid #FF8C00;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.nav-links a:hover {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    color: #FFF;
    transform: scale(1.05);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.pixel-gif {
    width: 50px;
    display: block;
    margin: 10px auto;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pixel-text {
    font-family: 'VT323', monospace;
    font-size: 14px;
    color: #9D00FF;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

.music-box {
    background: #000;
    color: #00FF00;
    padding: 10px;
    border: 2px solid #00FF00;
    font-family: 'VT323', monospace;
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.stats-box {
    background: linear-gradient(135deg, #E0FFFF 0%, #B0E0E6 100%);
    padding: 10px;
    border: 2px solid #00CED1;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.8;
}

.stat-value {
    color: #FF1493;
    font-weight: bold;
}

.cute-button {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    color: #FFF;
    border: 3px solid #FF1493;
    padding: 8px 15px;
    border-radius: 15px;
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.cute-button:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    transform: scale(1.1) rotate(-2deg);
}

.cute-button:active {
    transform: scale(0.95);
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.small-text {
    font-size: 10px;
    text-align: center;
    margin-top: 5px;
}

.counter {
    display: block;
    margin: 10px auto;
    border: 2px solid #FFD700;
    padding: 2px;
    background: #000;
}

.mood-selector {
    width: 100%;
    padding: 5px;
    border: 2px solid #FF69B4;
    border-radius: 5px;
    font-family: 'Comic Neue', cursive;
    background: #FFF;
}

/* Main Content */
.main-content {
    background: #FFFFFF;
    padding: 20px;
}

.content-section {
    margin-bottom: 40px;
}

/* Blinking Text */
.blink {
    animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Glitchy Title */
.glitchy-title {
    font-size: 28px;
    text-align: center;
    color: #FF00FF;
    text-shadow: 
        2px 2px 0 #00FFFF,
        4px 4px 0 #FFD700;
    margin-bottom: 20px;
    animation: rainbow-text 3s infinite;
}

@keyframes rainbow-text {
    0% { color: #FF0080; }
    16% { color: #FF00FF; }
    33% { color: #8000FF; }
    50% { color: #0080FF; }
    66% { color: #00FFFF; }
    83% { color: #00FF80; }
    100% { color: #FF0080; }
}

.welcome-gif {
    width: 150px;
    margin: 10px;
}

.welcome-box {
    background: linear-gradient(135deg, #FFE4E1 0%, #FFB6C1 100%);
    border: 5px double #FF69B4;
    padding: 20px;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 5px 5px 0 rgba(255, 105, 180, 0.3);
}

.welcome-text {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
}

.alt-marquee {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    padding: 10px;
    border: 3px solid #FF8C00;
    font-weight: bold;
    color: #000;
    margin: 20px 0;
}

.icon-table {
    margin: 20px auto;
    border-spacing: 20px;
}

.icon-table td {
    text-align: center;
}

.icon-table a {
    text-decoration: none;
    font-weight: bold;
    color: #FF1493;
}

.nav-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.2s;
}

.nav-icon:hover {
    transform: scale(1.2) rotate(5deg);
}

.divider {
    margin: 30px 0;
}

/* Section Titles */
.section-title {
    font-size: 24px;
    text-align: center;
    color: #FF00FF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #00FFFF;
}

/* About Table */
.about-table {
    box-shadow: 5px 5px 0 rgba(255, 105, 180, 0.3);
}

.profile-pic-container {
    padding: 15px;
}

.profile-gif {
    border: 5px solid #FF69B4;
    border-radius: 10px;
    background: #FFF;
    padding: 5px;
}

.profile-name {
    font-size: 20px;
    font-weight: bold;
    color: #FF1493;
    margin-top: 10px;
}

.profile-title {
    font-size: 14px;
    color: #9D00FF;
    font-style: italic;
}

.about-text {
    line-height: 1.8;
    font-size: 14px;
}

.highlight-pink {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    color: #FFF;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.highlight-cyan {
    background: linear-gradient(135deg, #00FFFF 0%, #00CED1 100%);
    color: #000;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.interests-marquee {
    background: linear-gradient(90deg, #E0FFFF 0%, #B0E0E6 50%, #E0FFFF 100%);
    padding: 8px;
    border: 2px solid #00CED1;
    margin-top: 15px;
    font-size: 12px;
}

.fun-facts {
    background: linear-gradient(135deg, #FFFACD 0%, #FFE4B5 100%);
    border: 4px dashed #FFD700;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.fun-facts h3 {
    color: #FF8C00;
    text-align: center;
    margin-bottom: 15px;
}

.fun-facts ul {
    list-style: none;
    padding-left: 0;
}

.fun-facts li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.fun-facts li:before {
    content: '★';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 16px;
}

/* Projects */
.project-table {
    margin-bottom: 20px;
    box-shadow: 5px 5px 0 rgba(157, 0, 255, 0.3);
}

.tech-stack {
    background: #F0F0F0;
    padding: 10px;
    border: 2px solid #9D00FF;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.8;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
}

.status-badge.new {
    background: #FF69B4;
    color: #FFF;
    animation: pulse 1s infinite;
}

.status-badge.complete {
    background: #00FF00;
    color: #000;
}

.status-badge.learning {
    background: #FFD700;
    color: #000;
}

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

/* Skills */
.skill-box {
    background: #FFF;
    border: 3px solid;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    height: 100%;
}

.skill-box.design {
    border-color: #FF69B4;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF 100%);
}

.skill-box.frontend {
    border-color: #00FFFF;
    background: linear-gradient(135deg, #E0FFFF 0%, #FFF 100%);
}

.skill-box.backend {
    border-color: #9D00FF;
    background: linear-gradient(135deg, #E6D9FF 0%, #FFF 100%);
}

.skill-box h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.skill-item {
    margin-bottom: 12px;
    font-size: 12px;
}

.skill-bar {
    background: #E0E0E0;
    height: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF00FF 0%, #00FFFF 50%, #FFD700 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 11px;
    transition: width 1s ease-out;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.badges-container img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
    transition: transform 0.2s;
}

.badges-container img:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Links List */
.links-list {
    background: linear-gradient(135deg, #E0FFFF 0%, #B0E0E6 100%);
    border: 3px solid #00CED1;
    padding: 20px;
    border-radius: 10px;
    list-style: none;
}

.links-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.links-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF1493;
    font-weight: bold;
}

/* Guestbook */
.guestbook-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #FF1493;
    font-weight: bold;
}

.guestbook-form {
    margin-bottom: 30px;
}

.form-input,
.form-textarea {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    border: 3px solid #FF69B4;
    border-radius: 10px;
    font-family: 'Comic Neue', cursive;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-textarea {
    resize: vertical;
}

.guestbook-entries {
    max-width: 600px;
    margin: 0 auto;
}

.guestbook-entry {
    background: linear-gradient(135deg, #FFFACD 0%, #FFE4B5 100%);
    border: 2px solid #FFD700;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 3px 3px 0 rgba(255, 215, 0, 0.3);
}

.guestbook-entry b {
    color: #FF1493;
}

.guestbook-entry i {
    color: #666;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
    color: #FFF;
    padding: 20px;
    margin-top: 40px;
    border-top: 5px solid #FFD700;
}

.footer-marquee {
    background: linear-gradient(90deg, #FF0080 0%, #FF00FF 25%, #8000FF 50%, #0080FF 75%, #00FFFF 100%);
    padding: 10px;
    color: #FFF;
    font-weight: bold;
    border: 3px solid #FFD700;
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
}

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

/* Responsive */
@media (max-width: 768px) {
    .main-table {
        width: 100% !important;
    }
    
    .sidebar {
        display: block;
        width: 100% !important;
        border-right: none;
        border-bottom: 5px dashed #FF69B4;
    }
    
    .main-content {
        width: 100% !important;
    }
    
    table[width="100%"] td[width="33%"] {
        display: block;
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .glitchy-title {
        font-size: 20px;
    }
    
    .welcome-box {
        margin: 10px;
    }
    
    .icon-table {
        border-spacing: 10px;
    }
    
    .nav-icon {
        width: 60px;
        height: 60px;
    }
}

/* Easter Egg - Konami Code */
.matrix-mode {
    background: #000 !important;
    color: #00FF00 !important;
}

.matrix-mode * {
    color: #00FF00 !important;
    border-color: #00FF00 !important;
}
