
   /* === PHONEHOLM CORE STYLING === */
body {
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    line-height: 1.6;
    background: 
    linear-gradient(to bottom, rgb(121, 15, 98) 0%, rgba(26, 13, 46, 0.7) 100%),
    url('../images/GIF-by-Omer-Studios.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient rgba(78, 0, 61, 0.424), rgba(117, 0, 54, 0.413),
        url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC');
    z-index: -1;
    opacity: 0.75;
}

/* === HEADER === */
.full-width-header {
    width: 100%;
    background: #000;
    border-bottom: 2px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    padding: 5px 0;
    position: relative;
}

.phoneholm-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
    padding: 5px 0;
}

.phoneholm-header:before,
.phoneholm-header:after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #ff00ff, #ffff00);
}

.phoneholm-header h1 {
    background: #000;
    padding: 0 20px;
    font-size: 22px;
    margin: 0;
    background: linear-gradient(to right, #ff00ff, #ffff00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Sparkles */
.sparkle {
    position: absolute;
    font-size: 10px;
    color: #ffff00;
    animation: sparkle 2s infinite;
    opacity: 0;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(20deg); }
    100% { opacity: 0; transform: scale(0.3) rotate(40deg); }
}

/* Sparkle positions */
.sparkle-1 { top: -10px; left: 10%; animation-delay: 0.1s; }
.sparkle-2 { top: 3px; left: 15%; animation-delay: 0.3s; }
.sparkle-3 { top: 15px; left: 8%; animation-delay: 0.5s; }
.sparkle-4 { top: -8px; right: 12%; animation-delay: 0.2s; }
.sparkle-5 { top: 7px; right: 18%; animation-delay: 0.4s; }
.sparkle-6 { top: 20px; right: 10%; animation-delay: 0.6s; }
.sparkle-7 { top: -3px; left: 50%; transform: translateX(-50%); animation-delay: 0.7s; }
.sparkle-8 { bottom: -10px; left: 20%; animation-delay: 0.8s; }
.sparkle-9 { bottom: -8px; right: 25%; animation-delay: 0.9s; }
.sparkle-10 { top: 50%; left: 30%; animation-delay: 1s; }
.sparkle-11 { top: 50%; right: 30%; animation-delay: 1.1s; }

/* === PORTAL TRANSITION === */
.portal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.portal-gif {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.2) contrast(1.1);
}

.portal-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 255, 255, 0.05) 1px,
        transparent 2px,
        transparent 4px
    );
    z-index: 1;
}

.portal-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffff00;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    z-index: 2;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: text-pulse 1.5s infinite alternate;
}

@keyframes text-pulse {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* === LAYOUT === */
.container {
    flex: 1;
    display: flex;
    max-width: 900px;
    margin: 0 auto 0;
    padding: 0 20px;
    gap: 30px;
}


.left-column {
    width: 250px;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 785px; /* Adjust based on header/footer height */
}

/* === NAVIGATION === */
.nav {
    text-align: center;
    margin: 25px 0;
}

.nav a {
    display: inline-block;
    padding: 5px 15px;
    background: #000;
    border: 2px solid #ffff00;
    color: #ffff00;
    text-decoration: none;
    transition: all 0.3s;
}

.nav a:hover {
    background: #ffff00;
    color: #000;
}

/* === SECTION BOXES === */
.section-box {
    border: 2px solid #ff00ff;
    padding: 15px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    transition: all 0.3s;
}

.section-box:hover {
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
    transform: translateY(-3px);
}

.section-box:before {
    content: "✧･ﾟ:*";
    position: absolute;
    top: -15px;
    left: 10px;
    color: #ffff00;
    background: #000;
    padding: 0 5px;
}

.section-header {
    background: #111;
    padding: 5px 10px;
    margin: -15px -15px 15px -15px;
    border-bottom: 2px solid #ff00ff;
    font-weight: 800;
    font-size: 18px;
    color: #ffff00;
    text-shadow: 2px 2px 0 #ff00ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === BLOG POSTS === */
.blog-post {
    border: 2px solid #ff00ff;
    padding: 15px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    transition: all 0.3s;
}

.blog-post:hover {
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
    transform: translateY(-3px);
}

.blog-post:before {
    content: "✧･ﾟ:*";
    position: absolute;
    top: -15px;
    left: 10px;
    color: #ffff00;
    background: #000;
    padding: 0 5px;
}

.blog-date {
    font-size: 12px;
    color: #ffff00;
    margin-bottom: 10px;
    font-style: italic;
}

.blog-title {
    font-size: 20px;
    color: #ff00ff;
    margin-bottom: 15px;
    font-weight: bold;
}

.blog-content {
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-posts-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    padding-top: 16px;
    position: relative;
}

/* Custom scrollbar for blog posts */
.blog-posts-container::-webkit-scrollbar {
    width: 8px;
}

.blog-posts-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.blog-posts-container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff00ff, #ffff00);
    border-radius: 4px;
}

.blog-posts-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ffff00, #ff00ff);
}

