/* --- SHARED STYLES & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap');

:root {
    --bg: #000000;
    --card-bg: #0a0a0a;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 35px; /* Big rounded corners */
    --text-dim: rgba(255, 255, 255, 0.35);
    --accent: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
}

/* --- MAIN ROSTER STYLES (index.html) --- */
.roster-container {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 6px;
    color: #222;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.grid {
    display: grid;
    gap: 30px;
    justify-content: center;
    margin-bottom: 100px;
}

.owners-grid { grid-template-columns: repeat(auto-fit, 220px); }
.members-grid { grid-template-columns: repeat(auto-fit, 200px); }

/* THE INTERACTIVE CARD */
.member-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 45px 10px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block; /* Required for the <a> tag */
    cursor: pointer;
}

.pfp-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.pfp-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* Hover Effects */
.member-card:hover {
    transform: translateY(-10px);
    background: #111;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.member-card:hover .pfp-wrapper {
    border-color: var(--accent);
    transform: scale(1.08);
}

.member-card:hover .username {
    color: var(--accent);
}

/* --- PROFILE PAGE STYLES (profile.html) --- */
.profile-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 100px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.big-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 40px;
    flex: 1;
    min-width: 350px;
}

.left-box { text-align: center; }
.right-box { flex: 1.8; }

.profile-pfp {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    margin-bottom: 25px;
    object-fit: cover;
}

.bio-container {
    text-align: left;
    margin-top: 30px;
    border-top: 1px solid #111;
    padding-top: 20px;
}

.bio-text {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-size: 0.95rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

.back-btn:hover {
    color: white;
    background: #111;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .profile-wrapper { flex-direction: column; margin: 50px auto; }
    .big-box { min-width: 100%; }
}
