﻿body {
    background-image: url('/assets/img/indexbg.gif');
    font-family: "Comic Sans MS", monospace;
    margin: 0;
    padding: 20px;
    color: #fff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #000080;
    padding: 20px;
    border: 5px solid #ff00ff;
    box-shadow: 10px 10px 0 #00ff00;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

    .header h1 {
        text-indent: -9999px;
        background: url('https://s13.gifyu.com/images/SPyaC.gif') no-repeat top center;
        height: 200px; /* Adjust this value to match your image height */
        background-size: contain;
        margin: 0;
        padding: 0;
    }

.welcome-banner {
    background-color: #ff00ff;
    padding: 10px;
    border: 2px solid #00ff00;
    margin: 50px 0;
    
}

.nav-links {
    background-color: #000040;
    padding: 10px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid #00ff00;
    font-size: 18px;
}

.nav-links a {
    color: #00ff00;
    text-decoration: none;
    padding: 0 10px;
    cursor: url('/assets/cursors/w98hand.cur'), pointer;
}

.nav-links a:hover {
    color: #ffff00;
    text-shadow: 0 0 5px #00ff00;
    animation: glow 1s infinite alternate;
}

.counter-text {
    font-family: "Comic Sans MS", monospace;
    background: #000;
    color: #00ff00;
    padding: 5px 10px;
    border: 2px solid #00ff00;
    display: inline-block;
    animation: blink 1s infinite;
}
@keyframes rainbow {
    0% {
        color: #ff0000;
    }

    33% {
        color: #ffff00;
    }

    66% {
        color: #00ff00;
    }

    100% {
        color: #ff0000;
    }
}

@keyframes blink {
    50% { opacity: 0.5; }
}

.blog-post {
    background-color: #000040;
    padding: 15px;
    margin-bottom: 20px;
    border: 3px solid #00ff00;
}

.blog-post h2 {
    color: #00ff00;
    margin-top: 0;
}

.gallery {
    background-color: #000040;
    padding: 15px;
    margin: 20px 0;
    border: 3px solid #00ff00;
}

.gallery h2 {
    color: #00ff00;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
}

.gallery-item {
    border: 2px solid #ff00ff;
    padding: 10px;
    text-align: center;
    background-color: #000080;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #00ff00;
}

.gallery-item p {
    color: #ffff00;
    margin-top: 5px;
}

/* Hacker Zone Styles */
.hacker-zone {
    background-color: #000040;
    padding: 15px;
    margin: 20px 0;
    border: 3px solid #00ff00;
    box-shadow: 0 0 10px #00ff00;
    position: relative;
    overflow: hidden;
}

.matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,255,0,0.1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hacker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.hacker-item {
    border: 2px solid #00ff00;
    padding: 10px;
    text-align: center;
    background-color: #000;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.hacker-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,255,0,0.1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hacker-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00ff00;
}

.hacker-item img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #00ff00;
    transition: all 0.3s ease;
}

    .hacker-item p {
        color: #00ff00;
        margin-top: 5px;
        font-family: "Comic Sans MS", monospace;
        text-shadow: 0 0 5px #00ff00;
    }

.terminal-window {
    background: #000;
    border: 2px solid #00ff00;
    margin: 20px auto;
    padding: 10px;
    max-width: 600px;
    font-family: 'Comic Sans MS', monospace;
}

.terminal-header {
    color: #00ff00;
    border-bottom: 1px solid #00ff00;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.terminal-text {
    color: #00ff00;
    line-height: 1.5;
}

.terminal-text > * {
    margin: 5px 0;
    animation: typewriter 1s steps(40, end);
}

.ascii-art pre {
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border: 1px solid #00ff00;
    animation: glow 2s infinite alternate;
}

/* Construction Section */
.construction {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #000040;
    border: 2px solid #00ff00;
    animation: blink 1s infinite;
}

.construction::before {
    content: '🚧 UNDER CONSTRUCTION 🚧';
    color: #ffff00;
    font-weight: bold;
    font-size: 20px;
}

/* Links Section */
.links {
    background-color: #000040;
    padding: 15px;
    margin-top: 20px;
    border: 3px solid #00ff00;
}

