/* ============================
   HACKER / CYBER RETRO THEME
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

html{
    background-color: black;
}

body {
    background-color: #000;
    color: #33ff66;
    font-family: "Press Start 2P", monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* MATRIX green digital fade */
    background: radial-gradient(circle at top, #003300 0%, #000000 70%);
    
    /* VERY subtle CRT scanlines */
    background-image: repeating-linear-gradient(
        rgba(0, 255, 100, 0.03) 0px,
        rgba(0, 255, 100, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );

    text-shadow: 0 0 2px #33ff66;
}

/* ============================
   GLOBAL ELEMENTS
   ============================ */

a {
    color: #33ff66;
}

a:hover {
    color: #00ffaa;
    text-shadow: 0 0 5px #00ffaa;
}

/* ============================
   NAVBAR (CYBER GRID)
   ============================ */

.navbar {
    background-color: #050505;
    padding: 10px;
    border-bottom: 2px solid #00ff99;
    box-shadow: 0 0 10px #00ff99;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar li {
    margin: 10px;
    position: relative;
}

.navbar a,
#services-link,
#services-link1 {
    padding: 10px 14px;
    display: inline-block;
    border: 1px solid #00ff99;
    border-radius: 4px;

    /* cyber glow but not blurry */
    box-shadow: inset 0 0 10px #00ff99, 0 0 10px #00ff99;

    background-color: rgba(0, 255, 170, 0.05);
    cursor: pointer;
    transition: 0.15s;
}

.navbar a:hover,
#services-link:hover,
#services-link1:hover {
    background-color: #00ff88;
    color: #000;
    box-shadow: inset 0 0 12px #00ff88, 0 0 12px #00ff88;
}

/* ============================
   DROPDOWN PANELS
   ============================ */

.dropdown-content {
    position: absolute;
    top: 100%;
    background-color: #001a00;
    border: 2px solid #00ff99;
    padding: 12px;
    min-width: 260px;
    z-index: 1;
    border-radius: 8px;

    box-shadow: 0 0 12px #00ff99;
    display: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-columns {
    display: flex;
    flex-wrap: wrap;
}

.dropdown-columns div {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.dropdown-columns a {
    margin-bottom: 8px;
    color: #99ffcc;
    text-decoration: none;
}

.dropdown-columns a:hover {
    color: #ffffff;
    text-shadow: 0 0 7px #00ffaa;
}

/* ============================
   PROFILE SECTION
   ============================ */

.profile-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.profile-pic {
    border-radius: 50%;
    border: 3px solid #00ff99;
    margin: 20px;
    box-shadow: 0 0 20px #00ff99;
    height: 250px;
    max-width: 70%;
    image-rendering: pixelated;
}

.mango-box {
    background-color: black;
    padding: 20px;
    margin: 40px;
    border-radius: 10px;
    border: 2px solid #00ff99;
    box-shadow: 0 0 15px #00ff99;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.mango-img {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    border: 3px solid #00ff99;
    padding: 3px;
    box-shadow: 0 0 10px #00ff99;
}

.mango-box h2 {
    color: #33ff66;
    text-shadow: 0 0 5px #33ff66;
}

/* ============================
   RSS FEEDS
   ============================ */

/* RSS FEED CONTAINER IN COLUMNS */
#rss-container {
    display: flex;
    flex-direction: row;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* FEED BOX STYLING */
.feed-box {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #00ff88;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 0 12px #00ff88;
}

/* FEED TITLES */
.feed-box h2 {
    margin-top: 0;
    margin-left: 10px;
    font-size: 22px;
    text-shadow: 0 0 6px #00ff88;
}

/* LINKS */
a {
    color: #00ff88;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 6px #00ffaa;
}

/* Make text sharper (reduces blur) */
* {
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}

/*****************************************
  TWO-COLUMN LAYOUT FOR POC + NEWS
******************************************/

#rss-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 2 columns */
    gap: 20px;
    padding: 20px;
}

/* Ensure boxes fill width */
.rss-col {
    width: 100%;
}

/* Responsive for small screens */
@media (max-width: 900px) {
    #rss-columns {
        grid-template-columns: 1fr; /* stack vertically */
    }
}


.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: #00ff88;
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

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