.profile-page {
    min-height: 100vh;
    padding-top: var(--nav-height);
}

.profile-hero-skeleton {
    height: 220px;
    border-radius: 0;
    margin-bottom: 24px;
}

.profile-cards-skeleton {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-hero {
    position: relative;
    background: linear-gradient(135deg, var(--d8-green-800) 0%, var(--d8-green-900) 100%);
    padding: 48px 24px 32px;
    overflow: hidden;
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/logo_light.png') no-repeat right center;
    background-size: 200px;
    opacity: 0.04;
    pointer-events: none;
}

.profile-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid var(--d8-green-300);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--d8-green-700);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-letter {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--d8-green-200);
}

.profile-hero-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.profile-discord-tag {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.profile-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    width: fit-content;
    margin-top: 4px;
}

.profile-role-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.profile-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.profile-card-header svg {
    color: var(--d8-green-500);
    flex-shrink: 0;
}

.profile-card-header h2 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.profile-card-body {
    padding: 16px 20px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.profile-info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.profile-info-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.profile-dc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.profile-dc-status-verified {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
}

.profile-dc-status-unverified {
    background: rgba(243, 156, 18, 0.1);
    color: #F39C12;
}

.profile-dc-status-absent {
    background: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
}

.profile-dc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

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

.profile-reservation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
    background: var(--bg-muted);
    transition: background 0.15s ease;
    cursor: pointer;
}

.profile-reservation-item:hover {
    background: var(--accent-glow-strong);
}

.profile-reservation-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-reservation-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.profile-reservation-date {
    font-size: 12px;
    color: var(--text-muted);
}

.profile-reservation-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.profile-reservation-status-pending {
    background: rgba(243, 156, 18, 0.1);
    color: #F39C12;
}

.profile-reservation-status-contacted {
    background: rgba(52, 152, 219, 0.1);
    color: #3498DB;
}

.profile-reservation-status-closed {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
}

.profile-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.profile-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.profile-page-btn:hover:not(:disabled) {
    background: var(--accent-glow);
    border-color: var(--d8-green-400);
    color: var(--d8-green-500);
}

.profile-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.profile-page-info {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.profile-empty {
    text-align: center;
    padding: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.profile-empty svg {
    display: block;
    margin: 0 auto 8px;
    opacity: 0.3;
}

.profile-nologin {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.profile-nologin-card {
    text-align: center;
    max-width: 360px;
}

.profile-nologin-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 8px;
}

.profile-nologin-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .profile-cards-skeleton {
        grid-template-columns: 1fr;
    }

    .profile-hero {
        padding: 32px 16px 24px;
    }

    .profile-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .profile-hero-info {
        align-items: center;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-reservation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .profile-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .profile-info-value {
        text-align: left;
    }
}