.links a {
    color: #00ff00;
    text-decoration: none;
}

.links a:hover {
    color: #ffff00;
    text-decoration: underline;
}

/* Guestbook Styles */
.guestbook-header {
    text-align: center;
    color: #00ff00;
    font-size: 24px;
    text-shadow: 2px 2px #000;
    margin: 20px 0;
    padding: 10px;
    background: #000040;
    border: 2px solid #ff00ff;
    animation: rainbow 3s infinite;
}

.guestbook-form {
    background-color: #000040;
    padding: 20px;
    border: 3px solid #00ff00;
    margin-top: 20px;
}

.guestbook-form input, 
.guestbook-form textarea {
    width: 100%;
    padding: 5px;
    margin: 5px 0;
    background-color: #000080;
    color: #00ff00;
    border: 2px solid #ff00ff;
}

.guestbook-form button {
    background-color: #ff00ff;
    color: #fff;
    border: 2px solid #00ff00;
    padding: 5px 15px;
    cursor: pointer;
    margin-top: 10px;
}

.guestbook-form button:hover {
    background-color: #00ff00;
    color: #000;
}

.guestbook-entries {
    margin-top: 20px;
}

.guestbook-entry {
    background-color: #000040;
    border: 2px solid #00ff00;
    margin: 10px 0;
    padding: 10px;
}

.marquee {
    background-color: #ff00ff;
    padding: 10px;
    margin: 20px 0;
    animation: rainbow 3s infinite;
}

/* Animations */
@keyframes typewriter {
    from { width: 0 }
    to { width: 100% }
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px #00ff00;
    }
    to {
        box-shadow: 0 0 20px #00ff00;
    }
}

@keyframes matrix-scroll {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(50%); }
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

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

    .hacker-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .terminal-window {
        margin: 10px;
        padding: 5px;
    }
}
.hacker-zone {
    background-color: #000040;
    padding: 15px;
    margin: 20px 0;
    border: 3px solid #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.hacker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
}

.hacker-item {
    border: 2px solid #00ff00;
    padding: 10px;
    text-align: center;
    background-color: #000;
    transition: transform 0.3s;
}

    .hacker-item:hover {
        transform: scale(1.05);
        box-shadow: 0 0 15px #00ff00;
    }

    .hacker-item img {
        max-width: 100%;
        height: auto;
        border: 1px solid #00ff00;
    }

    .hacker-item p {
        color: #00ff00;
        margin-top: 5px;
        font-family: "Comic Sans MS", monospace;
        text-shadow: 0 0 5px #00ff00;
    }

@keyframes matrix-effect {
    0% {
        text-shadow: 0 0 5px #00ff00;
    }

    50% {
        text-shadow: 0 0 15px #00ff00;
    }

    100% {
        text-shadow: 0 0 5px #00ff00;
    }
}

.hacker-zone h2 {
    animation: matrix-effect 2s infinite;
}

body {
    cursor: url('/assets/cursors/w98normal.cur'), default;
}


/* Updated sparkle styles - removed problematic shape */
.sparkle {
    position: fixed;
    pointer-events: none;
    width: 8px;
    height: 8px;
    color: #ffffff;
    text-shadow: 0 0 2px #ffffff;
    animation: sparkle-fade 0.6s linear forwards;
    z-index: 9999;
    font-size: 12px;
    line-height: 1;
}

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

    50% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.2);
        opacity: 0;
    }
}
.music-controls {
    background-color: #000040;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #ff00ff;
    text-align: center;
    color: #00ff00;
    font-family: "Comic Sans MS", monospace;
    animation: blink 2s infinite;
}

.music-icon {
    font-size: 20px;
    vertical-align: middle;
    animation: spin 4s linear infinite;
    display: inline-block;
}

.music-button {
    background-color: #ff00ff;
    color: #fff;
    border: 2px solid #00ff00;
    padding: 3px 10px;
    cursor: url('/assets/cursors/w98hand.cur'), pointer;
    font-family: "Comic Sans MS", monospace;
    font-weight: bold;
    margin-left: 10px;
}

    .music-button:hover {
        background-color: #00ff00;
        color: #000;
    }

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

    to {
        transform: rotate(360deg);
    }
}