body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #222;
    background-color: #dfdfdf;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.28) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.28) 75%), linear-gradient(45deg, rgba(255, 255, 255, 0.28) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.28) 75%);
    background-position: 0 0, 4px 4px;
    background-size: 8px 8px;
    margin: 0;
    padding: 0;
}
::selection {
    color: #fff;
    background: #5284c1;
}
.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.star {
    position: absolute;
    color: #858585;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1;
    text-shadow: 1px 1px 0 #f7f7f7;
    opacity: 0.7;
    animation: star-float 7s ease-in-out infinite;
}
.star-1 { top: 9%; left: 7%; animation-delay: -1s; }
.star-2 { top: 19%; right: 8%; font-size: 18px; animation-delay: -4s; }
.star-3 { top: 37%; left: 3%; font-size: 17px; animation-delay: -2s; }
.star-4 { top: 48%; right: 4%; font-size: 28px; animation-delay: -6s; }
.star-5 { top: 65%; left: 8%; font-size: 20px; animation-delay: -3s; }
.star-6 { top: 78%; right: 9%; animation-delay: -5s; }
.star-7 { top: 88%; left: 25%; font-size: 16px; animation-delay: -1.5s; }
.star-8 { top: 6%; right: 25%; font-size: 15px; animation-delay: -3.5s; }
.star-9 { top: 28%; left: 17%; font-size: 13px; animation-delay: -5.5s; }
.star-10 { top: 57%; right: 16%; font-size: 14px; animation-delay: -2.5s; }
.star-11 { top: 83%; left: 5%; font-size: 14px; animation-delay: -4.5s; }
.star-12 { top: 93%; right: 27%; font-size: 18px; animation-delay: -6.5s; }
@keyframes star-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5px, -9px) rotate(12deg); }
}
.home-container {
    width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #6d879d;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75), 0 0 18px rgba(34, 68, 100, 0.3);
    padding: 0;
    position: relative;
    z-index: 1;
}
.home-header {
    background: linear-gradient(#477eaf 0%, #174d80 42%, #003366 50%, #174d80 58%, #477eaf 100%);
    color: #fff;
    padding: 16px 24px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    border-bottom: 2px solid #9fc3df;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 #00274d;
}
.home-header::after {
    content: "";
    position: absolute;
    inset: 4px 8px auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}
.sub-header-bar {
    background: linear-gradient(#7ea9d1, #3d70a8 48%, #2c5c93 52%, #6d9dcc);
    color: #fff;
    font-size: 13px;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #3a5e8c;
    justify-content: center;
    text-align: center;
}
.status-ticker {
    overflow: hidden;
    color: #d8eaff;
    background: #163e67;
    border-bottom: 1px solid #8eb3d4;
    font-family: "Courier New", monospace;
    font-size: 11px;
    white-space: nowrap;
}
.status-ticker-track {
    display: inline-block;
    min-width: 100%;
    padding: 4px 0;
    animation: ticker-scroll 22s linear infinite;
}
@keyframes ticker-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}
.sub-header-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: normal;
    margin: 0 4px;
    transition: color 0.2s;
}
.sub-header-bar a:hover {
    color: #dbeafe;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.myspace-search {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 0;
}
.myspace-search input[type="text"] {
    padding: 2px 6px;
    font-size: 13px;
    border: 2px inset #c8d7e6;
    border-radius: 2px;
    background: #e5eefa;
    color: #003366;
}
.myspace-search button {
    padding: 2px 10px;
    font-size: 13px;
    background: linear-gradient(#b7d0e4, #527fa8 48%, #315e87 52%, #8eafc9);
    color: #fff;
    border: 2px outset #b9d0e4;
    border-radius: 2px;
    cursor: pointer;
}
.myspace-search button:hover {
    background: #003366;
}
.myspace-search button:active {
    border-style: inset;
}
.header-presented {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-left: auto;
    text-align: right;
}
.header-presented span:last-child {
    color: #d8edff;
    text-shadow: 2px 2px 0 #00254a;
}
.home-profile {
    display: flex;
    padding: 24px;
}
.profile-left {
    width: 250px;
    margin-right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px dotted #9db2c4;
    padding-right: 18px;
}
.profile-pic {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f9fcff, #aabccc 50%, #f2f7fa);
    border: 4px ridge #aec3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-info {
    font-size: 13px;
    background: #f3f3f3;
    border: 1px solid #7b9ebd;
    padding: 10px;
    box-shadow: inset 0 0 0 1px #fff, 2px 2px 0 #b6c6d3;
}
.online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 4px 1px 2px;
    background: #74c443;
    border: 1px solid #36731b;
    border-radius: 50%;
    box-shadow: 0 0 4px #74c443;
    animation: online-blink 2.5s ease-in-out infinite;
}
@keyframes online-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.profile-main {
    flex: 1;
    border-left: 1px dotted #9db2c4;
    padding-left: 18px;
}
.profile-audio {
    box-shadow: inset 0 0 0 1px #fff, 2px 2px 0 #b6c6d3;
}
.profile-blurb {
    background: #e5eefa;
    border: 1px solid #7b9ebd;
    padding: 12px;
    margin-bottom: 18px;
    box-shadow: inset 0 0 0 1px #fff, 3px 3px 0 #b8c7d3;
    position: relative;
}
.profile-blurb::before {
    content: "WELCOME.TXT";
    display: block;
    color: #6e879c;
    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.profile-section {
    margin-bottom: 18px;
}
.profile-section h2 {
    font-size: 16px;
    color: #FF6600;
    padding-left: 2px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 8px;
    background: linear-gradient(#ffe6bd, #ffcc99 48%, #e9a86e 52%, #ffd9a8);
    border: 1px solid #d58b52;
    border-left: 5px solid #ff6600;
    text-shadow: 1px 1px 0 #fff2dc;
    box-sizing: border-box;
}
.profile-section h2::after {
    content: " //";
    color: #a96735;
    font-family: "Courier New", monospace;
    font-size: 11px;
}
.friends-section {
    background: #f3f3f3;
    border: 1px solid #7b9ebd;
    padding: 10px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.friends-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.ascii-signature {
    margin: 4px auto 16px;
    color: #6c879b;
    font-family: "Courier New", monospace;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
}
.friend {
    width: 70px;
    text-align: center;
    font-size: 11px;
}
.friend-pic {
    width: 70px;
    height: 70px;
    background: #ddd;
    border: 1px solid #7b9ebd;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}
.project-card {
    background: linear-gradient(135deg, #ffffff, #edf3f8 50%, #dbe6ef);
    border: 2px outset #c4d5e3;
    padding: 14px 18px 10px 18px;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.project-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 6px;
}
.project-title a {
    color: #003366;
    text-decoration: underline;
}
.project-title a:hover {
    color: #7b9ebd;
}
.project-desc {
    font-size: 0.98em;
    color: #333;
}
.photos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0 0 0;
    justify-content: center;
    align-items: center;
}
.photos-grid img {
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    object-fit: cover;
    padding: 4px;
    border: 3px ridge #b9cbd8;
    background: #f7fbff;
    box-shadow: 2px 2px 0 #8da2b2;
    transition: transform 0.2s, box-shadow 0.2s;
}
.photos-grid img:nth-child(3n + 1) {
    transform: rotate(-2deg);
}
.photos-grid img:nth-child(3n) {
    transform: rotate(2deg);
}
.photos-grid img:hover {
    position: relative;
    z-index: 2;
    transform: scale(1.08) rotate(0deg);
    box-shadow: 3px 3px 0 #527fa8, 0 0 8px rgba(82, 127, 168, 0.5);
}
.comments-section {
    background: #f3f3f3;
    border: 1px solid #7b9ebd;
    padding: 10px;
}
.comment {
    border-bottom: 1px solid #ccc;
    padding: 6px 0;
}
.comment:last-child {
    border-bottom: none;
}
a {
    color: #003366;
    text-decoration: underline;
    font-weight: normal;
}
a:hover {
    color: #7b9ebd;
}
.home-footer {
    background: linear-gradient(#477eaf, #003366 45%, #174d80 55%, #477eaf);
    color: #fff;
    text-align: center;
    padding: 8px 0 4px 0;
    border-top: none;
}
.badges-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.badges-bar img {
    width: 88px;
    height: 31px;
    display: inline-block;
    border: 1px solid #2222;
    background: #fff;
}
.footer-status {
    color: #b9d8ef;
    font-family: "Courier New", monospace;
    font-size: 10px;
    padding: 2px 8px 6px;
}
.find-me-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 12px 0 0 0;
}
.find-me-links a {
    color: #003366;
    font-size: 2.2em;
    text-decoration: none;
    transition: color 0.2s;
}
.find-me-links a:hover {
    color: #ff6600;
    transform: translateY(-2px);
}
.profile-actions {
    margin: 10px 0 14px 0;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.profile-actions img {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    object-fit: contain;
    display: block;
}
#banner-ad-findme {
    width: 100%;
    min-height: 80px;
    text-align: center;
    margin: 18px 0 8px 0;
    padding: 8px 0;
    background: none;
    border: none;
}
#banner-ad-findme img {
    display: inline;
    width: 100%;
    height: auto;
    border: 1px solid #7b9ebd;
    vertical-align: middle;
    
    
}
#banner-ad-concerts {
    width: 100%;
    min-height: 80px;
    text-align: center;
    margin: 18px 0 8px 0;
    padding: 8px 0;
    background: none;
}
#banner-ad-concerts img {
    display: inline;
    width: 100%;
    height: auto;
    
    vertical-align: middle;
    border: 1px solid #7b9ebd;
    
}
#banner-ad-hackathons {
    width: 100%;
    min-height: 80px;
    text-align: center;
    margin: 18px 0 8px 0;
    padding: 8px 0;
    background: none;
    border: none;
}
#banner-ad-hackathons img {
    display: inline;
    width: 100%;
    height: auto;
    
    vertical-align: middle;
    border: 1px solid #7b9ebd;
    
}

