/* ===========================================
   TOM DALY'S CYBER ZONE - STYLESHEET
   Est. 2007
   =========================================== */

* {
    margin: 0;
    padding: 0;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="20">⚔️</text></svg>') 16 16, auto;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    background-color: #1a0a00;
    color: #ffcc99;
    background-image: url('data:image/gif;base64,R0lGODlhCgAKAIAAABUKAAoFACH5BAAAAAAALAAAAAAKAAoAAAIRhI+py+0Po5y02ouz3rz7VQAAOw==');
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ff8844;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.under-construction {
    background: linear-gradient(45deg, #000 25%, #ff6600 25%, #ff6600 50%, #000 50%, #000 75%, #ff6600 75%);
    background-size: 20px 20px;
    padding: 5px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #cc5500;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #ffff00;
    animation: construction-scroll 1s linear infinite;
}

@keyframes construction-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

.under-construction marquee {
    flex: 1;
}

.blink {
    animation: blink 0.8s step-end infinite;
    padding: 0 10px;
    font-size: 14px;
}

@keyframes blink {
    0%, 100% { visibility: visible; }
    50% { visibility: hidden; }
}

.main-table {
    width: 780px;
    margin: 10px auto;
    background-color: #2a1500;
    border: 3px ridge #cc5500;
}

.header-cell {
    background: linear-gradient(180deg, #4a2500, #2a1500);
    text-align: center;
    padding: 15px;
    border-bottom: 3px ridge #cc5500;
}

.rainbow-text {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 0 #000;
}

.rainbow-text span {
    display: inline;
    animation: rainbow-letter 2s linear infinite;
}

.rainbow-text span:nth-child(1) { animation-delay: 0s; }
.rainbow-text span:nth-child(2) { animation-delay: 0.05s; }
.rainbow-text span:nth-child(3) { animation-delay: 0.1s; }
.rainbow-text span:nth-child(4) { animation-delay: 0.15s; }
.rainbow-text span:nth-child(5) { animation-delay: 0.2s; }
.rainbow-text span:nth-child(6) { animation-delay: 0.25s; }
.rainbow-text span:nth-child(7) { animation-delay: 0.3s; }
.rainbow-text span:nth-child(8) { animation-delay: 0.35s; }
.rainbow-text span:nth-child(9) { animation-delay: 0.4s; }
.rainbow-text span:nth-child(10) { animation-delay: 0.45s; }
.rainbow-text span:nth-child(11) { animation-delay: 0.5s; }
.rainbow-text span:nth-child(12) { animation-delay: 0.55s; }
.rainbow-text span:nth-child(13) { animation-delay: 0.6s; }
.rainbow-text span:nth-child(14) { animation-delay: 0.65s; }
.rainbow-text span:nth-child(15) { animation-delay: 0.7s; }
.rainbow-text span:nth-child(16) { animation-delay: 0.75s; }
.rainbow-text span:nth-child(17) { animation-delay: 0.8s; }
.rainbow-text span:nth-child(18) { animation-delay: 0.85s; }
.rainbow-text span:nth-child(19) { animation-delay: 0.9s; }
.rainbow-text span:nth-child(20) { animation-delay: 0.95s; }
.rainbow-text span:nth-child(21) { animation-delay: 1s; }
.rainbow-text span:nth-child(22) { animation-delay: 1.05s; }
.rainbow-text span:nth-child(23) { animation-delay: 1.1s; }
.rainbow-text span:nth-child(24) { animation-delay: 1.15s; }
.rainbow-text span:nth-child(25) { animation-delay: 1.2s; }
.rainbow-text span:nth-child(26) { animation-delay: 1.25s; }
.rainbow-text span:nth-child(27) { animation-delay: 1.3s; }
.rainbow-text span:nth-child(28) { animation-delay: 1.35s; }
.rainbow-text span:nth-child(29) { animation-delay: 1.4s; }

@keyframes rainbow-letter {
    0% { color: #ff6600; }
    25% { color: #ffcc00; }
    50% { color: #ff9933; }
    75% { color: #ffff66; }
    100% { color: #ff6600; }
}

.subtitle {
    font-family: Arial, Helvetica, sans-serif;
    color: #cc9966;
    font-style: italic;
    font-size: 10px;
    margin-top: 5px;
}

.sidebar {
    background-color: #3a1a00;
    border-right: 3px ridge #cc5500;
    padding: 10px;
    font-size: 12px;
}

.nav-box {
    background-color: #1a0a00;
    border: 2px inset #996633;
    padding: 8px;
    margin-bottom: 10px;
}

.nav-title {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #ffcc00;
    text-align: center;
    font-size: 12px;
    margin-bottom: 8px;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    padding: 3px 0;
    border-bottom: 1px dotted #663300;
}

.nav-list li:last-child {
    border-bottom: none;
}

.nav-list a {
    font-family: Verdana, Geneva, sans-serif;
    color: #ffcc66;
    text-decoration: none;
    font-size: 12px;
}

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

.fancy-hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6600, #ffcc00, #ff6600, transparent);
    margin: 10px 0;
}

.counter-box {
    text-align: center;
    padding: 8px;
    background-color: #0a0500;
    border: 2px groove #663300;
    font-family: Arial, Helvetica, sans-serif;
}

.hit-counter {
    display: inline-block;
    margin: 5px 0;
}

.hit-counter span {
    background-color: #000;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: bold;
    padding: 3px 5px;
    border: 1px inset #333;
}

.small-text {
    font-size: 11px;
    color: #996633;
}

.badges {
    text-align: center;
    display: flex;
    justify-content: center;
}

.badge {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    padding: 3px 5px;
    text-align: center;
    font-weight: bold;
    border: 2px outset;
    width: 80px;
    margin: 5px auto;
    display: block;
}

.ie-badge {
    background: linear-gradient(180deg, #0066cc, #003366);
    color: white;
    border-color: #0099ff;
}

.vim-badge {
    background: linear-gradient(180deg, #666, #333);
    color: #00ff00;
    border-color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.html-badge {
    background: linear-gradient(180deg, #ff6600, #cc3300);
    color: white;
    border-color: #ff9933;
}

.y2k-badge {
    background: linear-gradient(180deg, #00cc00, #006600);
    color: #ffff00;
    border-color: #00ff00;
}

.midi-player {
    background: linear-gradient(180deg, #444, #222);
    border: 2px ridge #666;
    padding: 8px;
    text-align: center;
}

.midi-player h4 {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #00ff00;
    font-size: 10px;
    margin-bottom: 3px;
}

.song-title {
    font-family: 'Courier New', Courier, monospace;
    color: #00ccff;
    font-size: 9px;
    margin-bottom: 5px;
}

.player-controls {
    margin-bottom: 5px;
}

.retro-btn {
    background: linear-gradient(180deg, #666, #333);
    border: 2px outset #888;
    color: #fff;
    padding: 2px 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    cursor: pointer;
}

.retro-btn:active {
    border-style: inset;
}

.volume-control {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    color: #ccc;
}

.volume-slider {
    width: 60px;
    vertical-align: middle;
}

.midi-note {
    font-size: 8px;
    color: #666;
    margin-top: 3px;
}

.webring {
    background-color: #1a0a00;
    border: 2px groove #cc5500;
    padding: 8px;
    text-align: center;
}

.webring h4 {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #ffcc00;
    font-size: 10px;
    margin-bottom: 3px;
}

.webring-name {
    font-family: Arial, Helvetica, sans-serif;
    color: #ff6600;
    font-style: italic;
    font-size: 9px;
}

.webring-nav {
    margin-top: 5px;
    font-size: 9px;
}

.webring-nav a {
    color: #ffcc66;
    text-decoration: none;
}

.webring-nav a:hover {
    text-decoration: underline;
}

.content {
    padding: 15px;
    background-color: #2a1500;
}

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

.section-title {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #ffcc00;
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #3a1a00;
    border: 2px ridge #cc5500;
}

.title-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.about-table {
    width: 100%;
}

.photo-cell {
    width: 170px;
    text-align: center;
    vertical-align: top;
}

.photo-frame {
    border: 4px ridge #cc5500;
    padding: 3px;
    background-color: #4a2500;
    display: inline-block;
}

.profile-photo {
    width: 150px;
    height: 150px;
    display: block;
}

.photo-caption {
    font-family: Arial, Helvetica, sans-serif;
    color: #cc9966;
    font-size: 9px;
    margin-top: 3px;
}

.bio-cell {
    padding-left: 15px;
    vertical-align: top;
}

.bio-cell p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.greeting {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    color: #00ff00;
    font-weight: bold;
}

.title-display {
    background-color: #3a1a00;
    border: 2px ridge #ff6600;
    padding: 8px;
    text-align: center;
    margin: 10px 0;
}

.job-title {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 14px;
    color: #ffcc00;
    font-weight: bold;
}

.spinning {
    animation: spin 2s linear infinite;
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

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

.highlight {
    color: #00ffff;
    font-weight: bold;
}

.code-text {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    background-color: #000;
    padding: 1px 3px;
}

.skills-container {
    margin-bottom: 10px;
}

.skill-item {
    display: table;
    width: 100%;
    margin-bottom: 8px;
}

.skill-name {
    display: table-cell;
    width: 130px;
    font-family: Verdana, Geneva, sans-serif;
    color: #ffcc66;
    font-weight: bold;
    font-size: 10px;
    vertical-align: middle;
}

.skill-bar {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
}

.skill-bar > div {
    height: 12px;
    background-color: #1a0a00;
    border: 2px inset #663300;
}

.skill-fill {
    height: 100% !important;
    background: linear-gradient(180deg, #ff9933, #ff6600, #cc3300);
    border: none !important;
}

.skill-level {
    display: table-cell;
    width: 70px;
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
    color: #00ff00;
    font-weight: bold;
    font-size: 10px;
    vertical-align: middle;
}

.skills-note {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #cc9966;
    font-size: 10px;
}

.new-icon {
    width: 30px;
    vertical-align: middle;
}

.projects-grid {
    display: table;
    width: 100%;
}

.project-card {
    background-color: #3a1a00;
    border: 2px ridge #cc5500;
    padding: 10px;
    margin-bottom: 10px;
}

.project-card h4 {
    font-family: 'Courier New', Courier, monospace;
    color: #ffcc00;
    font-size: 12px;
    margin-bottom: 5px;
}

.project-card p {
    font-size: 10px;
    margin-bottom: 3px;
}

.project-status {
    font-weight: bold;
}

.status-complete {
    color: #00ff00;
}

.status-wip {
    color: #ffff00;
}

.contact-info {
    background-color: #1a0a00;
    border: 2px groove #cc5500;
    padding: 10px;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 6px 0;
    font-size: 11px;
}

.contact-info strong {
    font-family: Arial, Helvetica, sans-serif;
    color: #ff9933;
}

.link {
    color: #00ccff;
    text-decoration: underline;
}

.link:hover {
    color: #00ffff;
}

.away-status {
    font-family: Arial, Helvetica, sans-serif;
    color: #ff6600;
    font-style: italic;
    font-size: 9px;
}

.guestbook-cta {
    text-align: center;
    padding: 15px;
    background-color: #3a1a00;
    border: 3px ridge #ff6600;
}

.big-link {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 16px;
    color: #ffff00;
    text-decoration: none;
    font-weight: bold;
}

.big-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.guestbook-cta p {
    font-family: Arial, Helvetica, sans-serif;
    color: #cc9966;
    font-size: 10px;
    margin-top: 5px;
}

.footer-cell {
    background-color: #2a1500;
    text-align: center;
    padding: 10px;
    border-top: 3px ridge #cc5500;
}

.footer-text {
    font-family: Arial, Helvetica, sans-serif;
    color: #996633;
    font-size: 9px;
    margin-bottom: 5px;
}

.footer-text a {
    color: #cc7733;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    color: #663300;
    margin-bottom: 5px;
}

.footer-badges {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    color: #996633;
}

.badge-text {
    padding: 2px 5px;
    background-color: #1a0a00;
    border: 1px solid #663300;
}

.sparkle-text {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    margin-top: 10px;
    color: #ffcc00;
    font-size: 11px;
}
