.profile-container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-heading {
    color: #ffcc00;
    font-family: 'Arial Black', sans-serif;
    text-align: center;
    text-shadow: 3px 3px 0px #000;
}

.membership-card-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border: 4px outset #ffcc00;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.5);
}

.membership-card-bg {
    width: 100%;
    height: auto;
    display: block;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.card-name,
.card-level,
.card-club,
.card-date,
.card-expiry {
    position: absolute;
    font-family: 'Courier New', monospace;
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    gap: 18px;
}

.card-date .date-yy,
.card-expiry .date-yy {
    margin-left: 10px;
}

.card-name {
    top: 49.5%;
    left: 23%;
    font-size: 20px;
}

.card-level {
    top: 61%;
    left: 23%;
}

.card-club {
    top: 72.5%;
    left: 23%;
}

.card-date {
    top: 85%;
    left: 30%;
    white-space: pre;
}

.card-expiry {
    top: 85%;
    left: 75%;
    white-space: pre;
}

.profile-content {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 3px outset #444;
    padding: 10px;
    margin-top: 20px;
}

.profile-section {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    padding: 5px;
}

.profile-section h3 {
    color: #ffcc00;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    margin-bottom: 4px;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 2px;
}

.avatar-display {
    text-align: center;
    margin: 20px 0;
}

.avatar-display img {
    max-width: 200px;
    max-height: 200px;
    border: 4px solid #ffcc00;
    background: #000;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
}

.plan-text {
    background: #000000;
    border: 3px inset #003300;
    padding: 10px;
    font-family: 'IBM VGA', 'Courier New', monospace;
    color: #00ff00;
    line-height: 1.2;
    font-size: 12px;
    min-height: 0;
    white-space: pre-wrap;
}

.bio-text {
    color: #cccccc;
    line-height: 1.6;
}

.edit-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #ff6600 0%, #cc3300 50%, #ff6600 100%);
    border: 3px outset #ff9933;
    color: #ffffff;
    font-family: 'Arial Black', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 15px;
}

.edit-button:hover {
    border-style: inset;
    background: linear-gradient(180deg, #cc3300 0%, #ff6600 50%, #cc3300 100%);
}

.doogie-link {
    color: #00ffff;
    text-decoration: underline;
}

.doogie-preview {
    border: 2px inset #003300;
    padding: 4px 6px;
    font-family: 'IBM VGA', 'Courier New', monospace;
    line-height: 1.12;
    font-size: 12px;
    white-space: pre-line;
    margin-bottom: 6px;
}

.doogie-preview-terminal {
    background: #0000AA;
    border-color: #6666FF;
    color: #FFFFFF;
}

.doogie-preview-date {
    color: #ffff66;
    margin-bottom: 1px;
}

.doogie-preview-body {
    margin-top: 0;
}

.doogie-preview-empty {
    color: #cccccc;
    font-style: italic;
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Identity Links (rel="me") */
.identity-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.identity-link {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    border: 2px outset #555;
    color: #00ffff;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    text-decoration: none;
}

.identity-link:hover {
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border-style: inset;
    color: #ffffff;
}