@media (max-width: 950px) {
    .home-container { width: 100vw; min-width: 0; }
}
@media (max-width: 700px) {
    .home-container {
        width: 100vw;
        min-width: 0;
        margin: 0;
        border: 0;
        box-shadow: none;
        background: #fff;
    }
    .home-header {
        padding: 10px;
    }
    .sub-header-bar {
        padding: 6px 8px;
        font-size: 1em;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
        text-align: center;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .header-presented {
        margin-left: 0;
        text-align: left;
    }
    .myspace-search {
        margin-right: 0;
    }
    .home-profile {
        flex-direction: column;
        padding: 10px;
        gap: 0;
    }
    .profile-left {
        width: 100%;
        margin-right: 0;
        align-items: center;
        border-right: 0;
        padding-right: 0;
    }
    .profile-main {
        border-left: 0;
        padding-left: 0;
    }
    .profile-pic {
        width: 60vw;
        height: 60vw;
        max-width: 98vw;
        max-height: 60vw;
    }
    .profile-info {
        font-size: 1em;
        width: 100%;
        box-sizing: border-box;
    }
    .friends-section {
        width: 100%;
        padding: 8px 0;
    }
    .friends-list {
        gap: 10px;
    }
    .friend-pic {
        width: 50px;
        height: 50px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .project-card {
        min-width: 0;
        max-width: 100vw;
        padding: 10px 8px 8px 8px;
    }
    .photos-grid {
        gap: 8px;
        justify-content: center;
    }
    .photos-grid img {
        width: 70px;
        height: 70px;
    }
    .profile-section h2 {
        font-size: 1.1em;
        margin: 12px -8px 6px -8px;
        padding: 6px 8px;
        background: #fcc77b;
        color: #f65113;
        border-bottom: none;
    }
    .profile-blurb {
        font-size: 0.98em;
        padding: 8px;
    }
    .comments-section {
        font-size: 0.98em;
        padding: 6px;
    }
    .star-1 { left: 2%; }
    .star-2 { right: 2%; }
    .star-3 { left: 1%; }
    .star-4 { right: 1%; }
    .star-5 { left: 3%; }
    .star-6 { right: 3%; }
    .star-7, .star-8, .star-9, .star-10, .star-11, .star-12 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .star, .status-ticker-track {
        animation: none;
    }
}
