body {
    background: #000;
    color: #0ff;
    font-family: monospace;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.bar-wrapper {
    display: flex;
    justify-content: center;
    background: #000; 
    width: 100%;
}

.bar {
    display: flex;
    gap: 2rem;
    background: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    width: fit-content;
}

.bar a {
    text-decoration: none;
    padding: .5rem;
    font-size: 1.1rem;
}

.bar a.unselected {
    color: #555;
}

.bar a.selected {
    color: #f0f;
}

hr.neon {
    border: none;
    border-top: 2px solid #0ff;
    margin: 2rem 0;
}

.md-content {
    margin: 2rem 0;
}

.md-content h1, h2, h3 {
    color: #0ff;
    margin: 1.5rem 0 1rem;
}

.md-content code {
    background: #111;
    color: #73e6fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.md-content pre code {
    display: block;
    padding: 1rem;
    overflow-x: auto;
}

.md-content a {
    color: #73e6fa;
    text-decoration: none;
}

.md-content a:hover {
    color: #a8f2ff;
    text-decoration: underline;
}

.md-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #0ff;
    margin: 1rem 0;
}

a {
    color: #73e6fa;
    text-decoration: none;
}

a:hover {
    color: #a8f2ff;
    text-decoration: underline;
}


.writeups-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.platform-section {
    margin-bottom: 1.5rem;
    background: #001;
    border: 1px solid #0ff;
    border-radius: 5px;
    overflow: hidden;
    padding: 0 1rem; 
}

.platform-header {
    padding: 1rem 1.5rem;
    color: #0ff;
    font-size: 1.3rem;
    cursor: pointer;
    list-style: none;
    transition: all 0.3s;
}

.platform-header:hover {
    background: #002;
}

.platform-header::marker {
    display: none;
}

.difficulties-container {
    padding: 0 1.5rem 1rem;
}

.difficulty-section {
    margin: 1rem 0.75rem 0.5rem;
    background: rgba(0, 8, 16, 0.5);
    border: 1px solid #5555ff;
    border-radius: 6px;
    padding: 0 1rem;
}

.difficulty-header {
    padding: 0.7rem 0;
    color: #5555ff;
    cursor: pointer;
    list-style: none;
}

.difficulty-header:hover {
    color: #7777ff;
}

.writeups-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.7rem;
    padding: 0.7rem 0;
    margin: 0 auto;
    max-width: 800px;
}

.writeup-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.7rem;
    background: #111;
    color: #73e6fa;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
    text-align: center;
    min-height: 40px;
    margin: 0 auto; 
    width: 80%; 
    box-sizing: border-box; 
}

.writeup-link span {
    display: inline-block;
    width: 100%;
}

.writeup-link:hover {
    background: #222;
    color: #a8f2ff;
    transform: translateX(3px);
}

.no-writeups {
    color: #555;
    padding: 1rem;
    grid-column: 1 / -1;
    text-align: center;
}

.writeups-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-section {
    margin-bottom: 1.5rem;
    background: rgba(0, 17, 34, 0.7);
    border: 1px solid #0ff;
    border-radius: 8px;
    overflow: hidden;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.platform-header:hover {
    background: rgba(0, 255, 255, 0.1);
}

.counter {
    background: #001;
    color: #0ff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.difficulties-container {
    padding: 0.5rem;
}

.difficulty-section {
    margin: 0.5rem 0;
    background: rgba(0, 8, 16, 0.5);
    border: 1px solid #5555ff;
    border-radius: 6px;
}

.difficulty-header {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
}

.writeups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.writeup-card {
    display: flex;
    flex-direction: column;
    background: #001;
    border: 1px solid #003;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.writeup-card:hover {
    border-color: #5555ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(85, 85, 255, 0.2);
}

.writeup-icon img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.8rem;
}

.writeup-card h3 {
    color: #73e6fa;
    margin: 0;
    font-size: 1.1rem;
}
.neon {
    border: 0;               
    height: 2px;            
    background: #00ffff;     
    box-shadow: 0 0 5px #00ffff,  
                0 0 15px #00ffff, 
                0 0 30px #00ffff; 
    margin: 20px 0;          
}
.callout {
    background-color: #242323;
    border-left: 5px solid #ccc;
    padding: 1em;
    margin: 1em 0;
    border-radius: 6px;
    font-size: 0.95em;
}

.callout strong {
    display: block;
    margin-bottom: 0.5em;
    color: #0ff;
}