/* === TAGS === */
.blog-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    font-size: 0.75em;
    padding: 3px 8px;
    background: #222;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(255, 0, 255, 0.3);
}

/* Tag colors */
.tag.plants { border: 1px solid #00ff00; color: #00ff00; }
.tag.birds { border: 1px solid #ffff00; color: #ffff00; }
.tag.recs { border: 1px solid #ff00ff; color: #ff00ff; }
.tag.art { border: 1px solid #00ffff; color: #00ffff; }
.tag.memes { border: 1px solid #ff9900; color: #ff9900; }
.tag.personal { border: 1px solid #ff69b4; color: #ff69b4; }
.tag.misc { border: 1px solid #9370db; color: #9370db; }

/* Active tag filter */
.tag.active {
    background: #ff00ff;
    color: #000;
    font-weight: bold;
}

/* === IN THE WORKS SECTION === */
.projects-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.projects-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #333;
}

.project-item {
    flex-grow: 1;
    padding-right: 10px;
}        

.wip-badge {
    font-size: 0.7em;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.wip-badge.started { background: #ff00ff; color: #000; }
.wip-badge.progress { background: #ffff00; color: #000; }
.wip-badge.done { background: #00ffff; color: #000; }

/* === STUFFED FRIENDS === */
.stuffed-friends {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px 0;
    justify-items: center; /* This centers the grid items horizontally */
}

.friend-icon {
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: none;
    padding: 0;
    width: 100%; /* Takes full width of grid cell */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    width: 100%; /* Fill grid cell */
        margin: 0;
    
}

.friend-icon:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.friend-avatar {
    width: 50px;
    height: 50px;
    background: #222;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffff00;
    font-size: 24px;
    margin: 0 auto; 
    margin-left: -3px; /* Adjust this value as needed */
}

/* Ensure images inside avatars are properly sized */
.friend-avatar img {
    max-width: 100%;
    max-height: 100%;
    display: block; /* Removes extra space under images */
    margin: 0 auto; /* Extra centering */
}

/* === MODALS === */
.friend-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100; /* Make sure this is higher than the overlay */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    display: none;
}

.friend-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-family: 'Comic Sans MS', 'Courier New', monospace;
    background: url('data:image/gif;base64,R0lGODlhBgAGAKECABERESQkJP///wAAACH5BAEAAAIALAAAAAAGAAYAAAIKhI+pywTfojBUFAA7') #000;
    border: 5px ridge #ff00ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6), inset 0 0 15px rgba(255, 255, 0, 0.4);
    padding: 20px;
    width: 350px;
    max-width: 90%;
    color: #e0e0e0;
    line-height: 1.4;
    text-align: left;
    max-height: 80vh;
    overflow-y: auto;
}

/* Custom scrollbar for MySpace feel */
.friend-modal::-webkit-scrollbar {
    width: 12px;
}

.friend-modal::-webkit-scrollbar-track {
    background: #000;
    border: 1px solid #ff00ff;
}

.friend-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff00ff, #ffff00);
    border-radius: 6px;
}

/* Animated border */
.friend-modal {
    animation: modal-glow 3s infinite alternate, rainbow-border 6s linear infinite;
}

@keyframes rainbow-border {
    0% { border-color: #ff00ff; }
    16.7% { border-color: #ff00ff; }
    33.3% { border-color: #ffff00; }
    50% { border-color: #00ffff; }
    66.7% { border-color: #00ff00; }
    83.3% { border-color: #ff69b4; }
    100% { border-color: #ff00ff; }
}


.friend-modal .section-header {
    background: linear-gradient(to right, #ff00ff, #00ffff);
    border: 2px ridge #fff;
    padding: 8px;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    font-family: 'Impact', sans-serif;
    letter-spacing: 1px;
    font-size: 22px;
    text-align: center;
    color: white;
    margin: -20px -20px 15px -20px;
}

.friend-details {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border: 2px dashed #ff00ff;
    margin-top: 15px;
    position: relative;
}

.friend-details::before {
    content: '♥ ♥ ♥';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    padding: 0 10px;
    color: #ff00ff;
    font-size: 14px;
    letter-spacing: 5px;
}

.friend-details p {
    margin: 10px 0;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.friend-details span.highlight {
    font-weight: bold;
    color: #00ffff;
    display: inline-block;
    width: 110px;
    text-shadow: 1px 1px 0 #000;
    background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.1), transparent);
}

/* glitter effects */
.modal-glitter {
    position: absolute;
    font-size: 12px;
    color: #ffff00;
    animation: glitter 1.5s infinite;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 0 5px #ffff00;
    z-index: 2;
}

@keyframes glitter {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
    100% { opacity: 0; transform: scale(0.5) rotate(360deg); }
}


.friend-avatar-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
    width: 100%;
}

.friend-avatar-circle {
    width: 120px;
    height: 120px;
    background: repeating-linear-gradient(45deg, #222, #222 10px, #333 10px, #333 20px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed #ffff00;
    font-size: 48px;
    box-shadow: 0 0 8px rgba(255, 255, 0, 0.5);
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* circle horizontally */
}

.friend-avatar-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('data:image/gif;base64,R0lGODlhCgAKAIAAAP////8AACH5BAAAAAAALAAAAAAKAAoAAAIRhB2ZhxoM3GMSykqd1VltzxQAOw==');
    opacity: 0.2;
    pointer-events: none;
}

.friend-modal {
    animation: modal-glow 3s infinite alternate;
}

@keyframes modal-glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
    }
}

@keyframes scroll-text {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
  }
  
  .scrolling-text {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    color: #ff69b4;
    margin-top: 15px;
    text-align: center;
  }
  
  .scrolling-text span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 6s linear infinite;
  }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    display: none;
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    z-index: 10;
    background: #ff00ff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
    transition: all 0.3s;
}

.modal-close:hover {
    transform: scale(1.2) rotate(90deg);
    background: #ffff00;
    color: #000;
}

/* === CRT EFFECT === */
.crt-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
    opacity: 0.4;
}



/* === EMAIL LINK === */
.email-link {
    color: #ff00ff;
    text-decoration: none;
    transition: all 0.3s;
    background: rgba(255, 255, 0, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.email-link:hover {
    color: #000;
    background: #ffff00;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
}

/* === OLD BLOG LINK === */
.old-blog-link {
    color: #ffff00;
    text-decoration: none;
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
    transition: all 0.3s;
}

.old-blog-link:hover {
    color: #ff00ff;
    text-decoration: underline;
}

/* === FOOTER === */
footer {
    text-align: center;
    color: #ff00ff;
    font-size: 0.9em;
    border-top: 1px dotted #ff00ff;
    padding: 0px 0 0px;
    position: relative;
    z-index: 10;
    min-height: 20px;
    margin-top: 40px;
    font-family: 'Courier New', monospace;
    width: 100%;
    background: #000 !important; 
    position: relative; /* stays above other elements */
    z-index: 10; 
    box-shadow: 0 0 20px #000; /* soft edge to blend */
  }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-column {
        width: 100%;
    }
    
    .portal-text {
        font-size: 1.5rem;
    }
}