/* --- Variables --- */
:root {
    --bg-primary: #181818;      
    --bg-card: #1d1d1d;         
    --text-primary: #ededed;
    --text-secondary: #9b9b9b;
    --accent: #B58CFF;          
    --border-color: #2a2a2a;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
    
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}


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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}


header {
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.logo .icon {
    color: var(--text-secondary);
    font-size: 1.5rem;
}

.logo h1 {
    font-size: 2rem;
    color: var(--text-primary);
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin: 2rem 0;
}


.about-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.about-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-block p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 95%;
    margin-bottom: 1rem;
}

.info-card,
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.info-card h3,
.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.info-card p,
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.feature-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

.text-link {
    text-decoration: underline;
    text-decoration-color: var(--border-color);
    text-underline-offset: 4px;
}

.text-link:hover {
    text-decoration-color: var(--accent);
}


.webring-nav {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.webring-nav span {
    color: var(--text-primary);
}

.ring-link {
    text-decoration: underline;
    text-decoration-color: rgba(181, 140, 255, 0.3);
    text-underline-offset: 4px;
}

.ring-link:hover {
    text-decoration-color: var(--accent);
}

.members-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Member Cards */
.member-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.member-card:hover {
    border-color: rgba(181, 140, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.member-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

/* some placeholder colors for the avatars */
.bg-yellow { background-color: #eab308; }
.bg-blue { background-color: #3b82f6; }
.bg-green { background-color: #22c55e; }
.bg-purple { background-color: var(--accent); }

.member-name {
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.external-icon {
    font-size: 0.8rem;
    opacity: 0.6;
}


.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem; 
}

.member-url {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0; 
}


.member-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem; 
}

/* .member-url:hover {
    color: var(--text-secondary);
    text-decoration: underline;

} */

.member-batch {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
}

.member-desc {
    font-size: 0.9rem;
    color: var(--text-primary);
}


.hero-image {
    width: min(100%, 480px);
    margin-top: 1.5rem;  
    margin-bottom: 2rem; 
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 250px; 
    object-fit: cover;
    border-radius: 8px; 
    border: 1px solid var(--border-color); 
    display: block;
}




.site-footer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 800px) {
    .about-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 2.5rem 1rem 1rem;
    }

    .webring-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 0 1rem 2rem;
    }
}