:root {
    --bg-main: #04111d;
    --bg-card: #091d2c;
    --bg-hover: #102b3d;
    --text-main: #f8fafc;
    --text-muted: #9db8c8;
    --border-color: rgba(117, 211, 235, 0.14);
    --accent: #31d1ed;
    --accent-hover: #237ff0;
    --iso-glow: rgba(49, 209, 237, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-main);
    background-image: 
      linear-gradient(var(--border-color) 1px, transparent 1px),
      linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(49, 209, 237, 0.3);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.noise-overlay {
    position: fixed; inset: 0; z-index: 50; pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.03%22/%3E%3C/svg%3E');
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid rgba(48, 207, 239, 0.28);
    background: linear-gradient(135deg, rgba(5, 28, 48, 0.96), rgba(7, 55, 91, 0.92));
    box-shadow: 0 12px 32px rgba(0, 126, 214, 0.18);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.logo .nav-logo-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Release Tabs */
.release-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    color: var(--text-main);
    background: var(--bg-hover);
}

.tab-btn.active {
    background: rgba(49, 209, 237, 0.1);
    color: var(--accent);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--accent);
}

.server-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* Main Content */
.main-content {
    padding: 6rem 1.5rem 5rem;
}

/* Hero Section */
.hero-section {
    margin-bottom: 4rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: var(--bg-card);
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 380px; /* pony: taller for breathing room */
    background: radial-gradient(circle at 80% 20%, rgba(49, 209, 237, 0.32) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(35, 127, 240, 0.2) 0%, transparent 50%),
                var(--bg-card);
    display: flex;
    align-items: center; /* pony: center vertically */
    padding: 3rem 4rem;
}

.hero-img {
    display: none; /* pony: deleted broken asset */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 600px;
}

.hero-content p.academic-note {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
    border-left: 2px solid var(--accent);
    padding-left: 0.75rem;
}

img {
    display: block;
    max-width: 100%;
    border-radius: 100%;
    overflow: hidden;
    
}
/* File Browser */
.file-browser {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.browser-header {
    display: grid;
    grid-template-columns: 3.5fr 1.5fr 1fr 1fr;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.file-list {
    display: flex;
    flex-direction: column;
}

.file-row {
    display: grid;
    grid-template-columns: 3.5fr 1.5fr 1fr 1fr;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.2s ease;
}

.describe {
    padding: 2rem 2.5rem 2.5rem;
}

.describe h2, .describe h3 {
    font-size: 1rem;
    margin-bottom: 1.25em;
}

.describe h2 {
 margin-top: 1.5em ;
}

.describe h3 {
 margin-top: 2em ;
}

.describe p, .describe li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 75ch; /* pony: limit line length */
    margin-bottom: 1.25em;
}

.describe p{
    margin-inline-start: 10px;
}

.describe li {
    margin-inline-start: 30px;
    padding-inline-start: 10px;
}


.file-row:last-child {
    border-bottom: none;
}

.file-row:hover {
    background: var(--bg-hover);
}

.file-row.iso-file {
    background: linear-gradient(90deg, rgba(49, 209, 237, 0.05), transparent);
}

.file-row.iso-file:hover {
    background: linear-gradient(90deg, rgba(49, 209, 237, 0.1), transparent);
}

/* Columns */
.col-name {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    word-break: break-all;
}

.col-date, .col-size {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.col-action {
    display: flex;
    justify-content: flex-end;
}

.icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.directory .icon {
    color: #60a5fa;
    fill: rgba(96, 165, 250, 0.2);
}

.iso-file .icon {
    color: #a78bfa;
}

.text-file .icon {
    color: #94a3b8;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.file-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    background: rgba(49, 209, 237, 0.16);
    color: #c7d2fe;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(49, 209, 237, 0.3);
    font-weight: 600;
    text-transform: uppercase;
}

/* Buttons */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    margin-left: 10px;
    margin-right: 10px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    border: 1px solid transparent;
}

.btn-download:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-download.disabled {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.btn-download.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-download.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Contributors Section */
.contributors-section {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    text-align: center;
    letter-spacing: -0.01em;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.contributor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
    min-width: 0;
}

.contributor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
    background: var(--bg-hover);
    border-color: rgba(49, 209, 237, 0.3);
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(49, 209, 237, 0.15) 0%, rgba(35, 127, 240, 0.05) 100%);
    border: 1px solid rgba(49, 209, 237, 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem auto;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.avatar img{
    width: 64px;
    height: 64px;
    border-radius: 50px;
    object-fit: cover;
}

.avatar .avatar-placeholder {
    padding: 1.1rem;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(77%) sepia(84%) saturate(1245%) hue-rotate(151deg) brightness(96%);
}

.contributor-card:hover .avatar {
    background: linear-gradient(135deg, rgba(49, 209, 237, 0.25) 0%, rgba(35, 127, 240, 0.1) 100%);
    box-shadow: 0 0 20px rgba(49, 209, 237, 0.15);
    color: #fff;
}

.contributor-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.35rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.contributor-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 900px) {
    .browser-header {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .file-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .browser-header .col-date, .file-row .col-date {
        display: none;
    }
    .contributors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
    .contributor-card {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .navbar {
        padding: 0.75rem 0;
    }
    .navbar .container {
        gap: 0.75rem;
    }
    .server-info {
        min-width: 0;
    }
    .navbar .server-info {
        gap: 0.5rem !important;
    }
    .navbar .host {
        display: none;
    }
    .main-content {
        padding: 3rem 1rem 2rem;
    }
    .hero-section {
        margin-bottom: 2rem;
    }
    .hero-image-container {
        height: auto;
        min-height: 240px;
        padding: 2rem 1.25rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .release-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn {
        flex: 0 0 auto;
    }
    .browser-header {
        display: none;
    }
    .file-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    .col-size {
        padding-left: 2.25rem;
        display: inline-block;
        font-size: 0.85rem;
    }
    .col-action {
        justify-content: flex-start;
        padding-left: 2.25rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .btn-download {
        min-height: 44px;
        margin: 0;
    }
    .describe {
        padding: 1rem;
    }
    .describe p {
        margin-inline-start: 0;
    }
    .describe li {
        margin-inline-start: 1.25rem;
        padding-inline-start: 0.25rem;
    }
    .contributors-section {
        margin-top: 3rem;
        padding-top: 2rem;
        scroll-margin-top: 1rem;
    }
    .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
    }
    .contributors-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .contributor-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        text-align: left;
        border-radius: 0.85rem;
    }
    .avatar {
        width: 56px;
        height: 56px;
        margin: 0;
        flex: 0 0 56px;
    }
    .avatar img {
        width: 56px;
        height: 56px;
    }
    .contributor-info {
        min-width: 0;
    }
    .contributor-info h3 {
        font-size: 1rem;
    }
    .contributor-info p {
        font-size: 0.8rem;
    }
    footer .server-info {
        display: block;
        padding: 0 1rem;
    }
}

@media (hover: none) {
    .contributor-card:hover {
        transform: none;
    }
}

